Question : I need to stop, then re-start, a thread in a web service using IIS

Using C# and whatever version of .NET Framework and IIS required, I need a web service to contain a thread, and enable the user to start and stop that thread using IIS.

Right now, I have a web method:
StopCommunication(string password)

which stops the thread, if you enter the correct password.  But that's a pain in the neck.  I'd rather that is stopped using IIS, by right clicking the web service and clicking Stop.

Is this possible?

I create the thread in the Application_Start belonging to the Global.asax file.

Please let me know.  I need to find out urgently...

Thanks,
newbieweb

Answer : I need to stop, then re-start, a thread in a web service using IIS

Try this:

If you want to fetch more columns, then kindly post the entire query so that we can fix it out..
1:
2:
3:
4:
SELECT tableA.seq_no, tableA.ord_dt, MAX(tableB.Coll_dt) as col1_dt
FROM tableA inner join tableB on tableA.seq_no = tableB.seq.no
WHERE tableA.ord_dt <= tableA.ord_dt
GROUP BY tableA.seq_no, tableA.ord_dt
Random Solutions  
 
programming4us programming4us