473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ComboBox with 2 column

I need to have 2 or more column visible in my ComboBox is there a way to do
that?

TIRislaa

Nov 20 '05 #1
4 1113
Cor
Hi Tor,

Not as real columns, the only thing you can do is before you show it connect
the display member with a MyDisplay = A & "|" & "B"

I hope this helps,

Cor
Nov 20 '05 #2
Hi,

http://www.codeproject.com/vb/net/mu...umn%7Ccombobox

Ken
--------------------------
"Tor Inge Rislaa" <to*************@rislaa.no> wrote in message
news:sp*****************@news4.e.nsc.no...
I need to have 2 or more column visible in my ComboBox is there a way to do
that?

TIRislaa

Nov 20 '05 #3
Cor
Hi Tor,

My text is a little bit to short.

Problem to tell this is that the combobox can be used on 2 different ways,
who in my eyes are different.

Filled with objects or connected to a datasource.

And what I want to say is that in both situations, the displaymember of the
combobox has first to be made as a seperate string. However when that is
from a datatable or an other collection, that can be a lot of work.

Cor

Not as real columns, the only thing you can do is before you show it connect the display member with a MyDisplay = A & "|" & "B"

Nov 20 '05 #4
* "Tor Inge Rislaa" <to*************@rislaa.no> scripsit:
I need to have 2 or more column visible in my ComboBox is there a way to do
that?


<http://www.codeproject.com/vb/net/multicolumncombo.asp>
<http://www.codeproject.com/cs/combobox/multicolumncombo.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: PeterZ | last post by:
G'day, After doing much searching and pinching bits of ideas from here there and everywhere I came up with a fairly 'clean' solution of including a comboBox into a dataGrid column. You can...
2
by: shumaker | last post by:
I have a combobox that is very much like the one found in the RSS project here: http://msdn.microsoft.com/vstudio/express/visualCSharp/learning/ My projectNameComboBox basically is filled with a...
12
by: Gerhard | last post by:
This is bizarre... Im having problems with the combobox AfterUpdate event: Im running Access 2003. I created an unbound combobox with 3 columns on a form. The Row Source is from a table....
1
by: Man4ish | last post by:
Hi, How Eventlistner can be used with rendred combo box. I got one example of combobox in table as follows . /* * Copyright (c) 1995 - 2008 Sun Microsystems, Inc. All rights reserved. * ...
2
by: harichinna | last post by:
Hi to all, My name is hari, iam trying to delete the column value of spread sheet using c sharp, iam trying to get the value and compare, when comparing it showing some errors, can any one help...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.