注册 登录
编程论坛 ACCESS论坛

操作必须使用一个可更新的查询。

tm_ma 发布于 2007-04-05 22:45, 1507 次点击

我在往数据库中插入记录时出错,错误描述如上,是权限的问题?我把表的属性该了啊,在安全选项卡中没看到everyone,怎么办?

Server Error in '/' Application.

操作必须使用一个可更新的查询。

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: 操作必须使用一个可更新的查询。

Source Error:

Line 29:             
Line 30:             conn.open()
Line 31:             cmd.ExecuteNonQuery()
Line 32:             conn.close()

[此贴子已经被作者于2007-4-5 22:46:48编辑过]

1 回复
#2
bygg2007-04-08 09:35
是你的SQL语句有问题吗?用个try..catch..就知道是错在哪里了.
1