C#.NET最佳做法...请帮助! [英] C# .NET Best Practices...please help!

查看:81
本文介绍了C#.NET最佳做法...请帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些有关如何执行需要执行的特定任务的指导...

我有一个数据库表,其中包含用户对excel电子表格的请求.

在该表中有一个状态列,该状态列指示请求所处的步骤.

我需要编写某种类型的服务,该服务将能够继续检查该请求.该表的状态列.

当发现包含所要查找状态的记录时,应从记录中提取数据并调用另一个创建excel电子表格的应用程序.

(注意:我编写了一个程序,其中包含一个创建excel电子表格并将其保存到本地硬盘的类.所有这些都将托管在同一服务器上)

预先感谢! ="h2_lin">解决方案

您说您已经编写了创建Excel工作表的程序.您还需要什么?

编写Windows服务时遇到问题吗?然后,请参见本文.
在从excel检索信息时遇到问题吗?然后,请参见 Excel自动化.


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!

解决方案

You say you already wrote a program that creates the excel sheet. What else do you need?

Are you having problems writing a Windows Service? Then see this article.
Are you having problems retrieving information from excel? Then see Excel automation.


这篇关于C#.NET最佳做法...请帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆