每个星期六发送自动邮件给所有未使用C#,ASP.NET进行过培训的员工 [英] Send auto mail to all employee on every saturday who have not done training using C #, ASP.NET

查看:67
本文介绍了每个星期六发送自动邮件给所有未使用C#,ASP.NET进行过培训的员工的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我想设计一个门户网站,我想向那些没有接受过培训的员工发送一个自动邮件。该数据以Excel格式存储。 Plz帮帮我....



邮件将在每个星期五发送。在每个星期五,它将检查员工并发送给那些没有参加培训的人。



谢谢你!

Hello,

I want to desigh web portal in which , i want to send an automail to the employees who haven;t done training . This data is stored in Excel format. Plz help me out ....

The mail will be send on every friday . On every friday it will check for the employees and send to those who haven''t attended training.

Thank YOU !!

推荐答案

使用以下步骤



1.创建一个Windows服务应用程序。



2.读取Excel工作表数据并将其绑定到数据集。



3.用户foreach循环遍历数据集的每一行。



4.如果员工没有参加培训,请发送电子邮件。



5.周五安排Windows服务使用控制面板中的调度任务
Use below steps

1. Create a windows service application.

2. Read the excel sheet data and bind it to dataset.

3. User foreach loop to go through each row of a dataset.

4. if an employee was not attended training, then send an email.

5. Schedule the windows service on Friday on a specific time by using schedular task present in control panel


这篇关于每个星期六发送自动邮件给所有未使用C#,ASP.NET进行过培训的员工的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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