Datatable issue

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi all,

How do I programmatically determine if a datatable already exists in a
dataset?

Regards
John.
 
DataSet.Tables.Contains ("<table name>")

Hi all,

How do I programmatically determine if a datatable already exists in a
dataset?

Regards
John.
 
Shiva,

Just an addition, When is that name filled of course in the tablename
By instance with
da.Fill(ds, thistablename)

When the table has no name you cannot find it.

Cor
 
I agree Cor. I assume the developer would have given a name to the DT.

Thanks.

Shiva,

Just an addition, When is that name filled of course in the tablename
By instance with
da.Fill(ds, thistablename)

When the table has no name you cannot find it.

Cor
 
Back
Top