|
 |
aspx thread: Making datagrids display left-to-right instead of top-to-bottom?
Message #1 by "Oliver, Wells" <WOliver@l...> on Fri, 25 Oct 2002 13:40:37 -0700
|
|
Can you make a datagrid display the header columns to the left and the data
columns to the right?
Wells Oliver
Web Applications Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
Message #2 by =?iso-8859-1?Q?S=E6mundur_Valdimarsson?= <saemund@h...> on Mon, 28 Oct 2002 13:20:51 -0000
|
|
Try changing the RepeatDirection parameter. Example:
<asp:datalist RepeatDirection=3D"Horizontal" id=3D"mydatalist"
runat=3D"server" RepeatColumns=3D"4" DataKeyField=3D"id">
<ItemTemplate>
<a href=3D"page.aspx?id=3D<%#DataBinder.Eval(Container.DataItem,
"id")%>">Click here</a>
</ItemTemplate>
</asp:datalist>
-SV
-----Original Message-----
From: Oliver, Wells [mailto:WOliver@l...]
Sent: 25. okt=F3ber 2002 20:41
To: ASP.NET
Subject: [aspx] Making datagrids display left-to-right instead of
top-to-bottom?
Can you make a datagrid display the header columns to the left and the
data columns to the right?
Wells Oliver
Web Applications Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=3D1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=3D1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
|
|
 |