c# - how to find out if a specific table exists in a dataset -


i have created application reads records excel files , 2d arrays , after merging them pass data ds.table[x]. know if there way me check if ds.table[x] exist? , how can in code behind ?

you can check following if statement,

 if(ds.tables.contains("tablename")) 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -