I may be wrong, but I don't think you need to set the datasource property of the Combo1 combo box. I'd recommend either binding the combo box to a datasource through the Visual Basic.net IDE (which allows you to set your select statement, display text, and item value), or, do NOT bind the combo box to a data source, and do not bind the data field. You'll have to add some extra code to grab the selectedItem from the combo box and use that in your database.
|