Instead of binding your dataset to a datagrid, bind it to a repeater
control. Then in the template of the repeater you can layout everything you
want in HTML.
-pl
-----Original Message-----
From: Silas Wild [mailto:SILAS@d...]
Sent: Thursday, December 26, 2002 21:58
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.