I have created an application which reads the records from excel files and 2D arrays and after merging them it will pass the data to ds.table[x]
. i would like to know if there is a way for me to check if the ds.table[x]
exist? and how can i do that in code behind ?
You can check with the following if statement,
if(ds.Tables.Contains("TableName"))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With