private void load_data_2_grid_search(decimal ip_dc_id_giang_vien, decimal ip_dc_dv_thanh_toan, decimal ip_dc_trang_thai_thanh_toan, string ip_str_loai_hop_dong, string ip_str_reference_code, decimal ip_dc_thang_tt, decimal ip_dc_nam_tt) { if (ip_str_loai_hop_dong.Equals("VH")) // Vận hành { m_str_loai_hd = "VH"; } else if (ip_str_loai_hop_dong.Equals("HL"))// Học liệu { m_str_loai_hd = "HL"; } else { m_str_loai_hd = "All"; } m_us_v_gd_thanh_toan.fill_dataset_by_giang_vien_va_dv_thanh_toan(ip_dc_id_giang_vien, ip_dc_dv_thanh_toan, ip_dc_trang_thai_thanh_toan, ip_str_reference_code, ip_str_loai_hop_dong, ip_dc_thang_tt, ip_dc_nam_tt, m_v_ds_gd_thanh_toan, CIPConvert.ToStr(Session["UserName"])); if (m_v_ds_gd_thanh_toan.V_GD_THANH_TOAN.Rows.Count == 0) { m_lbl_thong_bao.Visible = true; m_lbl_thong_bao.Text = "Không có Thanh toán nào phù hợp"; } else { m_lbl_thong_bao.Text = ""; } m_grv_danh_sach_du_toan.DataSource = m_v_ds_gd_thanh_toan.V_GD_THANH_TOAN; m_grv_danh_sach_du_toan.DataBind(); m_lbl_danh_sach_thanh_toan.Text = "Danh sách Thanh toán: " + m_v_ds_gd_thanh_toan.V_GD_THANH_TOAN.Rows.Count + " thanh toán"; }