Last post May 22, 2010 09:40 AM by guptaneelesh
May 22, 2010 05:21 AM|guptaneelesh|LINK
I want to know that in any data controls like gridview or form view or details view there is two events
What the difference between them and which is better ?
May 22, 2010 08:00 AM|Mikesdotnetting|LINK
RowUpdating occurs before the data is updated, so you can perform custom logic like validation or cancelling the update. RowUpdated occurs after the row has been changed, so you can perform other operations such as formatting values for display.
which is better ?
Neither is better. They do different things. So which one you use in each case depends on whether you are accessing the row before or after the update.
May 22, 2010 09:40 AM|guptaneelesh|LINK
Thanks for resolve my confusion !