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




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note