03 2017 档案
摘要:通过HtmlAgilityPack 实现对html页面解析HtmlDocument doc = new HtmlDocument(); doc.Load(yourStream); var itemList = doc.DocumentNode.SelectNodes("//span[@class='
阅读全文
摘要:public static DateTime GetInternetDate() { var client = new TcpClient("time.nist.gov", 13); using (var streamReader = new StreamReader(client.GetStrea
阅读全文
摘要:一、在script文件夹下面添加_references.js文件夹 二、把jquery文件拖到该文件中 保存,重新打开相应的文件,即出现智能提示
阅读全文
摘要:使用模拟登录大致可以分为两步 一、post登录获取cookis public CookieContainer GetCookie(string url,string account,string password, out bool result) { CookieContainer cc = ne
阅读全文