摘要:
--服务器级权限 WITH CTE AS ( SELECT u.name AS 用户名, u.is_disabled AS 是否禁用, g.name AS 服务器角色, '√' AS 'flag' FROM sys.server_principals u INNER JOIN sys.server_ 阅读全文
摘要:
1. 安装.NET Framework 4.8 2. 安装IIS 3. 安装WebDeploy_amd64_zh-CN.msi 4. 配置IIS管理服务以及认证账号 5. 注册IIS支持 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_r 阅读全文
摘要:
using (System.Net.Http.HttpClient httpClient = new HttpClient()) { httpClient.MaxResponseContentBufferSize = 256000; httpClient.DefaultRequestHeaders. 阅读全文
摘要:
通过html Table获取到内部数据,并执行去重. HtmlAgilityPack.HtmlWeb hw = new HtmlAgilityPack.HtmlWeb(); //加载本地文件 (之前是通过System.Net.Http.HttpClient post采集到的) HtmlAgility 阅读全文
该文被密码保护。 阅读全文
摘要:
假设有如下的结构或者类,那么我们怎么遍历它们呢? public struct AAAAA { public struct BBBBB { public struct CCCCC { public static string ZZ = "ZZ"; public struct DDDDD { publi 阅读全文
摘要:
用到两个点,一个是while循环,一个是exec sp_executesql DECLARE @i AS INT = 20; DECLARE @s AS nvarchar(50) = ''; DECLARE @e AS nvarchar(MAX) = ''; WHILE @i < 100 BEGIN 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
直观测试代码如下: public partial class NaviControl : UserControl, ITestControl { public NaviControl() { InitializeComponent(); Load += NaviControl_Load; } pri 阅读全文
摘要:
Use the registry information below to determine which version(s) and service pack level(s) of the Microsoft .NET Framework are installed.To do this, f 阅读全文