Go to the design mode of the web form, select grid and attach (in the properties window select the events icon) a handler to the RowUpdating event handler (double click the RowUpdating entry to create a handler in the code behind). In the code behin you can access the "e" event arguments properties. Access e.OldValues and e.NewValues to access the edited rows old and new values. These properties are of type Dictionary. Access data via the indexer with syntaxt e.NewValues[0], e.NewValues[1] etc. The indexes are based on the column positions i.e. 0 refers to first column and so on.
HTH
|