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. Multi-Column List

Multi-Column List

Scheduled Pinned Locked Moved ASP.NET
helptutorial
4 Posts 2 Posters 1 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.
  • G Offline
    G Offline
    Gymnast
    wrote on last edited by
    #1

    I would like to populate a listview with fields from a table, but with data that does not exist yet... Here is an example... 1. DropDown list allows for selecting a Location 2. Selected Location displays the seats available in the location. 3. Each seat in the location is a column in the new table. 4. Each record in the table shows the reservation/availability status for each of the seats in the location. (The reservation is for a time slot of 2 hours). Seat 1 Seat 2 9:00AM -- Filled Filled 11:00 AM -- Filled Available 1:00PM -- Available Available 3;00PM -- Filled Filled and so on.. What I don't have is a table with 9:00AM, 11:00AM.. slots. Any help with this is appreciated Thanks ASU Gymnast

    S 1 Reply Last reply
    0
    • G Gymnast

      I would like to populate a listview with fields from a table, but with data that does not exist yet... Here is an example... 1. DropDown list allows for selecting a Location 2. Selected Location displays the seats available in the location. 3. Each seat in the location is a column in the new table. 4. Each record in the table shows the reservation/availability status for each of the seats in the location. (The reservation is for a time slot of 2 hours). Seat 1 Seat 2 9:00AM -- Filled Filled 11:00 AM -- Filled Available 1:00PM -- Available Available 3;00PM -- Filled Filled and so on.. What I don't have is a table with 9:00AM, 11:00AM.. slots. Any help with this is appreciated Thanks ASU Gymnast

      S Offline
      S Offline
      Shujaat Ullah Khan
      wrote on last edited by
      #2

      you can add this set programatically to your dataset/table which you are using as dataSource

      Shujaat

      G 1 Reply Last reply
      0
      • S Shujaat Ullah Khan

        you can add this set programatically to your dataset/table which you are using as dataSource

        Shujaat

        G Offline
        G Offline
        Gymnast
        wrote on last edited by
        #3

        Thank you for getting back.. I am currently using a table that only contains the reserved slots for each seat in a location and not the status of availability for each available slot (every 2 hours). For example, if a seat is reserved for 9:00AM and 1:00PM in a given location on a given date, that is all the information the reference table currently contains. It does not contain any information about what the seat status is at, say, 11:00AM or 3:00PM, 5:00PM, etc. What I am looking for is a way to populate a table or a list with this kind of extended information. can you think of an easy way? Thanks, ASU Gymnast

        S 1 Reply Last reply
        0
        • G Gymnast

          Thank you for getting back.. I am currently using a table that only contains the reserved slots for each seat in a location and not the status of availability for each available slot (every 2 hours). For example, if a seat is reserved for 9:00AM and 1:00PM in a given location on a given date, that is all the information the reference table currently contains. It does not contain any information about what the seat status is at, say, 11:00AM or 3:00PM, 5:00PM, etc. What I am looking for is a way to populate a table or a list with this kind of extended information. can you think of an easy way? Thanks, ASU Gymnast

          S Offline
          S Offline
          Shujaat Ullah Khan
          wrote on last edited by
          #4

          The easiest way is that you maintain all these slots in your table. The other work around is that you can take list fill it with the items of reserved slots and then add all remaining slots with free status.

          Shujaat

          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