In this question
I was able to get the length of the longest text in every column, can we modify the method to get the string itself, not the length ? To make it a little more clearer, assuming the tblData have 6 columns, the maxLenCols List should have 6 strings representing the longest string in every column.
.Select(col => tblData.AsEnumerable()
.Select(row => (row[col]).ToString()).OfType<string>()
.Max(val => val.Length)).ToList();