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

            rpt.Site = this.Site;
            return(rpt);
        }
 private void tbn_inBC_Click(object sender, EventArgs e)
 {
     if (radchon1.Checked == true)
     {
         rpt_BC_Chiluongthangnam pt = new rpt_BC_Chiluongthangnam();
         bc.loaddg_Chiluongthangnam(crystalReportViewer1, pt, Convert.ToInt32(cbthang.SelectedItem.ToString()), Convert.ToInt32(cbnam.SelectedItem.ToString()));
     }
     else
     {
         rpt_BC_Chiluongtheophong pt1 = new rpt_BC_Chiluongtheophong();
         bc.loaddg_Chiluongphongban(crystalReportViewer1, pt1, cbphong.SelectedValue.ToString());
     }
 }