Exemple #1
0
            public Table1Row AddTable1Row(string col1, int col2)
            {
                Table1Row rowTable1Row = ((Table1Row)(this.NewRow()));

                rowTable1Row.ItemArray = new object[] {
                    col1,
                    col2
                };
                this.Rows.Add(rowTable1Row);
                return(rowTable1Row);
            }
Exemple #2
0
            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);
 }
Exemple #6
0
 public Table1RowChangeEvent(Table1Row row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemple #7
0
 public Table1RowChangeEvent(Table1Row row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemple #8
0
 public void RemoveTable1Row(Table1Row row)
 {
     this.Rows.Remove(row);
 }
Exemple #9
0
 public void AddTable1Row(Table1Row row)
 {
     this.Rows.Add(row);
 }
Exemple #10
0
 public Table1RowChangeEvent(Table1Row row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }