|
-
Jul 28th, 2004, 08:50 AM
#1
Thread Starter
New Member
Combobox Handling Problem
Hi All,
I have a Problem using Combobox in VB.NET, here is what is actually happening.
I have a Combobox1 , with Dropdownstyle as Dropdown
I have attached a datasource to the Combobox1, and then I have
combobox1.text="--------Select--------"
All this is done in the Form Load.
But I run the Application and the Form is visible the Text which I have given is not visible instead, the First Item in the Combobox is getting Displayed.
I am Unable find any reason or remedy... please help all u .NET experts out there.
Tanmoy
-
Jul 28th, 2004, 11:54 AM
#2
Nobody comes into General Developer Forum...
Post your problem in the Visual Basic .Net Forum here...
-
Jul 29th, 2004, 02:45 PM
#3
Re: Combobox Handling Problem
Originally posted by tanmoymoitra
Hi All,
I have a Problem using Combobox in VB.NET, here is what is actually happening.
I have a Combobox1 , with Dropdownstyle as Dropdown
I have attached a datasource to the Combobox1, and then I have
combobox1.text="--------Select--------"
All this is done in the Form Load.
But I run the Application and the Form is visible the Text which I have given is not visible instead, the First Item in the Combobox is getting Displayed.
I am Unable find any reason or remedy... please help all u .NET experts out there.
Tanmoy
You need to set the property "DropDownStyle" to DropDown. If you choose DropDownList then first Item will be selected...
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|