means there are more then one dataabases you have , ? and you want that your code will update the selected database ? if yes then do something like this
dim con as new sqlconnection("your connection string")
con.ChangeDatabase(comboBox.text) ' you can use combobox.selectedvalue
con.open()
'------------------
here you can use your update command as jim said.
'------------------
con.close()
if this is not your prob then please explain it for me ,
Regards