ASP.NET ComboBox - Get Values from Multiple Columns
ID
COMPANY NAME
CITY
Exotic Liquidss
1
Exotic Liquidss
London
1
New Orleans Cajun Delights
2
New Orleans Cajun Delights
New Orleans
2
222
3
222
Ann Arbor
3
Tokyo Traders111
4
Tokyo Traders111
Tokyo
4
Cooperativa de Quesos 'Las Cabras'
5
Cooperativa de Quesos 'Las Cabras'
Oviedo
5
Mayumi's
6
Mayumi's
Osaka
6
Pavlova, Ltd.
7
Pavlova, Ltd.
Melbourne
7
Specialty Biscuits, Ltd.
8
Specialty Biscuits, Ltd.
Manchester
8
PB Knäckebröd AB
9
PB Knäckebröd AB
Göteborg
9
Refrescos Americanas LTDA
10
Refrescos Americanas LTDA
São Paulo
10
Heli Süßwaren GmbH & Co. KG
11
Heli Süßwaren GmbH & Co. KG
Berlin
11
Plutzer Lebensmittelgromrkte AG
12
Plutzer Lebensmittelgromrkte AG
Frankfurt
12
Nord-Ost-Fisch Handelsgesellschaft mbH
13
Nord-Ost-Fisch Handelsgesellschaft mbH
Cuxhaven
13
Formaggi Fortini s.r.l.
14
Formaggi Fortini s.r.l.
Ravenna
14
Norske Meierier
15
Norske Meierier
Sandvika
15
Bigfoot Breweries
16
Bigfoot Breweries
Bend
16
Svensk Sjfda AB
17
Svensk Sjfda AB
Stockholm
17
Aux joyeux ecclésiastiques
18
Aux joyeux ecclésiastiques
Paris
18
New England Seafood Cannery
19
New England Seafood Cannery
Boston
19
Leka Trading
20
Leka Trading
Singapore
20
Lyngbysild
21
Lyngbysild
Lyngby
21
Zaanse Snoepfabriek
22
Zaanse Snoepfabriek
Zaandam
22
Karkki Oy
23
Karkki Oy
Lappeenranta
23
G'day, Mate
24
G'day, Mate
Sydney
24
Ma Maison
25
Ma Maison
Montréal
25
Pasta Buttini s.r.l.
26
Pasta Buttini s.r.l.
Salerno
26
Escargots Nouveaux
27
Escargots Nouveaux
Montceau
27
Gai pâturage
28
Gai pâturage
Annecy
28
Forts d'rables
29
Forts d'rables
Ste-Hyacinthe
29
Some company
30
Some company
30
test2
42
test2
42
test
43
test
43
abc
45
abc
45
Displaying 33 items.
In order to be able to access the data from the template at runtime,
you need to use Literal controls to hold the data that needs to be accessed.
In the
ComboBox1_SelectedIndexChanged
event handler, you'll be able
to access the data stored in the Literal controls.
« Back to examples