02 2014 档案

摘要:WebClient private string GetWebClient(string url) { string strHTML = ""; WebClient myWebClient = new WebClient(); Stream myStream = myWebClient.OpenRead(url); StreamReader sr = new StreamReader(myStream, System.Text.Encoding.GetEncoding(this.txtEncoder.Text)); strHTML = sr.ReadToEnd(); ... 阅读全文
posted @ 2014-02-13 11:34 lampon 阅读(335) 评论(0) 推荐(0)
摘要:public string Tohtml(string zifu) { string noStyle = zifu.Replace(""", "\"").Replace("<", "").Replace(""", "\"").Replace("", ""); noStyle = Regex.Replace(noStyle, @"", "& 阅读全文
posted @ 2014-02-08 16:46 lampon 阅读(2436) 评论(0) 推荐(0)