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..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
brunda kPosted May 17, 2012, 1:37 AM
Gaurav GuptaPosted May 17, 2012, 7:01 AM
Satyapriya NayakPosted May 17, 2012, 2:07 AM
Please refer the below link
http://www.devcurry.com/2009/03/how-to-refresh-aspnet-gridview.html
Thanks
SenthilkumarPosted May 17, 2012, 1:14 AM
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