上一页 1 ··· 3 4 5 6 7
摘要: 因为数据库内容包含“-”,所以提示错误,解决方案如下: 原来的查询语句:string strSql = "select * from S-8261D系列"; 更改后的查询语句:string strSql = "select * from `S-8261D`系列"; 1 string strSql = 阅读全文
posted @ 2021-07-05 11:50 Cmale 阅读(1399) 评论(0) 推荐(0)
摘要: 1 //连接数据库 2 string dbPath = @"Data Source=D:\sqlliteDb\Test.db;Version=3"; 3 string strSql = "select * from aaa"; 4 SQLiteConnection Conn = new SQLite 阅读全文
posted @ 2021-07-03 17:39 Cmale 阅读(1824) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7