DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us