i build a website in vb.net … i have a table process that have a begin date and end date… in the date that appropriate i want the system automatically update the data in database…
Example :
Tabel process
ProcessName || begin || End
process A || 02/02/2012 || 04/04/2012
When the current date 02/02/2012 then update table master that processName is “process A” into active and when the current date 04/04/2012 then update table master that processName is “process A” into expired.
I don’t know how to create it? is anyone know about making like that?
Simply check the status of the datetimes present in database comparing with current datetime by starting a Thread or by a Timer, and update the status also according to the datetime changes.