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. Grouped Data in Repeater

Grouped Data in Repeater

Scheduled Pinned Locked Moved ASP.NET
4 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.
  • V Offline
    V Offline
    VK Link
    wrote on last edited by
    #1

    Hi, Is is possible to use the repeater qwb control to display grouped data like GroupA Person1 Person2 Person3 GroupB Person7 Person8 Many thanks for your time.

    C 1 Reply Last reply
    0
    • V VK Link

      Hi, Is is possible to use the repeater qwb control to display grouped data like GroupA Person1 Person2 Person3 GroupB Person7 Person8 Many thanks for your time.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      How is your data coming in ? The repeater won't group anything for you, but I've written controls that do this, they get data with a group column, and every time the value in the colum changes, then insert a row with the group name on it and a different background colour. Christian Graus - Microsoft MVP - C++

      V 1 Reply Last reply
      0
      • C Christian Graus

        How is your data coming in ? The repeater won't group anything for you, but I've written controls that do this, they get data with a group column, and every time the value in the colum changes, then insert a row with the group name on it and a different background colour. Christian Graus - Microsoft MVP - C++

        V Offline
        V Offline
        VK Link
        wrote on last edited by
        #3

        I am using an sql statement with GROUP BY Clause in it. Would this make a difference? How about if we use a datalist? Thanks. Vani

        C 1 Reply Last reply
        0
        • V VK Link

          I am using an sql statement with GROUP BY Clause in it. Would this make a difference? How about if we use a datalist? Thanks. Vani

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          VK-Link wrote: I am using an sql statement with GROUP BY Clause in it. Then you only have one row for each item anyhow. VK-Link wrote: How about if we use a datalist? It's possible I was actually using as DataGrid, I don't recall. Whatever, none of these controls will do the groupby behaviour that you want by themselves. Christian Graus - Microsoft MVP - C++

          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