stevecking
Active member
- Joined
- Dec 27, 2006
- Messages
- 32
- Programming Experience
- 5-10
I have a front-end application containing a database which may/or may not get it's data from another database being used as a repository. The comboboxes are currently bound to dataset which are derived from the repository. My problem occurs with the (may not) part of the requirement. If the item doesn't exist in the repository and I'm using SelectedValue binding then the user can't simply type a value into the combobox and click the save button. I've done frequent develoment using Microsoft Access and the combobox control can be programmatically managed to handle this situation and add the value to the source table.
How can this situation be handled in Visual Basic.NET? Can I dual-bind to the Text property? Can I programmatically modify the bindings in the OnKeyDown event? I'm open to any suggestions. Thanks in advance.
How can this situation be handled in Visual Basic.NET? Can I dual-bind to the Text property? Can I programmatically modify the bindings in the OnKeyDown event? I'm open to any suggestions. Thanks in advance.