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. Table from two columns [modified]

Table from two columns [modified]

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

    Hi everyone, I am looking at creating a table that lists the number of records based on two columns in a view. Meaning that the two columns refer to an x and a y axis in the table and the cell should be the number of records in the view for that combination. ie if we had hair colour as an x axis and age as the y axis i would have a layout like this hair colour ----> a g e | | | ^ then each cell across would display the number of records for each hair colour at a particular age. I need to create it after a user sets a the options and parameters for the table and then clicks generate report. This page is opened up with the correct table. I have all the parameters and everything set up and being retrieved correctly i am just wondering how to display the data? ie what kind of control can i use and what kind of query will i need to populate the data...any help most aprreciateted. Cheers Cads -- modified at 10:03 Wednesday 13th June, 2007 I had a thought just now that maybe I could create this in SQL then just display it in a repeater control but again i don't know if this is possible? if someone can help I would be grateful.

    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