private void us_object2grid(US_DM_QLHT_SCM i_us , int i_grid_row) { DataRow v_dr = (DataRow) m_fg.Rows[i_grid_row].UserData; i_us.Me2DataRow(v_dr); m_obj_trans.DataRow2GridRow(v_dr, i_grid_row); }
private void chon_qlht_khac() { DataSet v_ds = new DataSet(); f420_search_chon_qlht v_f420 = new f420_search_chon_qlht(); US_DM_QLHT_SCM v_us_chon_qlht = new US_DM_QLHT_SCM(); v_us_chon_qlht = v_f420.display(); if (v_us_chon_qlht.dcID > 0) m_us_dm_qlht = v_us_chon_qlht; if (m_us_dm_qlht.dcID > 0) { m_txt_qlht_ho_ten.Text = m_us_dm_qlht.strTEN_THAT; m_txt_qlht_acc_scm.Text = m_us_dm_qlht.strACCOUNT; m_cbo_qlht_truong.SelectedValue = m_us_dm_qlht.strMA_TRUONG; if (m_us_dm_qlht.strACCOUNT != "") load_thong_tin_email_qlht(m_us_dm_qlht.strACCOUNT); } }
private void grid2us_object(US_DM_QLHT_SCM i_us , int i_grid_row) { DataRow v_dr; v_dr = (DataRow) m_fg.Rows[i_grid_row].UserData; m_obj_trans.GridRow2DataRow(i_grid_row,v_dr); i_us.DataRow2Me(v_dr); }