how can i Check if DataTable exist ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

i want to check if DataTable exist so i don't create new one

otherwise i have to create new DataTable.

i'm using vb.net

Please can you help me to know if there is any code for this test.

Thanks

Tvin
 
loop through all the tables in the dataset...

dim ds as dataset
dim dt as datatable
for each dt in ds
if dt.tablename="tablename" then messagebox.show("bobs ur uncle")
next


Something like that anyway, im no expert
 
Back
Top