ASP.NET Grid - Using more columns in the same Template

ID
COMPANY NAME
COMPANY ADDRESS
CITY
COUNTRY
HAS WEBSITE
 
 
 
 
 
 
1
Exotic Liquidss
49 Gilbert St., London, United Kingdom
49 Gilbert St.
London
United Kingdom
no
false
2
New Orleans Cajun Delights
P.O. Box 78934, New Orleans, United States
P.O. Box  78934
New Orleans
United States
no
false
3
222
707 Oxford Rd.2, Ann Arbor, Thailand
707 Oxford Rd.2
Ann Arbor
Thailand
yes
true
4
Tokyo Traders111
9-8 Sekimai Musashino-shi, Tokyo, Canada
9-8 Sekimai Musashino-shi
Tokyo
Canada
yes
true
5
Cooperativa de Quesos 'Las Cabras'
Calle del Rosal 4 , Oviedo, Australia
Calle del Rosal 4
Oviedo
Australia
yes
true
6
Mayumi's
92 Setsuko Chuo-ku, Osaka, Japan
92 Setsuko Chuo-ku
Osaka
Japan
yes
true
7
Pavlova, Ltd.
74 Rose St. Moonie Ponds, Melbourne, Singapore
74 Rose St. Moonie Ponds
Melbourne
Singapore
yes
true
8
Specialty Biscuits, Ltd.
29 King's Way, Manchester, Finland
29 King's Way
Manchester
Finland
yes
true
9
PB Knäckebröd AB
Kaloadagatan 13, Göteborg, Sweden
Kaloadagatan 13
Göteborg
Sweden
no
false
10
Refrescos Americanas LTDA
Av. das Americanas 12.890, São Paulo, Brazil
Av. das Americanas 12.890
São Paulo
Brazil
no
false
 
 
 
Records per page:
1
|
2
|
3
|
4
Records: 1 - 10 of 32 - Pages: 



Use the Container.DataItem object to access the values from more columns in the same Template.

In this example, the "COMPANY ADDRESS" column contains the values from the "Address", "City" and "Country" columns.



« Back to examples