Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I add record to the combo box ?
Message
From
06/08/2003 07:24:01
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, United States
 
 
To
06/08/2003 02:17:41
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00816851
Message ID:
00817227
Views:
14
Hi,

You need to create a SQL statement to populate your dropdown list as follows:

Select myPk, rtrim(UserCode)+ " - " + UserName as CodeName from YourTablename

Me.ComboUserGroup.DataTextField = "CodeName"
Me.ComboUserGroup.DataValueField = "MyPK"

Hope this helps.

Jacci
Previous
Reply
Map
View

Click here to load this message in the networking platform