if i trying to sort my columns return 0 valu. But i need max value descinding value but how?
for (int j = 0; j < dTable.Columns.Count; j++)
for (int i = 0; i < dTable.Rows.Count; i++)
{
mycounter[i] = dTable.Rows[i][j].ToString().Length;
}
mycounter = mycounter.OrderBy(i => i).ToArray();
mycounter.Reverse();
MessageBox.Show(mycounter[0].ToString());