I have a page created in ASP.NET with a login page. I have made an option to activate something after logging in. This value is by default set to "False" in SQL database. When the user clicks on activate button then this column is updated to "True" using a query in C#.
My problem is that after updating the value to "True", after 1 hour this column should be automatically updated as "False" even if the user is logged in or not. How can I do this using C# and SQL?