...

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



tbarbedo
09-13-2009, 01: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!

Mike_O
09-13-2009, 04: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

Regards,
Mike



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum