views:

89

answers:

1

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.

+5  A: 
DataTable table = //...
table.Rows.InsertAt(row, 0);
Doc Brown
Yes, this does it. I can't believe I missed that. Thanks.
rosscj2533
Don't forgot to mark it as answer
Gabriel Mongeon