>>There shouldn't be any data at all ... the schema will be retained (same DataColumns), but all DataRows in the DataRowCollection of each DataTable get removed.
>>
>>What caused an error?
>
>In my case, this is a brand new structure that I am passing. So, that explains.Well, there are also .Clear() methods for the collections (DataTableCollection and DataColumnsCollection, for example) You can do a DataSet.Tables.Clear() and get rid of all the Tables in the DataSet. Alternatively, if you have the same Table structure, but different columns in the table schema, there is also a DataTable.Columns.Clear() method, that should remove the schema for a given DataTable.
~~Bonnie