Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I bind a collection to a control?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00971040
Message ID:
00971103
Views:
28
Bob,
I have another quick question for you. Now that I have the datasource of my combobox set to my collection object is there any other way to get to the selected object in the collection other than using the combobox' SelectedIndex property? Or to make a long story short (in code):
myCollection[this.myCombobox.SelectedIndex]
Einar


>Yep, just set the collection as the data source. We do this all the time, binding combos to our custom collections that contain business objects.
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform