protected override void OnItemSearching(EventArgs e) { RecordSearchCondition con = new RecordSearchCondition(); con.RecordDateTimeRange = new DateTimeRange(); con.RecordDateTimeRange.Begin = this.ucDateTimeInterval1.StartDateTime; con.RecordDateTimeRange.End = this.ucDateTimeInterval1.EndDateTime; con.CardID = this.txtCardID.Text.Trim(); con.Operator = this.operatorCombobox1.SelectecOperator; con.StationID = this.workStationCombobox1.Text; con.OwnerName = this.txtOwnerName.Text; con.CarPlate = this.txtCarPlate.Text; con.CardCertificate = this.txtCertificate.Text; con.CardType = this.comCardType.SelectedCardType; CardBll bll = new CardBll(AppSettings.CurrentSetting.ParkConnect); List <CardDeleteRecord> items = bll.GetCardDeleteRecords(con).QueryObjects; ShowReportsOnGrid(items); }