SQLite语句:
cmd.CommandText = "SELECT count(*) from sqlite_master where type='table' and name='tableName';
int a= Convert.ToInt32(cmd.ExecuteScalar());
如果存在,则返回数值1;
如果不存在ÿ
SQLite语句:
cmd.CommandText = "SELECT count(*) from sqlite_master where type='table' and name='tableName';
int a= Convert.ToInt32(cmd.ExecuteScalar());
如果存在,则返回数值1;
如果不存在ÿ