Server Error in '/' Application.

SELECT TOP 1 * FROM MAC_Information Where Cid = 315  

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: SELECT TOP 1 * FROM MAC_Information Where Cid = 315  

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[Exception: SELECT TOP 1 * FROM MAC_Information Where Cid = 315  ]
   Yuanxing.DataProvide.MSSQL.getDataTable(String sql) in g:\谢磊\2014\yuanxing\Yuanxing.DataProvide\MSSQL.cs:138
   Yuanxing.DataProvide.Provide`1.GetThisList(Condition`1 Condition, Sequence`1 Sequence, Range range) in g:\谢磊\2014\yuanxing\Yuanxing.DataProvide\Provide.cs:108
   Yuanxing.DataProvide.Provide`1.GetThis(Condition`1 Condition, Sequence`1 Sequence) in g:\谢磊\2014\yuanxing\Yuanxing.DataProvide\Provide.cs:36
   Yuanxing.DataProvide.Provide`1.GetThis(Condition`1 Condition) in g:\谢磊\2014\yuanxing\Yuanxing.DataProvide\Provide.cs:23
   Yuanxing.Application.Control`1.GetThis(T t) in g:\谢磊\2014\yuanxing\Yuanxing.Application\Control.cs:126
   Yuanxing.Application.Basis.GetData`1.GetThis(T t) in g:\谢磊\2014\yuanxing\Yuanxing.Application\Basis\GetData.cs:62
   Yuanxing.UI.Base.PageBase.LoadDefaultData() +380
   Yuanxing.UI.Base.PageBase.OnLoad(EventArgs e) +35
   System.Web.UI.Control.LoadRecursive() +74
   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.1031