K
Kelvin
Hi All,
I have some question about inserting new row into datatable.
I don't know why my all new rows inserted into end of datatable.
I am using myTable.Rows.InsertAt(dr, 0);
I don't know what is mean of the pos parameter. I also found problem
from MSDN.
row
The DataRow to add.
pos
The location in the collection where you want to add the DataRow.
If the value specified for the pos parameter is greater than the
number of rows in the collection, the new row is added to the end.
Please advise.
I have some question about inserting new row into datatable.
I don't know why my all new rows inserted into end of datatable.
I am using myTable.Rows.InsertAt(dr, 0);
I don't know what is mean of the pos parameter. I also found problem
from MSDN.
row
The DataRow to add.
pos
The location in the collection where you want to add the DataRow.
If the value specified for the pos parameter is greater than the
number of rows in the collection, the new row is added to the end.
Please advise.