private void _helper_LoadGridDataSource(object sender, EventArgs e) { FacadeFactory facadeFactory = new FacadeFactory(base.DataProvider); (e as WebQueryEventArgs).GridDataSource = facadeFactory.CreateQueryMultiMOMemoFacade().QueryMultiMOMemo (FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtConditionItem.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtConditionMo.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtRCardStart.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtRCardEnd.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtStartMeno.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtEndMeno.Text)), (e as WebQueryEventArgs).StartRow, (e as WebQueryEventArgs).EndRow ); (e as WebQueryEventArgs).RowCount = facadeFactory.CreateQueryMultiMOMemoFacade().QueryMultiMOMemoCount (FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtConditionItem.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtConditionMo.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtRCardStart.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtRCardEnd.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtStartMeno.Text)), FormatHelper.CleanString(FormatHelper.PKCapitalFormat(this.txtEndMeno.Text))); }