G Grober Oct 18, 2003 #1 I can't seem to find a method to delete a table from a dataset. Is there a way to do that? Using C#. /Grober
I can't seem to find a method to delete a table from a dataset. Is there a way to do that? Using C#. /Grober
J Juan Wajnerman Oct 18, 2003 #2 Hi Grober, you must use the Remove method from DataTableCollection: myDataSet.Tables.Remove(myDataTable); or by name: myDataSet.Tables.Remove("MyTableName");
Hi Grober, you must use the Remove method from DataTableCollection: myDataSet.Tables.Remove(myDataTable); or by name: myDataSet.Tables.Remove("MyTableName");
G Grober Oct 19, 2003 #3 Oh, I see. I tried to do it from the table object itself, which obviously wasn't possible. Thanks! /Grober
Oh, I see. I tried to do it from the table object itself, which obviously wasn't possible. Thanks! /Grober