[FormatException: 该字符串未被识别为有效的布尔值。] System.Boolean.Parse(String value) +7663730 System.String.System.IConvertible.ToBoolean(IFormatProvider provider) +15 System.Convert.ToBoolean(Object value) +28 NHibernate.Type.BooleanType.Get(IDataReader rs, Int32 index) +36 NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name) +92 NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String[] names, ISessionImplementor session, Object owner) +31 NHibernate.Type.AbstractType.Hydrate(IDataReader rs, String[] names, ISessionImplementor session, Object owner) +19 NHibernate.Persister.Entity.AbstractEntityPersister.Hydrate(IDataReader rs, Object id, Object obj, ILoadable rootLoadable, String[][] suffixedPropertyColumns, Boolean allProperties, ISessionImplementor session) +680 NHibernate.Loader.Loader.LoadFromResultSet(IDataReader rs, Int32 i, Object obj, String instanceClass, EntityKey key, String rowIdAlias, LockMode lockMode, ILoadable rootPersister, ISessionImplementor session) +276 NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList hydratedObjects, ISessionImplementor session) +135 NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] persisters, EntityKey[] keys, Object optionalObject, EntityKey optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, ISessionImplementor session) +287 NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) +156 NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +704 NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +70 NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +102
[ADOException: could not execute query[ select repairserv0_.MaintenanceId as Maintena1_186_0_, reservatio1_.MaintenanceId as Maintena1_182_1_, repairserv0_.ArrivedDate as ArrivedD2_186_0_, repairserv0_.CompletedDate as Complete3_186_0_, repairserv0_.RepairAddr as RepairAddr186_0_, repairserv0_.RepairType as RepairType186_0_, repairserv0_.RepairMan as RepairMan186_0_, repairserv0_.RepairRemark as RepairRe7_186_0_, repairserv0_.HasCompleted as HasCompl8_186_0_, repairserv0_.InfoUploaded as InfoUplo9_186_0_, reservatio1_.RegionName as RegionName182_1_, reservatio1_.MachineNo as MachineNo182_1_, reservatio1_.CustName as CustName182_1_, reservatio1_.LinkMan as LinkMan182_1_, reservatio1_.LinkPhone as LinkPhone182_1_, reservatio1_.ReservMan as ReservMan182_1_, reservatio1_.ReservDate as ReservDate182_1_, reservatio1_.RepairDate as RepairDate182_1_, reservatio1_.RepairAddr as RepairAddr182_1_, reservatio1_.CustRemark as CustRemark182_1_, reservatio1_.FailurePreDeter as Failure12_182_1_ from CustServ_RepairService repairserv0_ inner join CustServ_Reservation reservatio1_ on repairserv0_.MaintenanceId=reservatio1_.MaintenanceId where reservatio1_.RegionName like '%%' ] [SQL: select repairserv0_.MaintenanceId as Maintena1_186_0_, reservatio1_.MaintenanceId as Maintena1_182_1_, repairserv0_.ArrivedDate as ArrivedD2_186_0_, repairserv0_.CompletedDate as Complete3_186_0_, repairserv0_.RepairAddr as RepairAddr186_0_, repairserv0_.RepairType as RepairType186_0_, repairserv0_.RepairMan as RepairMan186_0_, repairserv0_.RepairRemark as RepairRe7_186_0_, repairserv0_.HasCompleted as HasCompl8_186_0_, repairserv0_.InfoUploaded as InfoUplo9_186_0_, reservatio1_.RegionName as RegionName182_1_, reservatio1_.MachineNo as MachineNo182_1_, reservatio1_.CustName as CustName182_1_, reservatio1_.LinkMan as LinkMan182_1_, reservatio1_.LinkPhone as LinkPhone182_1_, reservatio1_.ReservMan as ReservMan182_1_, reservatio1_.ReservDate as ReservDate182_1_, reservatio1_.RepairDate as RepairDate182_1_, reservatio1_.RepairAddr as RepairAddr182_1_, reservatio1_.CustRemark as CustRemark182_1_, reservatio1_.FailurePreDeter as Failure12_182_1_ from CustServ_RepairService repairserv0_ inner join CustServ_Reservation reservatio1_ on repairserv0_.MaintenanceId=reservatio1_.MaintenanceId where reservatio1_.RegionName like '%%']] NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +196 NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) +18 NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) +79 NHibernate.Hql.Ast.ANTLR.Loader.QueryLoader.List(ISessionImplementor session, QueryParameters queryParameters) +47 NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.List(ISessionImplementor session, QueryParameters queryParameters) +231 NHibernate.Engine.Query.HQLQueryPlan.PerformList(QueryParameters queryParameters, ISessionImplementor session, IList results) +353 NHibernate.Impl.SessionImpl.List(String query, QueryParameters queryParameters, IList results) +205 NHibernate.Impl.SessionImpl.List(String query, QueryParameters parameters) +182 NHibernate.Impl.QueryImpl.List() +165 Rock.BLL.CustServiceBll.RepairServiceBo.Query(String fieldName, String nameLike, String orderBy, Boolean isAsc) in E:\MyWork\Rock\Trunck\RockBLL\CustServiceBll\RepairServiceBo.cs:28 WebSite.CustService.RepairServiceList.BindData() in E:\MyWork\Rock\Trunck\WebSite\CustService\RepairServiceList.aspx.cs:54 WebSite.CustService.RepairServiceList.btnQuery_Click(Object sender, EventArgs e) in E:\MyWork\Rock\Trunck\WebSite\CustService\RepairServiceList.aspx.cs:31 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
|