Results 1 to 2 of 2

Thread: how to show real-time data in web

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    1

    how to show real-time data in web

    I want to get real-time data from SQLSERVER database every 3 seconds and show in web page's texts.

    for examle: the table1 is refreshed every 3 seconds.

    Table1

    id values1 values2
    1 30 40
    2 50 60
    ...........................

    and there are two text-contrls in webpage. I want to let
    text1.value=30 text2.value=50, the data is changing every 3 seconds.

    thank you for your any help. I'd like to get your sourse codes , examples or suggestions.

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Maybe a client side javascript to refresh the page every 3 seconds or using <META HTTP-EQUIV="Refresh" CONTENT=3> and in the page load you read the data from the server. If you dont want the whole page to be refreshed just use an inline frame and point it to the page that needs to be refreshed every 3 seconds.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width