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

语法错误:“=”运算符后缺少操作数。

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

异常详细信息: System.Data.SyntaxErrorException: 语法错误:“=”运算符后缺少操作数。

源错误:


行 2006:        if (paixu == "")
行 2007:        {
行 2008:            drarr= hctable(biao).Select(tiaojian);
行 2009:        }
行 2010:        else

源文件: d:\wwwroot\heiyu1127a7\wwwroot\App_Code\hy\heiyu.cs    行: 2008

堆栈跟踪:


[SyntaxErrorException: 语法错误:“=”运算符后缺少操作数。]
   System.Data.ExpressionParser.Parse() +2200347
   System.Data.DataExpression..ctor(DataTable table, String expression, Type type) +131
   System.Data.DataTable.Select(String filterExpression) +107
   heiyu.hc(String biao, String tiaojian, String paixu, Int32 sum) in d:\wwwroot\heiyu1127a7\wwwroot\App_Code\hy\heiyu.cs:2008
   heiyu.hc(String biao, String tiaojian) in d:\wwwroot\heiyu1127a7\wwwroot\App_Code\hy\heiyu.cs:1994
   hp.lx(Object id, String col) in d:\wwwroot\heiyu1127a7\wwwroot\App_Code\hp.cs:305
   news.Page_Load(Object sender, EventArgs e) in d:\wwwroot\heiyu1127a7\wwwroot\menu.aspx.cs:27
   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) +678


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