Use Repeater or DataList?
From: Scott (Scott_at_discussions.microsoft.com)
Date: 02/15/05
- Next message: Steve C. Orr [MVP, MCSD]: "Re: Passing value between pages"
- Previous message: gkr: "Re: Passing value between pages"
- Next in thread: Eliyahu Goldin: "Re: Use Repeater or DataList?"
- Reply: Eliyahu Goldin: "Re: Use Repeater or DataList?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Feb 2005 15:47:02 -0800
I'm trying to display a table of my company's departments in a 3 column
format with alternating row colors. The department names are being pulled
from a database in alphabetical order. I want to order the depts in
alphabetical order going from left to right in columns of 3 like:
DeptA DeptB DeptC -- light colored row
DeptD DeptE DeptF -- dark colored row
I've figured out how to get the Depts. to display in the order I need them
to using a DataList, but I'm having trouble getting the rows to alternate
colors. Can I get the DataList to do what I need to or am I better off
looking into using a Repeater?
Any advice/code samples are appreciated. Thanks!
- Next message: Steve C. Orr [MVP, MCSD]: "Re: Passing value between pages"
- Previous message: gkr: "Re: Passing value between pages"
- Next in thread: Eliyahu Goldin: "Re: Use Repeater or DataList?"
- Reply: Eliyahu Goldin: "Re: Use Repeater or DataList?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|