RowState

  • Thread starter Thread starter Amr Moselhy
  • Start date Start date
A

Amr Moselhy

Can i change a RowState of a single or multiple rows in a DataRow collection
to become Added instead of Modified , so tht next time the dataset can
generate insert statement instead of update statement for this row or rows
???

Thank you in advance
Amr
 
Hi,

RowState is a read-only property and you cannot modify it from your code.
What you could do is to create copy of Dataset and all the records will be
marked as inserted one
 
Back
Top