Reputation: 2597
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
Reputation: 3682
If you using Windows Form, dropdownlist is Combobox. Am I right ?
Put Combobox in your form
Click on pointer гn the left top corner of a Combobox
Check "Use Data Bound Items"
Select Data Source and Display Member (one of the field of table in your database)
For example:
Upvotes: 1