public SelectionTableRow AddSelectionTableRow(string ScheduleName, string ControlName, string Selection) { SelectionTableRow rowSelectionTableRow = ((SelectionTableRow)(this.NewRow())); object[] columnValuesArray = new object[] { ScheduleName, ControlName, Selection }; rowSelectionTableRow.ItemArray = columnValuesArray; this.Rows.Add(rowSelectionTableRow); return(rowSelectionTableRow); }
internal void NewSelectionTableRow(SelectionTableRowWraper _rowx) { SelectionTableRow _nr = this.NewSelectionTableRow(); _nr.Batch = _rowx.Batch.Trim(); _nr.Created = _rowx.Created.Date.ToString("d", CultureInfo.CurrentUICulture); _nr.Currency = _rowx.Currency; _nr.DocumentNo = _rowx.DocumentNo.Trim(); _nr.DebtDate = _rowx.DebtDate.Date.ToString("d", CultureInfo.CurrentUICulture); _nr.Disposal = _rowx.Disposal; _nr.ID = _rowx.ID.ToString(); _nr.SKU = _rowx.SKU.Trim(); _nr.Quantity = _rowx.Quantity; _nr.Status = _rowx.Status; _nr.UnitPrice = _rowx.UnitPrice; _nr.ValidTo = _rowx.ValidTo.Date.ToString("d", CultureInfo.CurrentUICulture); AddSelectionTableRow(_nr); }
public SelectionTableRowChangeEvent(SelectionTableRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveSelectionTableRow(SelectionTableRow row) { this.Rows.Remove(row); }
public void AddSelectionTableRow(SelectionTableRow row) { this.Rows.Add(row); }