B
Bill Todd
I have a DataSet with an existing DataTable that was created at design
time. At runtime I want to fill the existing DataTable with data from
a DataAdapter. When I call
MyAdapter.Fill(MyDataSet, 'MyTable');
I get the error, "A DataTable named 'MyTable' already belongs to this
DataSet".
What is the right way to fill an existing DataTable?
time. At runtime I want to fill the existing DataTable with data from
a DataAdapter. When I call
MyAdapter.Fill(MyDataSet, 'MyTable');
I get the error, "A DataTable named 'MyTable' already belongs to this
DataSet".
What is the right way to fill an existing DataTable?