DropDown List from DataConn

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I know there are several steps envolved in establishing a connection to a DB
and then creating a DropDown List from Sql.

I am using Visual Studio 2003 7.1.3088 and I am trying to connect and create
a drop down list from a table.column in the db.

Could you point me in the right direction for some "good" documentation
completing this? I have established my db "connection and have been trying
to create a datagrid in order to accomplish the DropDown List with no
success.

thx
/j.>
 
Jack,

The first thing you should do is to use a windowsform or a webpage where the
dropdown can be located.

Cor
 
Then add a combobox or a listbox to that.
Create a datatable,
Fill that with a dataadapter
Set the datasource of one from the first line
Set the displaymember to the name of the column you want to show
And run


Cor
 
Back
Top