private void load_data_to_grid() { DS_RPT_TONG_HOP_HIEN_TRANG_OTO v_ds_v_tong_hop_hien_trang_oto = new DS_RPT_TONG_HOP_HIEN_TRANG_OTO(); US_RPT_TONG_HOP_HIEN_TRANG_OTO v_us_v_tong_hop_hien_trang_oto = new US_RPT_TONG_HOP_HIEN_TRANG_OTO(); v_us_v_tong_hop_hien_trang_oto.FillDataset_tong_hop_chung( CIPConvert.ToDecimal(m_cbo_bo_tinh.SelectedValue) , CIPConvert.ToDecimal(m_cbo_don_vi_chu_quan.SelectedValue) , Person.get_user_name() , v_ds_v_tong_hop_hien_trang_oto); m_grv_oto.DataSource = v_ds_v_tong_hop_hien_trang_oto; m_grv_oto.DataBind(); }
private void load_data_to_grid_thsd_tong_hop_chung(CObjExcelAssetParameters op_excel_parameters) { DS_RPT_TONG_HOP_HIEN_TRANG_OTO v_DS_RPT_TONG_HOP_HIEN_TRANG_OTO = new DS_RPT_TONG_HOP_HIEN_TRANG_OTO(); US_RPT_TONG_HOP_HIEN_TRANG_OTO v_us_rpt_tong_hop_hien_trang_oto = new US_RPT_TONG_HOP_HIEN_TRANG_OTO(); v_us_rpt_tong_hop_hien_trang_oto.FillDataset_tong_hop_chung( op_excel_parameters.dcID_BO_TINH , op_excel_parameters.dcID_DON_VI_CHU_QUAN , op_excel_parameters.strUSER_NAME , v_DS_RPT_TONG_HOP_HIEN_TRANG_OTO ); m_fg.Redraw = false; CGridUtils.Dataset2C1Grid(v_DS_RPT_TONG_HOP_HIEN_TRANG_OTO, m_fg, m_obj_trans); m_fg.Redraw = true; }