private void load_data_2_grid() { m_ds = new DS_V_DM_STATION(); m_us.FillDataset(m_ds); m_fg.Redraw = false; CGridUtils.Dataset2C1Grid(m_ds, m_fg, m_obj_trans); CGridUtils.MakeSoTT((int)e_col_Number.STT, m_fg); m_fg.Redraw = true; }
public US_V_DM_STATION(decimal i_dbID) { pm_objDS = new DS_V_DM_STATION(); pm_strTableName = c_TableName; IMakeSelectCmd v_objMkCmd = new CMakeAndSelectCmd(pm_objDS, c_TableName); v_objMkCmd.AddCondition("ID", i_dbID, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang); SqlCommand v_cmdSQL; v_cmdSQL = v_objMkCmd.getSelectCmd(); this.FillDatasetByCommand(pm_objDS, v_cmdSQL); pm_objDR = getRowClone(pm_objDS.Tables[pm_strTableName].Rows[0]); }
public US_V_DM_STATION() { pm_objDS = new DS_V_DM_STATION(); pm_strTableName = c_TableName; pm_objDR = pm_objDS.Tables[pm_strTableName].NewRow(); }
{ // f310_dm_station_DE v_fDE = new f310_dm_station_DE(); // v_fDE.display(); load_data_2_grid(); } private void load_data_2_grid() { m_ds = new DS_V_DM_STATION();