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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -