Syntax
Visual Basic (Declaration) | |
---|
<ResCategoryAttribute("Data")>
<ResDescriptionAttribute("Occurs when a value has been submitted for this column. The user can modify the proposed value and should throw an exception to cancel the edit.")>
Public Event ColumnChanging As DataColumnChangeEventHandler |
C# | |
---|
[ResCategoryAttribute("Data")]
[ResDescriptionAttribute("Occurs when a value has been submitted for this column. The user can modify the proposed value and should throw an exception to cancel the edit.")]
public event DataColumnChangeEventHandler ColumnChanging |
Event Data
The event handler receives an argument of type DataColumnChangeEventArgs containing data related to this event. The following DataColumnChangeEventArgs properties provide information specific to this event.
Property | Description |
---|
Column | Gets the System.Data.DataColumn with a changing value. |
ProposedValue | Gets or sets the proposed new value for the column. |
Row | Gets the System.Data.DataRow of the column with a changing value. |
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