Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. HTML Table in asp.net

HTML Table in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharphelphtmlasp-nettutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sachees123
    wrote on last edited by
    #1

    Dear All, i'm creating HTML table dynamically in ASP.NET using C#, i created that... problem is i want to use colspan in that... how to do that....? help!!!

    J B 2 Replies Last reply
    0
    • S sachees123

      Dear All, i'm creating HTML table dynamically in ASP.NET using C#, i created that... problem is i want to use colspan in that... how to do that....? help!!!

      J Offline
      J Offline
      J4amieC
      wrote on last edited by
      #2

      Assign the ColumnSpan property a value greater than 1 for the particular TableCell perhaps?

      1 Reply Last reply
      0
      • S sachees123

        Dear All, i'm creating HTML table dynamically in ASP.NET using C#, i created that... problem is i want to use colspan in that... how to do that....? help!!!

        B Offline
        B Offline
        bcozican
        wrote on last edited by
        #3

        There is a colspan property on the HtmlTableCell object. HtmlTableCell td = new HtmlTableCell(); td.ColSpan = 2; Hope this helps.

        S 1 Reply Last reply
        0
        • B bcozican

          There is a colspan property on the HtmlTableCell object. HtmlTableCell td = new HtmlTableCell(); td.ColSpan = 2; Hope this helps.

          S Offline
          S Offline
          sachees123
          wrote on last edited by
          #4

          Ya it works, thanks

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups