Or Betzalel
Or Betzalel

Reputation: 2597

Using The Datasource Property

I have a dropdownlist and a function that returns a certain DataSet.

Can I call that function in the datasource property at the designer? If not, how do I use that property in the designer?

Upvotes: 1

Views: 203

Answers (1)

G-71
G-71

Reputation: 3682

If you using Windows Form, dropdownlist is Combobox. Am I right ?

alt text

Put Combobox in your form

alt text

Click on pointer гn the left top corner of a Combobox Check "Use Data Bound Items" alt text

Select Data Source and Display Member (one of the field of table in your database) For example: alt text

Upvotes: 1

Related Questions