public Table1Row AddTable1Row(string col1, int col2) { Table1Row rowTable1Row = ((Table1Row)(this.NewRow())); rowTable1Row.ItemArray = new object[] { col1, col2 }; this.Rows.Add(rowTable1Row); return(rowTable1Row); }
public Table2Row AddTable2Row(Table1Row parentTable1RowByRelation1, string ColumnName, string MatchingParameter) { Table2Row rowTable2Row = ((Table2Row)(this.NewRow())); object[] columnValuesArray = new object[] { null, ColumnName, MatchingParameter }; if ((parentTable1RowByRelation1 != null)) { columnValuesArray[0] = parentTable1RowByRelation1[0]; } rowTable2Row.ItemArray = columnValuesArray; this.Rows.Add(rowTable2Row); return(rowTable2Row); }
public Table1RowChangeEvent(Table1Row row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveTable1Row(Table1Row row) { this.Rows.Remove(row); }
public void AddTable1Row(Table1Row row) { this.Rows.Add(row); }
public Table1RowChangeEvent(Table1Row row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }