|
-
Feb 21st, 2003, 06:49 PM
#1
Thread Starter
New Member
Combobox default [Resolved]
VB.net
I have a several comboboxes populated by way of a Dataset, I would like the default view to be nothing. Is there a way to do this and if so, how...
I've tried several things and they haven't worked.
This seems like it would be very simple to do, just don't know how.
Thank you for any help you can offer.
Last edited by ettropics; Feb 23rd, 2003 at 07:55 PM.
-
Feb 21st, 2003, 07:54 PM
#2
Sleep mode
Re: Combobox default
Originally posted by ettropics
VB.net
I have a several comboboxes populated by way of a Dataset, I would like the default view to be nothing. Is there a way to do this and if so, how...
I've tried several things and they haven't worked.
This seems like it would be very simple to do, just don't know how.
Thank you for any help you can offer.
try this :
VB Code:
ComboBox1.SelectedIndex() = -1
-
Feb 21st, 2003, 08:49 PM
#3
You can also set the selecteditem to nothing:
ComboBox1.SelectedItem = Nothing
-
Feb 23rd, 2003, 07:56 PM
#4
Thread Starter
New Member
Thank you
I can't believe I couldn't figure that one out.
Thank you both, you have helped me before and I appreciate all of your input and help.
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
|