Hi everyone,

My page need to be automatically refresh in every 20 minutes and get the data from table and show it. This I did simply. The time is calculate from when I load my page (i.e) If I load my page at 10:25 AM then it automatically refresh at 10:45AM, but my actual requirement is It should load every 20 minutes from 10:00AM to 8:00PM in that time interval....(i.e) If I load the page at 10:25AM then it automatically refresh at 10:40AM then next 11:00AM, 11:20AM, 11:40AM.................7:40PM, 8:00PM and it stop.

How can I achieve this in my C# code or Javascript? Give me some idea pl.


Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.