1
Reply

How to check whether a data table exists in data set?

Fareeda Hussain

Fareeda Hussain

Mar 1 2017 2:47 AM
182
Hi
   Can anybody help how to check whether a data table exists in data set .I have a code
 
    if (ds.Tables.Contains("Tables[1]")) 
     {
           dt =ds.Tables[1];
      } 
 
     not working  propertly
 

Answers (1)