I have to write a Windows Service that will check my my database for fresh request to be processed [ Screen Scraping ]. At the same time user can cancel the request using request ID. This service will run every 10 seconds.How can i set one thread to process the screen scraping another thread checking the database . if any cancel request is there , then the processing thread shoudl be stopped . How can i achieve this in one windows service.
One thread will always check the data base for new request and cancel request at every 10 seconds
another thread will process the request sequencially.
please its very urgent ....