public dtProductProfitRow AdddtProductProfitRow(string ProductName, double ListPrice, double CostPrice, double ProfitAmount) { dtProductProfitRow rowdtProductProfitRow = ((dtProductProfitRow)(this.NewRow())); object[] columnValuesArray = new object[] { ProductName, ListPrice, CostPrice, ProfitAmount }; rowdtProductProfitRow.ItemArray = columnValuesArray; this.Rows.Add(rowdtProductProfitRow); return(rowdtProductProfitRow); }
public dtProductProfitRowChangeEvent(dtProductProfitRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemovedtProductProfitRow(dtProductProfitRow row) { this.Rows.Remove(row); }
public void AdddtProductProfitRow(dtProductProfitRow row) { this.Rows.Add(row); }