Sunday, 15 September 2013

c# - Checking either the table in Access database is exist or not -



c# - Checking either the table in Access database is exist or not -

i want check if table in access database exist or not how can ? tried sql statement returns error

string sqlstatement = @"select * exists msysobjects type = 1 , name = 'table_name'"

you can't utilize select * 'label', utilize column name or expresion

string sqlstatement = @"select name 'exists' msysobjects type = 1 , name = 'table_name'"

c# sql ms-access

No comments:

Post a Comment