Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Boxes.
Message
From
10/12/2003 10:14:45
 
 
To
10/12/2003 09:51:23
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00857406
Message ID:
00857656
Views:
31
Jim,

As Steve said in that thread I pointed you to, DataBinding can be a confusing word. Controls like TextBoxes only have Simple Binding. Controls like Combos have Complex Binding (now, whether these are legitimate terms or not, I don't know). Simple Binding a TextBox means binding the TextBox's .Text property to a column in a DataTable (or to a property of your form or control). With Complex Binding of a Combo, you have to do that also (you'd bind to the .SelectedValue) *and* you have to also fill the Combo with data. That's the only part you're doing right now ... filling the combo with data. You still need to bind it's .SelectedValue to a property on your form or to the column of a DataTable. Does that make sense now?

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

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

Click here to load this message in the networking platform