Syntax
| Visual Basic (Declaration) | |
|---|
<ResDescriptionAttribute("Occurs when a row in the table marked for deletion. Throw an exception to cancel the deletion.")>
<ResCategoryAttribute("Data")>
Public Event RowDeleting As DataRowChangeEventHandler |
| C# | |
|---|
[ResDescriptionAttribute("Occurs when a row in the table marked for deletion. Throw an exception to cancel the deletion.")]
[ResCategoryAttribute("Data")]
public event DataRowChangeEventHandler RowDeleting |
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