Hi,

I would like to know if a datatable can be sorted and returned back to the calling procedure. I don't want to sort using datarows[] or dataviews. For example:

Here is what I'm doing:

DataRow[] rows = dt.Select("1 = 1", "Returnable_Cnt r"); // sort on "Returnable_Cnt r"
for(int i = 0; i < rows.Length; i++)
rows[i]["Line_Num"] = (i...