摘要:
//1.给不带密码的数据库添加密码string strconn = @"Data Source=E:\test.db3;Pooling=true;FailIfMissing=false";SQLiteConnection conn = new SQLiteConnection(strconn);conn.Open();//首次设置密码conn.ChangePassword("password");conn.Close();//2.读取带密码的数据string strconn = @"Data Source=E:\test.db3;Pooling 阅读全文