03 2017 档案

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

点击右上角即可分享
微信分享提示