Exemplo n.º 1
0
 private void LoadDuLieuBaoCao()
 {
     this.GC_DSPhieuMail.DataSource = BioNet_Bus.GetTinhTrangPhieuMail(this.dllNgay.tungay.Value, this.dllNgay.denngay.Value, txtDonVi.EditValue.ToString());
     if (this.GV_DSPhieuMail.DataRowCount == 0)
     {
         MessageBox.Show("Không có dữ liệu phiếu kết quả cần tìm", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK);
         this.bttGuiMail.Enabled = false;
     }
     else
     {
         this.bttGuiMail.Enabled = true;
     }
 }