The DataTableCollection contains zero or more DataTable objects. The SqlDataAdapter Object allows us to populate DataTables in a DataSet. Build and fill each DataTable in a DataSet with data from a data source using a DataAdapter.
In some situations we have to find the number of tables exists in a Dataset Object . The following ASP.NET program shows how to find the number of tables in Dataset Object.
Click the following links to see full source code