Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: how to display data in label like format?


Message #1 by "Silas Wild" <SILAS@d...> on Thu, 26 Dec 2002 18:58:15 -0800
Newbie question:
I'm working throught Beginning ASP.NET Databases using VB.NET (Wrox
Press), would like to display the Northwind Employees in bunches of 10
(like p181-2) but in a label like format rather than one employee per
row.  So, for example:

Fn1 Ln1
Address1
City1, State1 Zip1

Fn2 Ln2
Address2
City2, State2 Zip2

...

Can anyone point me to an example of that?  Maybe I have to create a
custom control for the format and refer to it instead of a DataGrid?  Or
is the DataGrid more flexible than the examples I've seen so far?  TIA.

Message #2 by "Lewis Bass" <lewis@t...> on Mon, 30 Dec 2002 07:39:03 -0800
Use a template column and stack the html

-----Original Message-----
From: Silas Wild [mailto:SILAS@d...]
Sent: Thursday, December 26, 2002 6:58 PM
To: ASP.NET
Subject: [aspx] how to display data in label like format?


Newbie question:
I'm working throught Beginning ASP.NET Databases using VB.NET (Wrox
Press), would like to display the Northwind Employees in bunches of 10
(like p181-2) but in a label like format rather than one employee per
row.  So, for example:

Fn1 Ln1
Address1
City1, State1 Zip1

Fn2 Ln2
Address2
City2, State2 Zip2

...

Can anyone point me to an example of that?  Maybe I have to create a
custom control for the format and refer to it instead of a DataGrid?  Or
is the DataGrid more flexible than the examples I've seen so far?  TIA.




  Return to Index