ComboBox items from a column in a database table!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • helloitsme
    New Member
    • Oct 2006
    • 20

    ComboBox items from a column in a database table!

    Hello!

    Can someone please guide me to do the following -

    I am using a combobox on my form. I want the items of this combobox to come from a column in one of my database tables. Something like this - i have a combobox that would list name of the employess. these names are present in a column called "Name" in a table S_Employee in my SQL database Process_Employe e.

    in the propoerties of the combobox, i set the datasource as the S_Employee table, but what next. after doing this, i see some weird things in the combobox (it shows two items, both = "system.data.da tarowview"). Please note that as of now my table S_Employee has 2 rows...

    Please Help!


    Thank you !!
Working...