//判断数据库中的表是否存在 cmd.Connection = conn; cmd.CommandText = "SELECT COUNT(*) FROM sqlite_master where type='table' and name='DBInfo'"; if (Convert.ToInt32(cmd.ExecuteScalar()) == 0) CreatTB();
Powered by: 博客园 Copyright © 2024 ccjvl Powered by .NET 9.0 on Kubernetes