protected void SetCoputedDataSet(DTO.Report Ob, GridView grdvw) { try { Ob.DatatableMain = Ob.DatasetMain.Tables[0].Copy(); Ob.DatasetOther = new DataSet(); Ob.DatasetOther.Tables.Add(Ob.DatatableMain); if (Ob.DatasetMain.Tables[0].Rows.Count > 0) { Ob.DatasetMain.Tables[0].Rows.RemoveAt(Ob.DatasetMain.Tables[0].Rows.Count - 1); } Ob.Counter = 0; grdReport.DataSource = Ob.DatasetMain; grdReport.DataBind(); blnRight = AppClass.CheckExportToExcelRightOnPage(); if (blnRight) { btnExport.Visible = true; } else { btnExport.Visible = false; } } catch (Exception ex) { } }
protected void SetCoputedDataSet(DTO.Report Ob, GridView grdvw) { try { Ob.DatatableMain = Ob.DatasetMain.Tables[0].Copy(); Ob.DatasetOther = new DataSet(); Ob.DatasetOther.Tables.Add(Ob.DatatableMain); if (Ob.DatasetMain.Tables[0].Rows.Count > 0) { Ob.DatasetMain.Tables[0].Rows.RemoveAt(Ob.DatasetMain.Tables[0].Rows.Count - 1); } Ob.Counter = 0; grdReport.DataSource = Ob.DatasetMain; grdReport.DataBind(); } catch (Exception ex) { } }
public DataSet GetItemWiseSummary(DTO.Report Ob) { // check if required field are not null // strCodes is the itemName if (string.IsNullOrEmpty(Ob.StrCodes)) { throw new ArgumentNullException("Item name was not supplied properly"); } /* * DateTime fromDate; * // strCodes is the startDate * if (DateTime.TryParse(Ob.FromDate, out fromDate)) * throw new ArgumentNullException("Start date was not supplied properly"); * * DateTime uptoDate; * // strCodes is the endDate * if (DateTime.TryParse(Ob.UptoDate, out uptoDate)) * throw new ArgumentNullException("Start date was not supplied properly"); */ // Invoice is flag if (string.IsNullOrEmpty(Ob.InvoiceNo)) { throw new ArgumentNullException("Flag was not supplied properly"); } // Invoice is BranchId if (string.IsNullOrEmpty(Ob.BranchId)) { throw new ArgumentNullException("Branch Id was not supplied properly"); } return(DAL.DALFactory.Instance.DAL_Report.GetItemWiseSummary(Ob)); }
public DataSet GetPackageReportDetail(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetPackageReportDetail(Ob)); }
public DataSet GetInvoiceStatement(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetInvoiceStatement(Ob)); }
public DataSet GetDataMainReportAreaLocation(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDataMainReportAreaLocation(Ob)); }
public DataSet GetDataItemReport(DTO.Report Ob, bool bIsAll) { return(DAL.DALFactory.Instance.DAL_Report.GetDataItemReport(Ob, bIsAll)); }
public DataSet GetDataMainReportwithHome(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDataMainReportwithHome(Ob)); }
public DataSet BindServiceTax(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.BindServiceTax(Ob)); }
public DataSet GetPendingStockReport(DTO.Report Ob, bool bIsAll) { return(DAL.DALFactory.Instance.DAL_Report.GetPendingStockReport(Ob, bIsAll)); }
public DataSet GetPendingPaymentFromToUptoDate(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetPendingPaymentFromToUptoDate(Ob)); }
public DataSet BindUserRightsReport(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.BindUserRightsReport(Ob)); }
public DataSet GetDataMainReportEditRecord(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDataMainReportEditRecord(Ob)); }
public DataSet BindUserTypeDropDown(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.BindUserTypeDropDown(Ob)); }
public DataSet GetServiceAndGarment(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetServiceAndGarment(Ob)); }
public DataSet GetProcessWiseSummary(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetProcessWiseSummary(Ob)); }
public DataSet GetGarmentReadyReport(DTO.Report Obj) { return(DAL.DALFactory.Instance.DAL_Report.GetGarmentReadyReport(Obj)); }
public DataSet StockPendingInvoice(DTO.Report Ob, bool bIsAll) { return(DAL.DALFactory.Instance.DAL_Report.StockPendingInvoice(Ob, bIsAll)); }
public DataSet GetMarkeReadyData(DTO.Report Obj) { return(DAL.DALFactory.Instance.DAL_Report.GetMarkeReadyData(Obj)); }
public DataSet GetCustomerWiseSummaryPendingSms(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetCustomerWiseSummaryPendingSms(Ob)); }
public DataSet GetOutstandingPaymentByCustomer(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetOutstandingPaymentByCustomer(Ob)); }
public DataSet GetDeliveryAndSalesInvoiceNo(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDeliveryAndSalesInvoiceNo(Ob)); }
public DataSet BindWorkShopChallan(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.BindWorkShopChallan(Ob)); }
public bool CheckOrginalUser(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.CheckOrginalUser(Ob)); }
public DataSet GetSaleByInvoiceNo(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetSaleByInvoiceNo(Ob)); }
public DataSet GetDurationWiseReport(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDurationWiseReport(Ob)); }
public DataSet GetDeliveryFrom_To_UptoDate(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDeliveryFrom_To_UptoDate(Ob)); }
public DataSet GetDailyCustomerAdditionReport(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDailyCustomerAdditionReport(Ob)); }
public DataSet GetDeliveryByCustomer(DTO.Report Ob) { return(DAL.DALFactory.Instance.DAL_Report.GetDeliveryByCustomer(Ob)); }
public DataSet GetPackageReportSummary(DTO.Report Obj, string branchId) { return(DAL.DALFactory.Instance.DAL_Report.GetPackageReportSummary(Obj, branchId)); }