473,503 Members | 479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to manipulate a drop down list to show multiple column

I am re-writing an access application using vb.net and oracle. Access
has a drop down list that shows value 'a'. When selecting the pulldown
list, it shows
'a' | 'b' | 'c'
after selecting the row u want, it goes back to showing 'a'.

I can't get that functionality to work. I can concat the fields in my
sql statement to get the 'a' | 'b' | 'c' or I can get just 'a'. Can't
get both like it is done in access.

What is the best way to accomplish this??

Nov 19 '05 #1
2 2017
Huh?
Are you saying you dont know how to add the values to the DDL or are you
saying you arent sure how to get them out?

The helpfiles on MSDN show both decently.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"ma************@intergraph.com" wrote:
I am re-writing an access application using vb.net and oracle. Access
has a drop down list that shows value 'a'. When selecting the pulldown
list, it shows
'a' | 'b' | 'c'
after selecting the row u want, it goes back to showing 'a'.

I can't get that functionality to work. I can concat the fields in my
sql statement to get the 'a' | 'b' | 'c' or I can get just 'a'. Can't
get both like it is done in access.

What is the best way to accomplish this??

Nov 19 '05 #2
sorry for the bad explanation. I do know how to add values to the DDL
and I do know how to get the values out of the DDL. My dilema is when I
go to the page and there is a value in the DDL, lets say 'dog'. When I
click to expand the DDL, I need additional info displayed with it, lets
say, 'dog | shepherd'. I have access to the multiple fields I want to
display. I want the single value displayed when the DDL is closed up
and I want an extension to the single value displayed when it is
expanded. I can bind the data and get all the values to say 'dog' or
bind and get all of them to say 'dog | shepherd'. But, I need a
combination of both of them and I can only get one or the other.

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 19 '05 #3

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

Similar topics

4
17614
by: Therese A. Sorna | last post by:
Hello all... I am using Access 2002, and am trying to find a way for a user to be able to select multiple entries from a drop-down list. I am hoping that given a list as such: a b c d
2
9445
by: kmnotes04 | last post by:
Is it possible to link one drop-down box to another? For example, if a name is chosen from a drop-down list, can another drop-down list then automatically display the person's office as a result of...
4
1463
by: Chris Kettenbach | last post by:
Good Morning, Quick question, I have an EditItemTemplate inside a datagrid. It should contain a drop down list of possible choices. I have an EditCommandColumn. The drop dow list column should...
17
14780
by: Aussie Rules | last post by:
Hi, I want to have a single line combo box dropdown, but where i can selected multiple items in the drop down via a check box... I can see one in the standard tool box... is there one ? If...
8
7561
by: Ed Dror | last post by:
Hi there ASP.NET 2.0 VB & SQL Express Lest take Northwind Categories Products as example I create a table that hold these two together and I create a stored procedure like select ProductID,...
1
3582
by: Jeff Gardner | last post by:
Greetings: I have a table with 3 pieces of data that I would like to use to dynamically populate 3 drop downs using javascript. The fields are state, orgname, office. If it's not already...
5
18703
by: ashok893 | last post by:
I'm using two drop down list ina form. I have generated the first drop down list from MySQL database. When i select an option from first drop down list, i have to generate second drop down list...
5
12224
by: Ajith Menon | last post by:
I need to select multiple entries in the drop down list. E.g. Search a string in languages like C#, VB, Java etc. These entries are in drop down. So i need to multi select to search in multiple...
0
2013
by: sandeepsangshetty | last post by:
How do I create a drop down list which has the values from a database column. So I need this list to have values like" "Select distinct departmentname from Department" The Department name...
0
7203
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,...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.