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. How to merge cells in a grid

How to merge cells in a grid

Scheduled Pinned Locked Moved ASP.NET
csshelptutorial
3 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.
  • M Offline
    M Offline
    metbinu2003 yahoo com
    wrote on last edited by
    #1

    Suppose I have Students' mark table. I want to display this details in grid. For each subject there is two marks. So i need to Display subject name on grid header,it must be the two cells merged,ie i have two columns corresponding to a single columv header. Pls Help urgent

    N G 2 Replies Last reply
    0
    • M metbinu2003 yahoo com

      Suppose I have Students' mark table. I want to display this details in grid. For each subject there is two marks. So i need to Display subject name on grid header,it must be the two cells merged,ie i have two columns corresponding to a single columv header. Pls Help urgent

      N Offline
      N Offline
      NeverHeardOfMe
      wrote on last edited by
      #2

      You should try searching the articles before posting questions... http://www.codeproject.com/aspnet/MergeHeader.asp[^] cheers P

      1 Reply Last reply
      0
      • M metbinu2003 yahoo com

        Suppose I have Students' mark table. I want to display this details in grid. For each subject there is two marks. So i need to Display subject name on grid header,it must be the two cells merged,ie i have two columns corresponding to a single columv header. Pls Help urgent

        G Offline
        G Offline
        goyal manish
        wrote on last edited by
        #3

        you can use template column in which you can put a table and in case of header where you want to merge the cells can use colspan and in case of data you can use two diffrent cells.

        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