View Full Version : C# .NET Best Practices...please help!

09-13-2009, 02:23 AM
I am in need of some guidance of how to carry out a specific task I need to perform...

I have a database table that contains requests made by users for excel spreadsheets.

In that table there is a status column which indicates the step the request is in.

I need to write a service of some sort that will be able to keep checking the status column of that table.

When it finds a record that contains the status it is looking for, it should pull the data from the record and call another application which creates the excel spreadsheet.

(NOTE: I have written a program that contains a class which creates an excel spreadsheet and saves it to the local hard drive. All of this will be hosted on the same server)

Thanks in advance!

09-13-2009, 05:01 AM
Hey tbarbedo,

It sounds like you need a Windows Service. This is one of those things(amongst many others) that Visual Studio makes easier to achieve. Here's a link to get you started: http://msdn.microsoft.com/en-us/library/d56de412(VS.80).aspx