Example #1
0
        //--------------------------------------------------------------------------------
        public DataRow_timeframe Add_Row(int timeframe_id, int timeframe_length, string timeframe_name)
        {
            DataRow_timeframe row = (DataRow_timeframe)NewRow();

            object[] aValues = new object[]
            {
                timeframe_id, timeframe_length, timeframe_name
            };
            row.ItemArray = aValues;
            Rows.Add(row);
            return(row);
        }
Example #2
0
 //--------------------------------------------------------------------------------
 public void Remove_Row(DataRow_timeframe row)
 {
     Rows.Remove(row);
 }
Example #3
0
 //--------------------------------------------------------------------------------
 public void Add_Row(DataRow_timeframe row)
 {
     Rows.Add(row);
 }