Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rpt_BC_Chamcongthangnam1 rpt = new rpt_BC_Chamcongthangnam1();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
 private void btnInbaocao_Click(object sender, EventArgs e)
 {
     if (radchon1.Checked == true)
     {
         rpt_BC_Chamcongthangnam1 pt = new rpt_BC_Chamcongthangnam1();
         nvrp.loaddg_Chamcongthangnam(CryView, pt, Convert.ToInt32(cbthang.SelectedItem.ToString()), Convert.ToInt32(cbnam.SelectedItem.ToString()));
     }
     else
     {//Download source code FREE tai Sharecode.vn
         //rptChamcongtheophong pt1 = new rptChamcongtheophong();
         rpt_BC_Chamcongphongban1 pt1 = new rpt_BC_Chamcongphongban1();
         nvrp.loaddg_Chamcongphongban(CryView, pt1, combophongban.SelectedValue.ToString());
     }
 }