private void txtSearchMuon_TextChanged(object sender, EventArgs e) { PhieuMuonDAO pm = new PhieuMuonDAO(); if (radMaDGMuon.Checked == true) { dgvMuon.DataSource = pm.GetListPhieuMuonByMaDG(txtSearchMuon.Text); } if (radMaPhieuMuon.Checked == true) { dgvMuon.DataSource = pm.GetListPhieuMuonByMaPhieu(txtSearchMuon.Text); } }