DataGrid rowchanging

  • Thread starter Thread starter Shravan
  • Start date Start date
S

Shravan

Hi ,
I want to catch the row changing of a grid before it is changed and
raise an event and based on event I should supress the change or allow
it. Though I am doing it by changing the row and reverting back now, I
would like to catch it before the row is actually changed due to a
variety of problems with the existing approach. Anybody please help me
how could I do this.

Thanks,
Shravan.
 
Shravan,

I think that instead of catching the events on the DataSet itself, you
should be encapsulating the data and then controlling the access to the data
through that. This way, you control exactly what is changed and what can be
changed.

Hope this helps.
 
Back
Top