RowState

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
 
V

Val Mazur

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top