How to copy a row within same table ?
If you want to copy a row in a datatable to the same table you can use ImportRow.
Example :
Suppose a DataTable dtUser has some rows and you want to add another row from the same table.
dtUser.ImportRow(dtUser.Rows[0]);
Labels: DataRow

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home