General information
Category:
The Mere Mortals .NET Framework
Title:
Unbound dropdown list
(C#) I'm trying to bind a dropdown list to the data which populates the DDL, but the control on the form is not bound to any data on an underlying table (i.e., I simply want to populate the DDL). Using the Northwind database, I want a DDL of Employee last names. I tried
Binding Source - Employee
Binding Source Display Name - LastName
Binding Source Value Member - EmployeeID
Binding TYpe - One Way
but get : Can't bind MmDropDownList1 to Employee.LastName
When I try Binding TYpe - None
the DDL is not populated.
Any ideas on how to do this?
Thanks!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only