摘要: //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 阅读全文
posted @ 2011-09-05 15:51 josephus 阅读(1249) 评论(0) 推荐(1) 编辑