1.建立了一个webservice,添加了System.data.sqlite.dll的引用
2.在函数中new了一个对象后报错
SQLiteConnection sqliteconnection = new SQLiteConnection();
sqliteconnection.ConnectionString = getconnectString();
sqliteconnection.Open();
有没有大佬搞过这种需求的,给个demo看看呀,我再winform中使用是可以的
1.建立了一个webservice,添加了System.data.sqlite.dll的引用
2.在函数中new了一个对象后报错
SQLiteConnection sqliteconnection = new SQLiteConnection();
sqliteconnection.ConnectionString = getconnectString();
sqliteconnection.Open();
有没有大佬搞过这种需求的,给个demo看看呀,我再winform中使用是可以的
具体看看报什么错,数据库文件没有找到,还是表不存在还是什么问题。
winforms可以用,可能是文件路径、权限的问题