PC Review


Reply
Thread Tools Rate Thread

DisplayMember property with multiples columns

 
 
schuelter@gmail.com
Guest
Posts: n/a
 
      16th Nov 2006
Hi all !!

I'm trying to display more than one column in DisplayMember property of
a ComboBox control. Is it possible?
I alson can't concatenate the coluns in the select command, becouse I'm
using this command for the DataSource:
this.lstTables.DataSource = con.GetSchema("Tables");

I hope you can help me.

Regards,
Eduardo Schuelter

 
Reply With Quote
 
 
 
 
Eric Moreau
Guest
Posts: n/a
 
      16th Nov 2006
See an article I wrote in February 2005 from http://emoreau.s2i.com/

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
S2i web inc. (www.s2i.com)
http://emoreau.s2i.com/

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all !!
>
> I'm trying to display more than one column in DisplayMember property of
> a ComboBox control. Is it possible?
> I alson can't concatenate the coluns in the select command, becouse I'm
> using this command for the DataSource:
> this.lstTables.DataSource = con.GetSchema("Tables");
>
> I hope you can help me.
>
> Regards,
> Eduardo Schuelter
>



 
Reply With Quote
 
schuelter@gmail.com
Guest
Posts: n/a
 
      16th Nov 2006
Hi... you almost get it... very good article... but it only display
multiple columns when you open it...
But I think ComboBoxes are realy limitated... and there isn't a way to
do this without "customizing" the component.

Thanks a lot !!

Eric Moreau escreveu:

> See an article I wrote in February 2005 from http://emoreau.s2i.com/
>
> --
>
>
> HTH
>
> Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
> Conseiller Principal / Senior Consultant
> S2i web inc. (www.s2i.com)
> http://emoreau.s2i.com/
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi all !!
> >
> > I'm trying to display more than one column in DisplayMember property of
> > a ComboBox control. Is it possible?
> > I alson can't concatenate the coluns in the select command, becouse I'm
> > using this command for the DataSource:
> > this.lstTables.DataSource = con.GetSchema("Tables");
> >
> > I hope you can help me.
> >
> > Regards,
> > Eduardo Schuelter
> >


 
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 property requires just one field? OldPro Microsoft VB .NET 1 27th Jul 2007 08:29 PM
DisplayMember property of ListBox control Sammy Microsoft C# .NET 0 13th Nov 2005 11:25 AM
DisplayMember property of a ComboBox David Microsoft C# .NET 1 14th Feb 2004 05:58 PM
ListBox DataSource DisplayMember Property Problems Irwin M. Fletcher Microsoft C# .NET 1 20th Aug 2003 11:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:54 PM.