摘要:
--批量删除表 DECLARE @Table NVARCHAR(30) DECLARE tmpCur CURSOR FOR SELECT name FROM sys.objects WHERE TYPE='U' AND name LIKE N'%_QueryLog' --删除所有含有"_QueryLog"的表 OPEN tmpCur FE... 阅读全文
摘要:
1,先加入命名空间: using System.Net.Security; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; 2,再重载CheckValidationResult方法,返回true public bool CheckValidationResu... 阅读全文
摘要:
static string get_html(string url) { var request = WebRequest.Create(url); var response = request.GetResponse(); var html = ""; using (StreamR... 阅读全文