Example #1
0
        public virtual MyTableRow AddMyTableRow(int Id, string Name, bool IsMale)
        {
            MyTableRow row = this.NewMyTableRow();

            row["Id"]     = Id;
            row["Name"]   = Name;
            row["IsMale"] = IsMale;
            this.Rows.Add(row);
            return(row);
        }
            public MyTableRow AddMyTableRow(string MyCol1, string MyCol2)
            {
                MyTableRow rowMyTableRow = ((MyTableRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    MyCol1,
                    MyCol2
                };
                rowMyTableRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowMyTableRow);
                return(rowMyTableRow);
            }
Example #3
0
            public MyTableRow AddMyTableRow(string colors, int values)
            {
                MyTableRow rowMyTableRow = ((MyTableRow)(this.NewRow()));

                rowMyTableRow.ItemArray = new object[] {
                    null,
                    colors,
                    values
                };
                this.Rows.Add(rowMyTableRow);
                return(rowMyTableRow);
            }
 public MyTableRowChangeEvent(MyTableRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
 public void RemoveMyTableRow(MyTableRow row)
 {
     this.Rows.Remove(row);
 }
 public void AddMyTableRow(MyTableRow row)
 {
     this.Rows.Add(row);
 }
Example #7
0
 public MyTableRowChangedEventArgs(MyTableRow r, System.Data.DataRowAction a) {
     this.eventRow = r;
     this.eventAction = a;
 }
Example #8
0
 public virtual void RemoveMyTableRow(MyTableRow row) {
     this.Rows.Remove(row);
 }
Example #9
0
 public virtual void AddMyTableRow(MyTableRow row) {
     this.Rows.Add(row);
 }
Example #10
0
 public MyTableRowChangeEvent(MyTableRow tableRow, DataRowAction dataRowAction)
 {
     this.eventRow    = tableRow;
     this.eventAction = dataRowAction;
 }
Example #11
0
 public MyTableRowChangedEventArgs(MyTableRow r, System.Data.DataRowAction a)
 {
     this.eventRow    = r;
     this.eventAction = a;
 }