随笔分类 - C#学习
C#学习
摘要:一、简单介绍using System.Xml;//初始化一个xml实例XmlDocument xml=new XmlDocument();//导入指定xml文件xml.Load(path);xml.Load(HttpContext.Current.Server.MapPath("~/file/boo...
阅读全文
摘要:1 StreamWriter sw = new StreamWriter(@"d:\log.txt",true);2 sw.WriteLine(System.DateTime.Now.ToString() + " " + "This is a test message!")...
阅读全文
摘要:1 public static DataTable ToDataTable(List list) 2 { 3 DataTable result = new DataTable(); 4 if (list.Count > 0) 5...
阅读全文
浙公网安备 33010602011771号