Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I add record to the combo box ?
Message
De
06/08/2003 07:24:01
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, États-Unis
 
 
À
06/08/2003 02:17:41
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00816851
Message ID:
00817227
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform