12 2008 档案

如何用.NET创建Windows服务
摘要:我们将研究如何创建一个作为Windows服务的应用程序。内容包含什么是Windows服务,如何创建、安装和调试它们。会用到System.ServiceProcess.ServiceBase命名空间的类。 什么是Windows服务? Windows服务应用程序是一种需要长期运行的应用程序,它对于服务器环境特别适合。它没有用户界面,并且也不会产生任何可视输出。任何用户消息都会被写进Window... 阅读全文

posted @ 2008-12-17 17:55 秋天 阅读(8274) 评论(0) 推荐(0) 编辑

定时器
摘要:在一个应用程序中,要制作一个在某个时间点触发时间。比如说:在每天的11:点去插入一条语句。下面是.net1.1中的示例。 Global.asax.cs using System; using System.Collections; using System.ComponentModel; using System.Web; using System.Web.SessionState; using ... 阅读全文

posted @ 2008-12-08 12:23 秋天 阅读(247) 评论(0) 推荐(0) 编辑

c#发送邮件.net1.1和.net2.0中的两个方法
摘要:.net1.1 using System.Web.Mail; 使用: SendSMTPEMail("100.100.100.100", "someone@xxx.com", "xxxx", "someone@xxx.com", "webtest", TextBox1.Text, null, null); 方法体: public void SendSMTPEMail(string strSmtpS... 阅读全文

posted @ 2008-12-02 14:48 秋天 阅读(512) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示