private void btnTim_Click(object sender, EventArgs e) { string details = Microsoft.VisualBasic.Interaction.InputBox("Nhập thông tin cần tìm:", "Tìm kiếm"); _lstCuonSach = CuonSachDal.TimKiemcuonsach(cs, details); datagvCuonSach.DataSource = _lstCuonSach; if (_lstCuonSach.Count == 0) { MessageBox.Show("Không tìm thấy cuốn s phù hợp", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1); } }