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

J

JB

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
 
M

Mr. Arnold

JB said:
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...
 
A

Alexey Smirnov

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top