Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo boxes
Message
From
16/02/2004 15:51:43
 
 
To
16/02/2004 15:47:36
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00877747
Message ID:
00877763
Views:
16
I meant the code that shows how you are setting the DataSource, DisplayMember and DisplayValue for the Combo and also how you've databound it to the data on your form.



>Code is below
>
>Private Sub frmSummaryPage_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
> cboDateRange.SelectedIndex = 1
> End Sub
>
>>Jim,
>>
>>Could you post some code?
>>
>>~~Bonnie
>>
>>
>>>All,
>>>
>>> I have a windows form with a combo box on it. The items are static. I set the selected index to the first item in the load event of my form. when the form appears the drop down box is empty. How do I get around this?
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