PC Review


Reply
Thread Tools Rate Thread

ComboBx Displaymember Problem

 
 
=?Utf-8?B?Q2hlcmlmIERpYWxsbw==?=
Guest
Posts: n/a
 
      3rd Feb 2005
Hi


I created my own combo control by inheriting the
system.windows.forms.combobox control and adding some extra properties.
I have two (2) issues:

1. For some raison when I set up the DisplayMember Property to the
“Something” it turn it self back to empty string “” and Don’t know what am I
doing wrong.
2. Also I would like to be able to manage what is displayed on the textbox
part of my combobox i.e. concatenating 2 or more fields of a bounded
datatable.

Does anyone know what function or sub of the system.windows.forms.combobox
should I override to handle what is displayed on the text portion of my
control when the selected Item changes.

Thanks for your help.


Cherif Diallo

 
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
Problem with combobox and displayMember property with datasource. fedrok Microsoft VB .NET 2 8th Jun 2008 08:50 AM
Listbox DisplayMember Problem =?Utf-8?B?TWFzdGVyQmxhc3Rlcg==?= Microsoft Dot NET Framework Forms 2 27th Jul 2005 08:45 AM
combobx help! picric Microsoft Excel Programming 1 16th Sep 2004 07:16 PM
DisplayMember and DataRelation problem Sbastien Microsoft ADO .NET 1 28th Jan 2004 10:24 PM
LstBox DisplayMember Problem Marcos Ribeiro Microsoft VB .NET 1 24th Aug 2003 07:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:33 PM.