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 84:         basebind();
Line 85:         OleDbCommand cmdtype = new OleDbCommand("select [category_id] from [dt_Article] where [id]=" + base.Request.QueryString["PID"], this.conn);
Line 86:         OleDbDataReader rdrtype = cmdtype.ExecuteReader();
Line 87:         if (rdrtype.Read())
Line 88:         {

Source File: e:\hwshostmaster\wwwroot\jtmachinary_avjraf\web\infodetail.aspx.cs    Line: 86

Stack Trace:


[OleDbException (0x80040e14): 语法错误 (操作符丢失) 在查询表达式 '[id]=' 中。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1141796
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +208
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +162
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +110
   System.Data.OleDb.OleDbCommand.ExecuteReader() +11
   web_infodetail.Page_Load(Object sender, EventArgs e) in e:\hwshostmaster\wwwroot\jtmachinary_avjraf\web\infodetail.aspx.cs:86
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2952


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1098.0