pk10牛牛

pk10牛牛

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.Exception: 语法错误 (操作符丢失) 在查询表达式 'a.news_id>2 and a.news_group= and a.news_group=b.CategoryId' 中。

Source Error:

Line 313:                catch (System.Data.OleDb.OleDbException ex)
Line 314:                {
Line 315:                    throw new Exception(ex.Message);
Line 316:                }
Line 317:                return ds;

Source File: d:\vhostroot\localuser\hongqhq\www\App_Code\DbHelperOleDb.cs    Line: 315

Stack Trace:

[Exception: 语法错误 (操作符丢失) 在查询表达式 'a.news_id>2 and a.news_group= and a.news_group=b.CategoryId' 中。]
   DBUtility.DbHelperOleDb.Query(String SQLString) in d:\vhostroot\localuser\hongqhq\www\App_Code\DbHelperOleDb.cs:315
   cn_controls_new_page.shownewsdetail(Int32 id, Int32 curpg) in d:\vhostroot\localuser\hongqhq\www\controls\new_page.ascx.cs:57
   cn_controls_new_page.Page_Load(Object sender, EventArgs e) in d:\vhostroot\localuser\hongqhq\www\controls\new_page.ascx.cs:17
   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.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


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