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 1388: {
Line 1389: OleDbCommand cmd = new OleDbCommand(sql, conn);
Line 1390: cmd.ExecuteNonQuery();
Line 1391: }
Line 1392: #endregion
Source File: d:\rangepc\App_Code\DataSql.cs Line: 1390 Stack Trace:
[OleDbException (0x80004005): 操作必须使用一个可更新的查询。]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +108
DataSql.ExecuteSql(String sql, OleDbConnection conn) in d:\rangepc\App_Code\DataSql.cs:1390
Content_Class.Click(String ID) in d:\rangepc\App_Code\ClassSet.cs:964
news_show.Page_Load(Object sender, EventArgs e) in d:\rangepc\content.aspx.cs:113
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
--------------------------------------------------------------------------------操作必须使用一个可更新的查询。
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 1388: {
Line 1389: OleDbCommand cmd = new OleDbCommand(sql, conn);
Line 1390: cmd.ExecuteNonQuery();
Line 1391: }
Line 1392: #endregion
Source File: d:\rangepc\App_Code\DataSql.cs Line: 1390 Stack Trace:
[OleDbException (0x80004005): 操作必须使用一个可更新的查询。]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +108
DataSql.ExecuteSql(String sql, OleDbConnection conn) in d:\rangepc\App_Code\DataSql.cs:1390
Content_Class.Click(String ID) in d:\rangepc\App_Code\ClassSet.cs:964
news_show.Page_Load(Object sender, EventArgs e) in d:\rangepc\content.aspx.cs:113
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
解决方案 »
- 现在生成一个账号 最后一位为校验码 校验码的生成规则是什么呢
- asp.net页面跳转问题
- 100分一个我认为奇怪的问题。。有谁可以帮我看看
- 怎么做一个任意条件的查询啊,就是可以添加查询条件的那种
- IE7与IE6的不兼容问题::IE7下做的aspx页,套用了在IE6下写的CSS/html布局,在IE7下能正常运行,但在IE6下却不能,网站都做好了,怎么办????
- 急,我想把Dropdownlist默认的SelectedIndexChanged事件关联到另外的一个自定义eventhandler,谢谢
- 求救~先谢拉~刷新问题~
- ,,,烦人,总报"无法在Web服务器上调试..."这样的错,怎么解决啊?...
- 问一个很菜的问题?在线等……
- 为什么会这样?
- 困饶了2天的关于AJAX的问题
- 更新数据后,重新load这个页面,没有读出最新数据???。。。
请教LZ,
这句话存在的意义是什么?