private void hienBaoCao(DataTable dt)
 {
     NhanVien rpt = new NhanVien();
     ReportObjects rptObjects = rpt.ReportDefinition.ReportObjects;
     TextObject txtcot = (TextObject)rptObjects["txtCot"];
     txtcot.Text = cot;
     TextObject txtgiatri = (TextObject)rptObjects["txtGiatri"];
     txtgiatri.Text = giatri;
     rpt.SetDataSource(dt);
     NhanVien_RPT bc = new NhanVien_RPT(rpt);
     bc.Show();
 }
        private void hienBaoCaoNV(DataTable dt)
        {
            NhanVien      rpt        = new NhanVien();
            ReportObjects rptObjects = rpt.ReportDefinition.ReportObjects;

            if (tatca1 == true)
            {
                TextObject txtcot = (TextObject)rptObjects["txtCot"];
                txtcot.Text = "Nhân viên";
                TextObject txtgiatri = (TextObject)rptObjects["txtGiatri"];
                txtgiatri.Text = "Tất cả";
            }
            else
            {
                TextObject txtcot = (TextObject)rptObjects["txtCot"];
                txtcot.Text = cboCot1.Text;
                TextObject txtgiatri = (TextObject)rptObjects["txtGiatri"];
                txtgiatri.Text = cboGiatri1.Text;
            }
            rpt.SetDataSource(dt);
            NhanVien_RPT bc = new NhanVien_RPT(rpt);

            bc.Show();
        }