PC Review


Reply
Thread Tools Rate Thread

Changing the behaviour of DataSource property of combobox

 
 
progressdll
Guest
Posts: n/a
 
      21st Dec 2006
I'm trying to change the behaviour of setting the DataSource property
of combobox.

I was told on this list to override the ToString() function, but i
don't think this works or I'm doing it wrong.

Here is the behaviour I now see.

Setting the DataSource property of combobox to an ArrayList will visual
display
the first value in the Text field. ( or setting the Text property ).

I don't want this to happen. Just load the DataSource, don't change the
Text property.

Any Ideas

 
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 – assigning the DataSource property causes SelectedIndexChanged event to fire GiJeet Microsoft C# .NET 2 30th Apr 2009 08:22 PM
Problem with combobox and displayMember property with datasource. fedrok Microsoft VB .NET 2 8th Jun 2008 08:50 AM
changing the behaviour of setting the DataSource property progressdll Microsoft C# .NET 1 22nd Dec 2006 07:23 AM
Combobox droppeddown property and strange mouse cursor behaviour Cameron Epp Microsoft Dot NET Framework Forms 1 22nd Sep 2006 09:41 PM
How to set DataReader as ComboBox's datasource property (VB.Net) Hardik Shah Microsoft VB .NET 2 16th Sep 2005 04:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:09 PM.