I have a WinForm with a BindingNavigator and some text boxes. Two of these are used for handshaking with the database - one is bound to an Identity column assigned by SQL Server when the record is saved, and another is bound to a column storing a value (in this case a GUID) which is assigned by the application. I want to assign the value when a new record is created in memory by clicking the BindingNavigatorAddNewItem toolbutton, and before it is committed to the database.
Both text boxes have Enabled = False.
How can I assign the value to the column holding the application assigned (in this case GUID) value in my app so that it displays in the text box?
The closest I've come is to get an error "Index -1 does not have a value" when trying to use a CurrencyManager, but I couldn't find any good information on correct use of it either...