Syntax
Visual Basic (Declaration) | |
---|
<ResDescriptionAttribute("Occurs when the row is being changed so that the event handler can modify or cancel the change. The user can modify values in the row and should throw an exception to cancel the edit.")>
<ResCategoryAttribute("Data")>
Public Event RowChanging As DataRowChangeEventHandler |
C# | |
---|
[ResDescriptionAttribute("Occurs when the row is being changed so that the event handler can modify or cancel the change. The user can modify values in the row and should throw an exception to cancel the edit.")]
[ResCategoryAttribute("Data")]
public event DataRowChangeEventHandler RowChanging |
Event Data
The event handler receives an argument of type DataRowChangeEventArgs containing data related to this event. The following DataRowChangeEventArgs properties provide information specific to this event.
Property | Description |
---|
Action | Gets the action that has occurred on a System.Data.DataRow. |
Row | Gets the row upon which an action has occurred. |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also