private XtraReport GetReport(DataView reportData) { var financeReport = new HCMIS.Desktop.Reports.SOHReportForFinance(CurrentContext.LoggedInUserName); financeReport.DataSource = reportData; printControl1.PrintingSystem = financeReport.PrintingSystem; return(financeReport); }
private XtraReport GetReport() { var financeReport = new HCMIS.Desktop.Reports.SOHReportForFinance(CurrentContext.LoggedInUserName); int warehouseID = Convert.ToInt32(lkWarehouse.EditValue); int activityID = Convert.ToInt32(lkAccount.EditValue); DataView reportData = BLL.Balance.GetSOHReportForFinance(warehouseID,activityID); financeReport.DataSource = reportData; printControl1.PrintingSystem = financeReport.PrintingSystem; return financeReport; }
private XtraReport GetReport() { var financeReport = new HCMIS.Desktop.Reports.SOHReportForFinance(CurrentContext.LoggedInUserName); int warehouseID = Convert.ToInt32(lkWarehouse.EditValue); int activityID = Convert.ToInt32(lkAccount.EditValue); DataView reportData = BLL.Balance.GetSOHReportForFinance(warehouseID, activityID); financeReport.DataSource = reportData; printControl1.PrintingSystem = financeReport.PrintingSystem; return(financeReport); }
private XtraReport GetReport(DataView reportData) { var financeReport = new HCMIS.Desktop.Reports.SOHReportForFinance(CurrentContext.LoggedInUserName); financeReport.DataSource = reportData; printControl1.PrintingSystem = financeReport.PrintingSystem; return financeReport; }