摘要: 这是一条测试信息……..使用Word发布博客设置步骤:选择左上角的按钮,选择发布>博客。点击“管理帐户”,在帐户管理窗口中选择“新建”,在博客服务商中选择“其他”。在API中选择MetaWeblog。在博客文章URL中博客园的MetaWeblog访问地址,格式为:http://www.cnblogs.com/{你的Blog名}/services/metaweblog.aspx。在用户名与密码中与中输入你的Blog用户名与密码。完成上述设置就可以通过Word 2007发布向博客发布文章和图片了。 阅读全文
posted @ 2011-06-13 11:25 很久以前我就知道博客园的昵称可以很长很长很长很长 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 将DataTable对象转换成XML字符串 1 /// <summary> 2 /// 将DataTable对象转换成XML字符串 3 /// </summary> 4 /// <param name="xmlDT">DataTable对象</param> 5 /// <returns>XML字符串</returns> 6 private string ConvertDataTableToXML(DataTable xmlDT) 7 { 8 MemoryStream stream = null; 9 X 阅读全文
posted @ 2011-06-13 11:07 很久以前我就知道博客园的昵称可以很长很长很长很长 阅读(944) 评论(0) 推荐(2) 编辑
摘要: 1 /// <summary> 2 /// 随机排列字符串 3 /// </summary> 4 /// <param name="sNumber">需要排列的字符串</param> 5 /// <returns>排列后的字符串</returns> 6 public static string ArrangeNumber(string sNumber) 7 { 8 int len = sNumber.Length; 9 char[] A = new char[len];10 char[] B = new 阅读全文
posted @ 2011-06-13 10:57 很久以前我就知道博客园的昵称可以很长很长很长很长 阅读(390) 评论(1) 推荐(1) 编辑
摘要: SessionManager.csCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 using System.Web; 2 3 public class SessionManager<T> 4 { 5 public static T GetSessionObject(string key) 6 { 7 object obj = HttpContext.Current.Session[key]; 8 if (obj == nul 阅读全文
posted @ 2010-09-16 08:41 很久以前我就知道博客园的昵称可以很长很长很长很长 阅读(1548) 评论(0) 推荐(0) 编辑