| |||||||||||||
GridView.RowUpdating EventSystem.Web.UI.WebControls Namespace GridView Class .NET Framework version 2.0 Occurs when an Update command button within a GridView control is clicked, but before the update operation. [ VB ] Public Event RowUpdating As GridViewUpdateEventHandler [ C# ] public event GridViewUpdateEventHandler RowUpdating; [ C++ ] public: __event GridViewUpdateEventHandler* RowUpdating; In [ JScript ], you can handle the events defined by a class, but you cannot define your own. RemarksThe RowUpdating event is raised whenever an Update button associated with an item in the GridView control is clicked, but before the GridView control updates the record. This allows you to provide an event-handling method that performs a custom routine, such as checking the values of a record before updating it in the data source, whenever this event occurs. Event DataInformation related to the RowUpdating event is passed via a GridViewUpdateEventArgs object to the method assigned to handle the event. The following GridViewUpdateEventArgs properties provide information specific to this event.
See AlsoGridView Members Allowing Users to Edit Rows in a GridView Control |
| ||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme