rowstate management

S

Sam

Hi,
I have to face a tricky problem and I thought someone could help.
I have a grid bound to a dataset and as soon as a row is selected one
of the column is udpated according to the value in another column. This

has to be done at run-time. Therefore rowstate becomes Modified,
although the user hasn't really made any changes. How can I prevent the

rowstate to become modified? Should I do my own rowstate manager? How
can I do that ?


Regards,
 
V

Val Mazur \(MVP\)

Hi,

I do not think you could prevent it to de changed, but what you could do is
to call AcceptChanges method of the DataTable and it will reset the state.
But I am not sure is this is acceptable in your case
 

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