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); }
public OrderDetailsRowChangeEvent(OrderDetailsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveOrderDetailsRow(OrderDetailsRow row) { this.Rows.Remove(row); }
public void AddOrderDetailsRow(OrderDetailsRow row) { this.Rows.Add(row); }
public OrderDetailsRowChangedEventArgs(OrderDetailsRow r, System.Data.DataRowAction a) { this.eventRow = r; this.eventAction = a; }