| |||||||||||
DataRowCollection.Remove MethodSystem.Data Namespace DataRowCollection Class Removes the specified DataRow from the collection. [ VB ] Public Sub Remove ( _ ByVal row As DataRow _ ) [ C# ] public void Remove ( DataRow row ); [ C++ ] public: void Remove ( DataRow* row ); [ JScript ] public function Remove ( row : DataRow ); Parameters
RemarksWhen a row is removed, data in that row is lost. You can also call the DataRow class's Delete method to simply mark a row for removal. The row is not actually removed until the AcceptChanges method is invoked. You can also use the Clear method to remove all members of the collection at once. ExampleThe following examples dmonstrate how to use the Remove method to delete a found row in a DataRowCollection object. In both examples, the Find method is first used to locate the specific row, then the Remove method is used to remove the row.
See AlsoDataRowCollection Members Add Clear Contains Find |
| ||||||||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme