摘要:
【String转Array】string str = "123asd456asd789";单字符: string[] a0 = str.Split('a');多字符: string[] a1 = Regex.Split(str, @"asd"); //using System.Text.Regula 阅读全文
posted @ 2015-03-09 16:30
灰色雨逸
阅读(292)
评论(0)
推荐(0)
摘要:
简单的图片剪裁 1 using System; 2 using System.Drawing; 3 using System.Drawing.Drawing2D; 4 using System.IO; 5 6 namespace ClassLibrary 7 { 8 ///... 阅读全文
posted @ 2015-03-09 16:28
灰色雨逸
阅读(315)
评论(0)
推荐(0)
摘要:
1 using System.Net; 2 using System.Net.Mail; 3 namespace ClassLibrary 4 { 5 /// 6 /// 发送邮件 7 /// 8 public static class Eail 9 {... 阅读全文
posted @ 2015-03-09 16:27
灰色雨逸
阅读(299)
评论(0)
推荐(0)
摘要:
1 #region 生成静态页 2 /// 3 /// 生成静态页 4 /// 5 /// 要生成的页面 6 /// 保存位置 7 /// 页面名称 8 /// 9 ... 阅读全文
posted @ 2015-03-09 16:25
灰色雨逸
阅读(750)
评论(0)
推荐(0)
摘要:
增查改删代码如下 1 public void CreateXML() 2 { 3 XmlDocument xml = new XmlDocument(); 4 xml.AppendChild(xml.CreateXmlDeclarati... 阅读全文
posted @ 2015-03-09 16:22
灰色雨逸
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号