asp.net.ph

DataRow.EndEdit Method

System.Data Namespace   DataRow Class


Ends the edit occurring on the row.

[ VB ]
Public Sub EndEdit ( )

[ C# ]
void EndEdit ( );

[ C++ ]
public: void EndEdit ( );

[ JScript ]
public function EndEdit ( );

Exceptions


Exception Type Condition
InRowChangingEventException Occurs when the method was called inside the RowChanging event.
ConstraintException Occurs when the edit broke a constraint.
ReadOnlyException Occurs when the row belongs to the table and the edit tried to change the value of a read-only column.
NoNullAllowedException Occurs when the edit tried to put a null value into a column where AllowNull is false.

Remarks

When setting the property, an exception will be thrown if an exception occurs in the RowChanging event.

See Also

DataRow Members   AcceptChanges   AllowNull   BeginEdit   CancelEdit   HasVersion   Item   RowState Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph