public void StopNew() { this.MaxStopIDbindingSource.EndEdit(); stopBindingSource.AddNew(); this.MaxStopIDbindingSource.MoveFirst(); ((DataRowView)this.stopBindingSource.Current).Row["nStopID"] = (int)((DataRowView)this.MaxStopIDbindingSource.Current).Row["nID"] + 1; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)