Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox data binding
Message
From
04/03/2005 10:05:12
 
 
To
04/03/2005 09:29:16
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
00992721
Message ID:
00992726
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform