dataset table check

  • Thread starter Thread starter Sebastian Santacroce
  • Start date Start date
S

Sebastian Santacroce

How do I check if dataset.Tables("somename") has been set?


ie if dataset.Tables("somename").exists ...or
if dataset.Tables("somename").empty ... or
if dataset.Tables("somename") is null...

something like that.

thank you
 
Sebastian Santacroce said:
How do I check if dataset.Tables("somename") has been set?


ie if dataset.Tables("somename").exists ...or
if dataset.Tables("somename").empty ... or
if dataset.Tables("somename") is null...

something like that.

if dataset.Tables.IndexOf("somename") > -1
 
Back
Top