“/”應用程序中的服務器錯誤。

語法錯誤 (操作符丟失) 在查詢表達式 'id=' 中。

說明: 執行當前 Web 請求期間,出現未經處理的異常。請檢查堆棧跟蹤信息,以了解有關該錯誤以及代碼中導致錯誤的出處的詳細信息。

異常詳細信息: System.Data.OleDb.OleDbException: 語法錯誤 (操作符丟失) 在查詢表達式 'id=' 中。

源錯誤:

執行當前 Web 請求期間生成了未經處理的異常。可以使用下麵的異常堆棧跟蹤信息確定有關異常原因和發生位置的信息。

堆棧跟蹤:


[OleDbException (0x80040e14): 語法錯誤 (操作符丟失) 在查詢表達式 'id=' 中。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1081596
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +194
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +167
   System.Data.OleDb.OleDbCommand.ExecuteScalar() +116
   Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteScalar(IDbCommand command) +206
   Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteScalar(DbCommand command) +193
   XiaobinManage.DAL.CategoryDAL.GetOneFiled(String filed, String cond) +203
   XiaobinManage.Web.proList.GetCond() +206
   XiaobinManage.Web.proList.Page_Load(Object sender, EventArgs e) +231
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.1031
網站地圖