“/”应用程序中的服务器错误。

语法错误 (操作符丢失) 在查询表达式 'a.news_id>35 and a.news_group= and a.news_group=b.CategoryId' 中。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Exception: 语法错误 (操作符丢失) 在查询表达式 'a.news_id>35 and a.news_group= and a.news_group=b.CategoryId' 中。

源错误:


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

源文件: d:\vhostroot\localuser\xlmhywzj\www\App_Code\DbHelperOleDb.cs    行: 315

堆栈跟踪:


[Exception: 语法错误 (操作符丢失) 在查询表达式 'a.news_id>35 and a.news_group= and a.news_group=b.CategoryId' 中。]
   DBUtility.DbHelperOleDb.Query(String SQLString) in d:\vhostroot\localuser\xlmhywzj\www\App_Code\DbHelperOleDb.cs:315
   cn_controls_new_page.shownewsdetail(Int32 id, Int32 curpg) in d:\vhostroot\localuser\xlmhywzj\www\controls\new_page.ascx.cs:57
   cn_controls_new_page.Page_Load(Object sender, EventArgs e) in d:\vhostroot\localuser\xlmhywzj\www\controls\new_page.ascx.cs:17
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4676.0