会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
心随风而逝
博客园
首页
新随笔
联系
订阅
管理
2016年5月16日
.net MVC中JsonResult 返回类
摘要: 示例:
阅读全文
posted @ 2016-05-16 14:00 心随风而逝
阅读(1069)
评论(0)
推荐(0)
2015年11月10日
获取XML配置数据
摘要: XML结构: /// /// 获取到xml数据集中所需节点数据 /// /// /// /// public List> GetXMLData(string Path,string NodeName) { List> listLMont = new Lis...
阅读全文
posted @ 2015-11-10 10:13 心随风而逝
阅读(348)
评论(0)
推荐(0)
2013年11月18日
.net System.Net.Mail 之用SmtpClient发送邮件 Demo
摘要: private static bool sendMail() { try { //接收人邮箱 string SendTo = "XXXXX@163.com"; //抄送人邮箱 string SendCC = "YYYYY@163.com"; MailMessage message = new MailMessage(); //发送人邮箱 ...
阅读全文
posted @ 2013-11-18 17:27 心随风而逝
阅读(528)
评论(0)
推荐(0)
.net中判断该应用程序是否已经启动,防止重复启动,监控程序启动是否正常
摘要: //获取配置文件中的需要监控项private static string MonitorServe = ConfigurationSettings.AppSettings["MonitorServe"]; static void Main(string[] args) { StartMonitor(); } /// /// 开启监控 /// private static void StartMonitor() { int Proceed...
阅读全文
posted @ 2013-11-18 10:47 心随风而逝
阅读(747)
评论(4)
推荐(0)
公告