css selector

  • Thread starter Thread starter rodchar
  • Start date Start date
R

rodchar

hey all,
if i have a cssclass for my table row is there anyway to select a particular
column to style without having to assign each tablecell a cssclass?

thanks,
rodchar
 
How is the table created?

If you are using a GridView, you can explicitly state your columns and add
styling to a particular column. In fact, it is quite easy to do this with
any bindable control.

If you are bindign, but not using a GridView, a Repeater allows you a lot of
flexibility, as it is essentially repeating HTML.

If you are building a table by scratch, you can use some tools (VS 2008
should allow you to select a column, I know there are other HTML editors
that will), but it is not as easy programatically.

Hope this helps.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
thanks for the insight,
rod.

Cowboy (Gregory A. Beamer) said:
How is the table created?

If you are using a GridView, you can explicitly state your columns and add
styling to a particular column. In fact, it is quite easy to do this with
any bindable control.

If you are bindign, but not using a GridView, a Repeater allows you a lot of
flexibility, as it is essentially repeating HTML.

If you are building a table by scratch, you can use some tools (VS 2008
should allow you to select a column, I know there are other HTML editors
that will), but it is not as easy programatically.

Hope this helps.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
Back
Top