Fareeda Hussain

Fareeda Hussain

  • NA
  • 93
  • 92.4k

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

Mar 1 2017 2:47 AM
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)