• 0

[ASP.NET & VB]


Question

Hi guys I have a question. I'm working on a website using asp.net and vb. I want to put a graph on the front page that updates everytime the page is refreshed. I looked into crystal reports, but Im a bit worried. I need to have make the website as if there may be a large load on it at some point. I dont think it would be good to be hitting that database so many times.

Does anyone have any suggestions? I thought maybe a text file with the data might work.

Any suggestions would be greatly appreciated! Thanks!

Link to comment
https://www.neowin.net/forum/topic/437179-aspnet-vb/
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  WildARMs said:

Hi guys I have a question. I'm working on a website using asp.net and vb. I want to put a graph on the front page that updates everytime the page is refreshed. I looked into crystal reports, but Im a bit worried. I need to have make the website as if there may be a large load on it at some point. I dont think it would be good to be hitting that database so many times.

Does anyone have any suggestions? I thought maybe a text file with the data might work.

Any suggestions would be greatly appreciated! Thanks!

Does the data the graph represents change a lot? If not, use the global cache object to cache the DataSet. In ASP.NET 2.0, you can set a database dependency on the cache, so when the database updates, the cache is invalidated and refreshed. Rebind the graph to the cached dataset on each new page load(a.k.a. Not Page.IsPostBack = True). If you're not using 2.0, you'll have to set a timed dependency on the cache to refresh it.

It may behoove you to enable ViewState on the graph so you don't rebind on every postback. If the graph is heavy and viewstate isn't an option, then rebinding on each postback should be cheap using the cached data.

Link to comment
https://www.neowin.net/forum/topic/437179-aspnet-vb/#findComment-587253993
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Samsung Galaxy Z Fold7 may not come with Galaxy S25 Ultra's camera rings by Sagar Naresh Bhavsar When Samsung launched the Galaxy S25 Ultra earlier this year, it remained in the news for its top-of-the-line premium features, but also for a couple of drawbacks. Firstly, it made headlines because Samsung removed the Bluetooth functionality from the S-Pen on the Galaxy S25 Ultra, removing one of the key features: taking remote pictures and videos. But then a jarring issue came to light. The Galaxy S25 Ultra drew attention for its camera rings falling off. Yes, the $1,300 phone featured thick camera rings that were simply glued on top of the cameras. Interestingly, the rings came off without any physical damage to the device. Now, some interesting details about the camera rings on the upcoming Galaxy Z Fold7 have popped up. According to reliable leaker IceUniverse, Samsung was quite keen on keeping the Galaxy S25 Ultra-like camera rings on the upcoming premium Galaxy Z Fold7. However, after facing a strong backlash, the company has supposedly decided to scrap them. In fact, the leaker added that the cheap-looking Saturn rings design was urgently removed from the Galaxy Z Fold7, and instead, the company is bringing back the cleaner look of the Galaxy Z Fold5. Recently, multiple images of the Galaxy Z Fold7 were leaked, which seemingly suggest the same. The foldable is expected to come in three colors: blue, silver, and black. This year's Galaxy Z Fold7 is expected to be much thinner and lighter as compared to last year's foldable. We are just a few days away from the official unveiling. The pre-reserve window is already open, and if you are interested, you can get $50 credit and up to $1,150 additional savings.
    • Loved my LG G6, the build quality was up there with the most expensive flagships. The fingerprint reader on the back made it very comfortable to use.
    • games should be $250 each, they should only be for rich people....... keep stuff from the poor and middle class!!!!!!!!
    • Completely agree, I loved the placement of the power button on the back. I didn’t accidentally press it like I do with them on the side. Many years of enjoyment with that phone.
  • Recent Achievements

    • Reacting Well
      Gromvar earned a badge
      Reacting Well
    • Dedicated
      BreakingBenjamin earned a badge
      Dedicated
    • Week One Done
      Hartej earned a badge
      Week One Done
    • One Year In
      TsunadeMama earned a badge
      One Year In
    • Week One Done
      shaheen earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      544
    2. 2
      +FloatingFatMan
      181
    3. 3
      ATLien_0
      164
    4. 4
      Skyfrog
      108
    5. 5
      Som
      103
  • Tell a friend

    Love Neowin? Tell a friend!