rowstate management

  • Thread starter Thread starter Sam
  • Start date Start date
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,
 
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
 
Back
Top