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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top