public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport_BC_Dotuoi rpt = new CrystalReport_BC_Dotuoi();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        //Download source code FREE tai Sharecode.vn

        private void btnBaoCao_Click(object sender, EventArgs e)
        {
            CrystalReport_BC_Dotuoi bc = new CrystalReport_BC_Dotuoi();

            //nvrp.loaddg_THEO_DOTUOI(CryView_BC_Dotuoi, bc, int.Parse(cmbFrom.SelectedText.ToString()),int.Parse(CmbTo.SelectedText.ToString()));
            nvrp.loaddg_THEO_DOTUOI(CryView_BC_Dotuoi, bc, int.Parse(cmbFrom.SelectedItem.ToString()), int.Parse(CmbTo.SelectedItem.ToString()));
        }