I am using an ASP.NET web form and I have two fields Start_date
and End_date
in it.
I want to update a particular field in SQLServer once when the time goes beyond the End_date
(i.e. the deadline is expired).
e.g. if the End_date
is on 06/09/2015, then the SQLServer field should be updated as Expired
at 12.01 AM on 06/10/2015.
I am new to ASP.NET and please let me know if you have any ideas. Thank you
There are way too many ways to do such thing. I.e:
Those three are probably the most often used.
Anyways, it's always about some scheduler and some job to do periodicaly. Think how to write one "run" of the job (find expired, mark/delete them), then read about what schedulers you can use, then glue it together and configure the scheduler and done.