private void us_object2grid(US_V_GD_QUA_TRINH_LAM_VIEC_2 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 grid2us_object(US_V_GD_QUA_TRINH_LAM_VIEC_2 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); }
private void grid2us_object(US_V_GD_QUA_TRINH_LAM_VIEC_2 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);*/ i_us.strMA_NV = m_fg[i_grid_row, (int)e_col_Number.MA_NV].ToString(); i_us.strHO_DEM = m_fg[i_grid_row, (int)e_col_Number.HO_DEM].ToString(); i_us.strTEN = m_fg[i_grid_row, (int)e_col_Number.TEN].ToString(); }