U need to add a event Handler for the RowUpdating Event in the
OnInit() Event Handler of the Page. After that add the code in the
RowUpdating EventHandler (for e.g. setting the format of data to be
stored in the table, Html encoding the data to be stored into the
table to prevent cross site scripting attacks etc...)
The RowUpdating Event occurs after the Update button on the Datagrid
is clicked and before the row is updated in the database (underlying
data source)
RowUpdated Event occurs after the row has been updated in the
underlying datasource.
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.