|
-
Dec 22nd, 2003, 11:58 AM
#1
Thread Starter
Hyperactive Member
real time data..how to refresh every once in a second
I have about 20 text boxes on a web form and the data source is a oracle table. the content in the table changes every once in a second. So I need to refresh the contents on the web form every once in a second. How can I achieve this?
thank you
nath
-
Dec 22nd, 2003, 09:08 PM
#2
PowerPoster
You would need to implement something other than static html. Maybe use a java applet like some games use? Every second refreshing the page would be a pain in the ass for the user.
-
Dec 22nd, 2003, 10:52 PM
#3
It may be better to have a windows application that interfaces via the web (web services or remoting).
-
Dec 23rd, 2003, 02:46 AM
#4
Junior Member
I don't know about "how-to" refresh directly within the oracle, but I think you can use this trick for your aspx page :
HTML :
Code:
<script language="javascript">
setTimeout('location.href ="Default.aspx"',1000);
</script>
Code Behind :
Code:
Response.Cache.SetExpires(DateTime.Now.AddSeconds(1))
-
Dec 23rd, 2003, 11:55 AM
#5
PowerPoster
You can do it, but it will be horrible for the user, look into a java applet or something if it has to be real time from the web, if it can be a user app, then yes, what edneeis said, windows app.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|