How to Refresh Content Page?

In some website when data base value change then changes are occur in Pages.

I am search lots of link for refresh content page.

when Meta tag are used then all pages in website are refresh.

I used only one line of code.

Response.AddHeader("Refresh", "10");

this is a line code.
In Addheader two arguments are there.
One is Refresh and second is value in seconds means after how many seconds your page will be refresh.

I hope this one line of code will use in many places.

Related Articles

How to Avoid Re-Submitting Data on Page Refresh?

In this article. I will explain how to prevent re-submitting data on browser page reload or refresh in your asp.Net webform using C#. Sometimes we have some web pages through which we submit some user data to the database one after another on the same page. But the problem is, when we submit one user data and then refresh/reload our browser, what happens? The previously submitted data is re-submitted to the database. Here i am going to tell you how to prevent that.

More articles: Reload page Refresh page Refresh page content


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: