Server Error in '/' Application.

Min (73) must be less than or equal to max (-1) in a Range object.

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.ArgumentException: Min (73) must be less than or equal to max (-1) in a Range object.

Source Error:


Line 80:     public static DataTable GetDataTable(string expression)
Line 81:     {
Line 82:         return GetDataSet(FixeddDatas.Select(expression));
Line 83:     }
Line 84: 

Source File: c:\inetpub\vhosts\shunhua.tw\httpdocs\App_Code\FixeddData.cs    Line: 82

Stack Trace:


[ArgumentException: Min (73) must be less than or equal to max (-1) in a Range object.]
   System.Data.Range..ctor(Int32 min, Int32 max) +2780514
   System.Data.Select.GetBinaryFilteredRecords() +116
   System.Data.Select.SelectRows() +446
   FixeddData.GetDataTable(String expression) in c:\inetpub\vhosts\shunhua.tw\httpdocs\App_Code\FixeddData.cs:82
   detaill.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\shunhua.tw\httpdocs\detaill.aspx.cs:20
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9055; ASP.NET Version:2.0.50727.9051