PC Review


Reply
Thread Tools Rate Thread

Combobox properties

 
 
steve
Guest
Posts: n/a
 
      25th Oct 2004
Just a small silly question:

I've bounded a couple of comboboxes to a dataset and upon loading them, I see the first Item being displayed.
which is what i expect.

However another combobox which get populated from the column names of a specific table in the (same) dataset, the first item you see is an empty text (blanc).
The number of items is the correct one (I've verified this).

So, I had to force it to display the first Item when it loads:
myCombo.Text = myCombo.Items(0)

and it works fine.

However I am curious to know.

The design properties of both boxes are the same. why this difference? Is it the way I am populating them?

TIA

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox properties vbtrying Microsoft C# .NET 2 30th Jan 2008 08:51 PM
Combobox Value Properties NowSeeSharp Microsoft C# .NET 1 29th Nov 2006 12:20 PM
comboBox properties cmpcwil2 Microsoft Excel Programming 2 16th Jun 2006 02:27 PM
ComboBox Properties jilleo Microsoft Access Forms 1 14th Jun 2004 07:51 PM
ComboBox ProperTies Dan Gesshel Microsoft Excel Programming 2 17th Oct 2003 01:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:48 AM.