Click to See Complete Forum and Search --> : how to store data from combo box


pran_chorge
March 21st, 2008, 02:02 PM
how to store data in the sqlserver database table that will be selected from the combo box.
Thanks in Advance.

Shuja Ali
March 21st, 2008, 02:06 PM
Which database are you talking about? In case it is SQL Server that you are are talking about then You can just use an Insert Query with a SQLCommand object. Look at SQLConnection, SQLCommand on MSDN. They have enough example code over there.

dglienna
March 21st, 2008, 03:33 PM
You usually get the db for the combo, and then choose. What do you mean?