예제 #1
0
 private void ShowrptThu(int ma)
 {
     ThuChi.BLL.TrptThu trptThu = new ThuChi.BLL.TrptThu();
     DataTable dt = trptThu.SetData(ma);
     rptPhieuThu rpt = new rptPhieuThu();
     rpt.SetDataSource(dt);
     crystalReportViewer1.ReportSource = rpt;
     crystalReportViewer1.Refresh();
     dt.Clear();
 }
예제 #2
0
        private void ShowrptThu(int ma)
        {
            ThuChi.BLL.TrptThu trptThu = new ThuChi.BLL.TrptThu();
            DataTable          dt      = trptThu.SetData(ma);
            rptPhieuThu        rpt     = new rptPhieuThu();

            rpt.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
            dt.Clear();
        }