コード例 #1
0
            public OrderDetailsRow AddOrderDetailsRow(int OrderID, string ProductName, decimal UnitPrice, short Quantity, float Discount)
            {
                OrderDetailsRow rowOrderDetailsRow = ((OrderDetailsRow)(this.NewRow()));

                rowOrderDetailsRow.ItemArray = new object[] {
                    OrderID,
                    ProductName,
                    UnitPrice,
                    Quantity,
                    Discount
                };
                this.Rows.Add(rowOrderDetailsRow);
                return(rowOrderDetailsRow);
            }
            public OrderDetailsRow AddOrderDetailsRow(int OrderID, short Quantity, decimal UnitPrice, float Discount, string ProductName, string Supplier)
            {
                OrderDetailsRow rowOrderDetailsRow = ((OrderDetailsRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    OrderID,
                    Quantity,
                    UnitPrice,
                    Discount,
                    ProductName,
                    Supplier
                };
                rowOrderDetailsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowOrderDetailsRow);
                return(rowOrderDetailsRow);
            }
コード例 #3
0
 public OrderDetailsRowChangeEvent(OrderDetailsRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
コード例 #4
0
 public OrderDetailsRowChangeEvent(OrderDetailsRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
コード例 #5
0
 public void RemoveOrderDetailsRow(OrderDetailsRow row) {
     this.Rows.Remove(row);
 }
コード例 #6
0
 public void AddOrderDetailsRow(OrderDetailsRow row) {
     this.Rows.Add(row);
 }
 public void RemoveOrderDetailsRow(OrderDetailsRow row)
 {
     this.Rows.Remove(row);
 }
 public void AddOrderDetailsRow(OrderDetailsRow row)
 {
     this.Rows.Add(row);
 }
コード例 #9
0
ファイル: SuposDataSet.cs プロジェクト: hpbaotho/supos
 public OrderDetailsRowChangedEventArgs(OrderDetailsRow r, System.Data.DataRowAction a) {
     this.eventRow = r;
     this.eventAction = a;
 }