1
Answer

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

Photo of Fareeda Hussain

Fareeda Hussain

8y
5.2k
1
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)