摘要: 在c#的项目中,常常需要添加邮件发送的功能,邮件发送时的模板往往不是一成不变的,是需要根据case的不同来确定不同内容的邮件,发送给不同的对象,这里分享一种邮件模板处理的方式,仅供参考(邮件发送的函数参考http://www.cnblogs.com/dannyli/archive/2011/08/23/2150229.html)1.邮件模板(红色部分是需要根据case来确定的)2.模板处理类/*============================================================= * Template 处理 * Author : Danny,Li * E-m 阅读全文
posted @ 2011-08-23 10:26 DannyLi 阅读(2584) 评论(2) 推荐(3) 编辑
摘要: 在C#中通过SMTP服务器发送邮件,几个常用的函数/*============================================================= * Send Mail Helper * Author : Danny,Li * E-mail : xing.dong.li@163.com * Edition: V-101014 *=============================================================*/using System;using System.Collections.Generic;using Syst 阅读全文
posted @ 2011-08-23 10:06 DannyLi 阅读(1569) 评论(0) 推荐(1) 编辑
摘要: C#中常用的字符串处理函数,仅供参考/*============================================================= * 常用的字符串处理 * Author : Danny,Li * E-mail : xing.dong.li@163.com * Edition: V-101014 *=============================================================*/using System;using System.Collections.Generic;using System.Text;namespa 阅读全文
posted @ 2011-08-23 10:03 DannyLi 阅读(873) 评论(0) 推荐(0) 编辑
摘要: ASP.NET项目中,常用来处理Excel导出功能的几个简单方法,仅供参考:/*============================================================= * Report Excel Helper * Author : Danny,Li * E-mail : xing.dong.li@163.com * Edition: V-101014 *=============================================================*/using System;using System.Collections.Ge 阅读全文
posted @ 2011-08-23 10:00 DannyLi 阅读(474) 评论(0) 推荐(0) 编辑
摘要: /*============================================================= * 一些常用的 Javascript * Author : Danny,Li * E-mail : xing.dong.li@163.com * Edition: V-101014 *=============================================================*/using System;using System.Collections.Generic;using System.Text;using System.Web. 阅读全文
posted @ 2011-08-23 09:56 DannyLi 阅读(483) 评论(0) 推荐(0) 编辑