public ADB_Data(DataTable dataTable) { for (int i = 0; i < dataTable.Columns.Count; i++) { data_colonsNames.Add(dataTable.Columns[i].ColumnName); } for (int i = 0; i < dataTable.Rows.Count; i++) { ADB_Row row = new ADB_Row(dataTable.Rows[i]); data_rows.Add(row); } }
public ADB_Row Row(int index, ADB_Row value) { data_rows[index].data_colonsNames = data_colonsNames; data_rows[index] = value; return(data_rows[index]); }