asp.net.ph

DataRow.Delete Method

System.Data Namespace   DataRow Class


Deletes the row.

[ VB ]
Public Sub Delete ( )

[ C# ]
void Delete ( );

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

[ JScript ]
public function Delete ( );

Exceptions


Exception Type Condition
DeletedRowInaccessibleException Occurs when the row has already been deleted.

Remarks

If the RowState of the row is New, the row will be removed from the table.

The RowState becomes Deleted after using the Delete method.

A deleted row can be undeleted by invoking RejectChanges.

See Also

DataRow Members   DataRowState   DataViewRowState   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