DataTable is a single entity within your schema. So don't use it, rather go for
DataSet
, which is the collection of relational/non-relational DataTable. See my code below,
List<string> tables = new List<string>();
DataSet ds = new DataSet();
foreach (DataTable t in ds.Tables)
{
tables.Add(t.TableName);
}
-KR