Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Timer to poll database????


Message #1 by "Dale Purdon" <dale@t...> on Fri, 14 Feb 2003 09:33:14 +0200
Hey all,
 
Just to let you know, I'm fairly new to this list..good to be here.
 
My problem:
 
I have a web form with a datagrid. In my page load event, I select a
recordset from a SQL server db and bind this to my datagrid. This all
works fine. Now, what I need to do is..I would like this datagrid to
'refresh' and requery the data every 1 second or so. Would I set my page
to 'autorefresh' some how? I want to use the Timer  control, could
someone pleeeeeez inform me as how to go about my task. I don't
understand how it is possible to make use of the timer control to call
the server over and over, because you would have to have something
firing on the client side, however the timer control runs at the server
(as far as I know)...please inform me.
 
Thanks


  Return to Index