Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox data binding
Message
De
04/03/2005 10:05:12
 
 
À
04/03/2005 09:29:16
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
00992721
Message ID:
00992726
Vues:
25
This message has been marked as the solution to the initial question of the thread.
Hi, Sylvain,

I think you're close...I believe you need one more line at the end, to actually bind/map a property of the combobox to the datatable.
cboClient.DataBindings.Add("SelectedValue",dtClient, ,"PK_Client");
This way, what's in the combo's SelectedValue (associated with ValueMember) will be mapped to PK_Client.

Let me know if that helps...
Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform