打开加密sqlite数据库的方法有以下两种SQLiteConnection方法SQLiteConnection cnn = new SQLiteConnection(“Data Source=c:\\test2.db“);cnn.SetPa
SQLiteConnection方法
SQLiteConnection cnn = new SQLiteConnection(“Data Source=c:\\test2.db“);
cnn.SetPassword(“passWord“);
cnn.Open();
SQLiteConnectionStringBuilder方法
SQLiteConnectionStringBuilder builder = new SQLiteConnectionStringBuilder();
builder.DataSource = @”c:\test.db“;
builder.Password = @”password“;
SQLiteConnection cnn = new SQLiteConnection(builder.ConnectionString);
cnn .Open();
--结束END--
本文标题: 加密的sqlite数据库怎么打开
本文链接: https://www.lsjlt.com/news/113526.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0