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. General Programming
  3. C#
  4. Webform and refresh

Webform and refresh

Scheduled Pinned Locked Moved C#
helpcssdatabase
3 Posts 3 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
    Saamir
    wrote on last edited by
    #1

    Hi guys! I am very new to web programming and I desperately need your help. I have created a webform with a grid that pulls data from the database on a daily basis, today's data is different from tomorrows data. Here is my problem if I open the form today it will pull the data and then if I open it tomorrow unless I hit the refresh button it still pulls "Yesterday" data. Is there something I am missing that would refresh the form on load everytime. Please help!!

    Sameer

    V L 2 Replies Last reply
    0
    • S Saamir

      Hi guys! I am very new to web programming and I desperately need your help. I have created a webform with a grid that pulls data from the database on a daily basis, today's data is different from tomorrows data. Here is my problem if I open the form today it will pull the data and then if I open it tomorrow unless I hit the refresh button it still pulls "Yesterday" data. Is there something I am missing that would refresh the form on load everytime. Please help!!

      Sameer

      V Offline
      V Offline
      vaghelabhavesh
      wrote on last edited by
      #2

      Not sure how you are passing the date from UI to underlaying database layer, but you should verify that you are passing the correct date by debugging.

      1 Reply Last reply
      0
      • S Saamir

        Hi guys! I am very new to web programming and I desperately need your help. I have created a webform with a grid that pulls data from the database on a daily basis, today's data is different from tomorrows data. Here is my problem if I open the form today it will pull the data and then if I open it tomorrow unless I hit the refresh button it still pulls "Yesterday" data. Is there something I am missing that would refresh the form on load everytime. Please help!!

        Sameer

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Saamir wrote:

        Is there something I am missing that would refresh the form on load everytime.

        How about the form's load event, or maybe a timer

        Check out the CodeProject forum Guidelines[^]

        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