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. Database and ASP.Net

Database and ASP.Net

Scheduled Pinned Locked Moved Web Development
csharpcssasp-netdatabasequestion
2 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.
  • L Offline
    L Offline
    Luis Barreira
    wrote on last edited by
    #1

    I have a page where I need to show some data in a chart and in a table. The chart will be generated on the fly by another aspx page, something like "", the table will be generated with a simple datagrid. Can I share the same dataset to generate the chart and populate the grid or must I use a different one for each page (querying the database twice)?

    J 1 Reply Last reply
    0
    • L Luis Barreira

      I have a page where I need to show some data in a chart and in a table. The chart will be generated on the fly by another aspx page, something like "", the table will be generated with a simple datagrid. Can I share the same dataset to generate the chart and populate the grid or must I use a different one for each page (querying the database twice)?

      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      If you store the dataset somewhere (session state or to a file) then you can share them between the two; otherwise you'll be left to querying twice. James Simplicity Rules!

      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