Question

This question answers how to insert a DataColumn at position 0. Is there a way to do the same thing with a DataRow? Or is that impossible? Thanks.

Was it helpful?

Solution

DataTable table = //...
table.Rows.InsertAt(row, 0);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top