Aspose.Cells.GridWeb.Examples.CSharp.Articles.DataSet1.ProductsDataTable.AddProductsRow C# (CSharp) Method

AddProductsRow() private method

private AddProductsRow ( int CategoryID, System CreatedDate, bool Discontinued, short ProductID, string ProductName, string QuantityPerUnit, short ReorderLevel, int SupplierID, decimal UnitPrice, short UnitsInStock, short UnitsOnOrder ) : ProductsRow
CategoryID int
CreatedDate System
Discontinued bool
ProductID short
ProductName string
QuantityPerUnit string
ReorderLevel short
SupplierID int
UnitPrice decimal
UnitsInStock short
UnitsOnOrder short
return ProductsRow
            public ProductsRow AddProductsRow(int CategoryID, System.DateTime CreatedDate, bool Discontinued, short ProductID, string ProductName, string QuantityPerUnit, short ReorderLevel, int SupplierID, decimal UnitPrice, short UnitsInStock, short UnitsOnOrder) {
                ProductsRow rowProductsRow = ((ProductsRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        CategoryID,
                        CreatedDate,
                        Discontinued,
                        ProductID,
                        ProductName,
                        QuantityPerUnit,
                        ReorderLevel,
                        SupplierID,
                        UnitPrice,
                        UnitsInStock,
                        UnitsOnOrder};
                rowProductsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowProductsRow);
                return rowProductsRow;
            }
            

Same methods

DataSet1.ProductsDataTable::AddProductsRow ( ProductsRow row ) : void