//Button Tìm kếm và xử lý tìm kiếm private void btTimKiemTP_Click(object sender, EventArgs e) { string namhoc = tbNamHoc.Text; string hocky = tbHocky.Text; DataTable dsKhachSan = new DataTable(); BUSGiaoVien bus = new BUSGiaoVien(); try { dataGridView1.DataSource = bus.getKetQua(namhoc, hocky); } catch (Exception ex) { MessageBox.Show(ex.Message, "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); } }