PC Review


Reply
Thread Tools Rate Thread

Can web "page refresh" make the sql statemens execute?

 
 
JB
Guest
Posts: n/a
 
      26th Apr 2010
Hello Community

In my ASP.Net /C#/SQL Server application I fill my controls by executing
a query (embedded sql in the application) that selects the data from an sql
table.

What command(s) will allow me to set it up so that the the user can both
click a button and the web page refreshes the data?

And

set it up so tha the page automatically refreshes itself every 20 minutes?

Thanks
Jeff
JB
 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      27th Apr 2010
JB wrote:
> Hello Community
>
> In my ASP.Net /C#/SQL Server application I fill my controls by executing
> a query (embedded sql in the application) that selects the data from an sql
> table.
>
> What command(s) will allow me to set it up so that the the user can both
> click a button and the web page refreshes the data?


Use a button that refreshes the data in the control the page will
refresh itself on postback.......
>
> And
>
> set it up so tha the page automatically refreshes itself every 20 minutes?


Put a timer on the page and make the page redirect to itself...
 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      27th Apr 2010
On Apr 27, 12:50*am, JB <J...@discussions.microsoft.com> wrote:
> Hello Community
>
> * * In my ASP.Net /C#/SQL Server application I fill my controls by executing
> a query (embedded sql in the application) that selects the data from an sql
> table.
>
> * * What command(s) will allow me to set it up so that the the user can both
> click a button and the web page refreshes the data?
>
> And
>
> * * set it up so tha the page automatically refreshes itself every 20minutes?
>
> * * Thanks
> * * Jeff
> JB


Maybe you can tell more about what kind of data you want to load on
the page. Sounds like you need a GridView control or similar data
control.

Thanks,
 
Reply With Quote
 
Mark Rae [MVP]
Guest
Posts: n/a
 
      27th Apr 2010
"JB" <(E-Mail Removed)> wrote in message
news:EE9EDB3B-C6F6-4BDC-A477-(E-Mail Removed)...

> set it up so tha the page automatically refreshes itself every 20
> minutes?


http://www.google.co.uk/search?aq=f&...L+META+refresh


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What does "Page Load" and "Page Unload", "Page Life Cycle" exactlymean???? lander Microsoft ASP .NET 5 3rd Mar 2008 02:06 PM
Server.Transfer() to page with http-equiv="refresh" Totto Microsoft ASP .NET 2 1st Sep 2006 11:39 AM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son Microsoft Excel Programming 2 5th Mar 2006 12:20 PM
META HTTP-EQUIV="Refresh" problem on mobile aspx page Chumley Walrus Microsoft ASP .NET 1 5th Mar 2005 10:43 AM
Page does not refresh even though setting is for "every visit to the page" Jacques Windows XP Internet Explorer 1 28th Nov 2003 12:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 PM.