Hi,
I put a grid view in my webpage and fill it with database in connected mode. Now, I want that grid view is updated every 1 minute from database with fresh data.. How this possible?
plz reply..
Gridview in ASP.Net
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.


brunda kRank #3,804 · 389 reputationPosted May 16, 2012, 9:37 PM EDT
SenthilkumarRank #387 · 6.5K reputationPosted May 16, 2012, 9:14 PM EDT
You can do it in several ways.
1) Client side you can count and refresh the page to load the grid.
2) You can have the timer control in the server side to refresh the grid for every one minute.
3) If you are not using AJAX, you can set a META refresh tag to reload the page every 5 minutes.
similar thread has the solution:
http://forums.asp.net/t/1329636.aspx
Satyapriya NayakRank #47 · 31.5K reputationPosted May 16, 2012, 10:07 PM EDT
Please refer the below link
http://www.devcurry.com/2009/03/how-to-refresh-aspnet-gridview.html
Thanks
Gaurav GuptaRank #123 · 17.8K reputationPosted May 17, 2012, 3:01 AM EDT