DataTableCollection.Contains Method (String)
Gets a value that indicates whether a DataTable object with the specified name exists in the collection.
Assembly: System.Data (in System.Data.dll)
You specify the name of the DataTable object by using the TableName property. If you add a DataTable to the collection with the Add method, passing no arguments, the table is given a default name, based on the order in which the table was added ("Table1", "Table2", and so on).
Returns false when two or more tables have the same name but different namespaces. The call does not succeed if there is any ambiguity when matching a table name to exactly one table.