SQLite执行SQL出现IO异常
Mobile6 SQLite版本1.0.65,数据连接没问题.可以执行查询操作.但是更新或修改时就会抛出Some kind of disk I/O error occurred
disk I/O error异常,请知道这个问题的高手解读下.不胜感激.
sql= Update TELE_TASKDATA_POI SET X=0.672433519117736,Y=0.89950975677907,STATE=1 where id='200655000100002124';
这条语句单独到数据库中执行没有问题.
public int ExecuteSql(string SQLString)
{
using (SQLiteConnection connection = MenageDBConnect.GetConnection())
{
// using (SQLiteCommand cmd = new SQLiteCommand(SQLString, connection))
using (SQLiteCommand cmd = new SQLiteCommand(SQLString, connection))
{
try
{
connection.Open();
int rows = cmd.ExecuteNonQuery();
connection.Close();
 
相关问答:
小弟是个新手 现在有个问题一直不能解决
例如
procedure produce_proc
@p001 nvarchar(8000),
@p002 nvarchar(8000),
@p003 nvarchar(8000),
& ......
执行的顺序:
1)文件浏览框(选择文件使用)
选择好文件后
点击一个导入按钮的时候 ,把上面上传框里的csv文件以一个ID为文件名,上传到**/**文件夹下
2)读取这个文件夹下的csv的文件,转换成sql
3 ......
table1
名称 入库数
CT机 3
CT机 5
X光机 4 ......
我数据库是MSSQL的,昨天所有的表被注入JS脚本代码,有个不明白的地方来问问大家
我发现有些表我根本没使用,也没有入库的ASP页面和语句,它是咱个注入的呢?
貌似select语句是可以嵌套的吧?
可能是where ......
(1)string ConnString = "server=localhost;integrated security=sspi;database=pubs;";
(2)string strConnection="user uid=sa;pwd=123456;Database=test;Server=test;Connect ......