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
请教LZ,
这句话存在的意义是什么?