我在编写此代码时遇到错误 [英] I m getting error aftrwriting this code

查看:80
本文介绍了我在编写此代码时遇到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SQLiteConnecton connection = new SQLiteConnecton(Data source =+ dbpath);

解决方案

我所知道的类没有名为的SQLiteConnecton :试试这个:

 SQLiteConnection connection =  new  SQLiteConnection( 数据源= + dbpath); 

如果这不起作用,那么查看你的 dbpath 并查看它包含的内容,然后发布它和错误消息,以便我们得到一些关于发生了什么的线索! :笑


SQLiteConnecton connection = new SQLiteConnecton("Data source=" + dbpath);

解决方案

There is no class I know of called SQLiteConnecton: try this instead:

SQLiteConnection connection = new SQLiteConnection("Data source=" + dbpath);

If that doesn't work, then look at your dbpath and see what it contains, and then post that and the error message so we get some clue as to what is going on! :laugh:


这篇关于我在编写此代码时遇到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆