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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Multiple Row Data Display DataGrid

Multiple Row Data Display DataGrid

Scheduled Pinned Locked Moved ASP.NET
3 Posts 2 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
    Madaka
    wrote on last edited by
    #1

    Hi, I am facing one problam to show data in DataGrid. I want to display one column as Top and remaining 4 columns as bottom. like AndhraPradesh Hyderabad 23 23 23 Vizag 23 23 23 Karnataka Banglore 23 23 23 Mangalor 45 45 45 TamilNadu Chennai 23 23 23 Coimbatore 57 56 45 Please Give me solution Thanks Madaka

    L 1 Reply Last reply
    0
    • M Madaka

      Hi, I am facing one problam to show data in DataGrid. I want to display one column as Top and remaining 4 columns as bottom. like AndhraPradesh Hyderabad 23 23 23 Vizag 23 23 23 Karnataka Banglore 23 23 23 Mangalor 45 45 45 TamilNadu Chennai 23 23 23 Coimbatore 57 56 45 Please Give me solution Thanks Madaka

      L Offline
      L Offline
      leckey 0
      wrote on last edited by
      #2

      You could use template columns to create a master/detail datagrid. That could give you in column 1, the name, and in column 2, multiple rows dealing with that one person Column 1 Column 2 Joe Smith Field 1 Field 2 Field 3 Jane Doe Field 1 Field 2 Field 3 But I don't know if you can set it up where the name only is a row, then the detail data is a separate row. If the way I showed above is okay for you, let me know and I can help you get started.

      M 1 Reply Last reply
      0
      • L leckey 0

        You could use template columns to create a master/detail datagrid. That could give you in column 1, the name, and in column 2, multiple rows dealing with that one person Column 1 Column 2 Joe Smith Field 1 Field 2 Field 3 Jane Doe Field 1 Field 2 Field 3 But I don't know if you can set it up where the name only is a row, then the detail data is a separate row. If the way I showed above is okay for you, let me know and I can help you get started.

        M Offline
        M Offline
        Madaka
        wrote on last edited by
        #3

        Thanks for ur replay exactly what u tell is the correct, Please help me for this Thanks madaka

        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