private void cmbPhong_SelectedIndexChanged(object sender, EventArgs e) { PhongDTO thongtin = new PhongDTO(); thongtin.MaPhong = int.Parse(cmbPhong.Text); gcDanhSachKhachHang.DataSource = KhachHangBUS.DSKHTheoPhong(thongtin); }
private void cmbPhong_SelectedIndexChanged(object sender, EventArgs e) { PhongDTO thongtin = new PhongDTO(); thongtin.MaPhong = int.Parse(cmbPhong.Text); gcDanhSachKhachHang.DataSource = KhachHangBUS.DSKHTheoPhong(thongtin); }