Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating A Combobox - from Linq
Message
From
20/04/2008 14:16:06
 
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01310803
Message ID:
01311969
Views:
15
>Okay, it was just setting the Displaymember to the column name in quotes: "UserName"

You should also set the ValueMember property if you're planning on doing anything with the SelectedValue (whether it's by databinding or simply using the value for something).

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform