public ProductsTDSRow AddProductsTDSRow(string ProductName, int SupplierID, int CategoryID, string QuantityPerUnit, System.Decimal UnitPrice, short UnitsInStock, short UnitsOnOrder, short ReorderLevel, bool Discontinued) { ProductsTDSRow rowProductsTDSRow = ((ProductsTDSRow)(this.NewRow())); rowProductsTDSRow.ItemArray = new object[] { null, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued }; this.Rows.Add(rowProductsTDSRow); return(rowProductsTDSRow); }
public ProductsTDSRowChangeEvent(ProductsTDSRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveProductsTDSRow(ProductsTDSRow row) { this.Rows.Remove(row); }
public void AddProductsTDSRow(ProductsTDSRow row) { this.Rows.Add(row); }