|
|
|
start date: Tue, 24 Jul 2007 11:15:05 -0700,
posted on: microsoft.public.dotnet.framework.aspnet.webcontrols
back
| Thread Index |
|
1
Greg
|
|
2
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
|
Generate html table with merged cells
I need to dynamically construct a table in code (vb.net) that will
have merged cells. It should look something like this:
_____________
| | row 1 (contains an image control)
_____________
| | | | row 2 (contains an image control, data,
another image control)
_____________
| | row 3 (contains an image control)
_____________
| | | | row 4 (contains an image control, data,
another image control)
_____________
So every other row would appear as a merged cell. I've tried
specifying the rowspan property of the cell prior to adding to the row
collection, but when I do, it wacks the formatting completely. I'm
trying to display data with a rounded border around the text similar
to the way the google groups appear. Any help is appreciated.
Date:Tue, 24 Jul 2007 11:15:05 -0700
Author:
|
Re: Generate html table with merged cells
You want to set the colspan, not the rowspan.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Greg" wrote in message
news:1185300905.199070.120230@22g2000hsm.googlegroups.com...
>I need to dynamically construct a table in code (vb.net) that will
> have merged cells. It should look something like this:
>
> _____________
> | | row 1 (contains an image control)
> _____________
> | | | | row 2 (contains an image control, data,
> another image control)
> _____________
> | | row 3 (contains an image control)
> _____________
> | | | | row 4 (contains an image control, data,
> another image control)
> _____________
>
> So every other row would appear as a merged cell. I've tried
> specifying the rowspan property of the cell prior to adding to the row
> collection, but when I do, it wacks the formatting completely. I'm
> trying to display data with a rounded border around the text similar
> to the way the google groups appear. Any help is appreciated.
>
Date:Wed, 25 Jul 2007 07:18:04 -0700
Author:
|
|
|