Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptDoanhthuBH rpt = new rptDoanhthuBH();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
 private void ShowDoanhthuBH(DateTime from, DateTime to)
 {
     try
     {
         DataTable         dt  = tDoanhthuBH.SetData(from, to);
         RPT.rptDoanhthuBH rpt = new RPT.rptDoanhthuBH();
         rpt.SetDataSource(dt);
         crystalReportViewer1.ReportSource = rpt;
         crystalReportViewer1.Refresh();
         dt.Clear();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Kiểm tra lại thông tin");
         TLog.WriteErr("frmDoanhthuBH.cs_ShowDoanhthuBH", ex.Message + "||" + ex.StackTrace);
     }
 }
Пример #3
0
 private void ShowDoanhthuBH(DateTime from, DateTime to)
 {
     try
     {
         DataTable dt = tDoanhthuBH.SetData(from, to);
         RPT.rptDoanhthuBH rpt = new RPT.rptDoanhthuBH();
         rpt.SetDataSource(dt);
         crystalReportViewer1.ReportSource = rpt;
         crystalReportViewer1.Refresh();
         dt.Clear();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Kiểm tra lại thông tin");
         TLog.WriteErr("frmDoanhthuBH.cs_ShowDoanhthuBH", ex.Message + "||" + ex.StackTrace);
     }
 }
Пример #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptDoanhthuBH rpt = new rptDoanhthuBH();
     rpt.Site = this.Site;
     return rpt;
 }