摘要: class Program { static void Main(string[] args) { FileSystemWatcher fswArr = new FileSystemWatcher(); fswArr.Path = "H:\\"; fswArr.IncludeSubdirectori 阅读全文
posted @ 2022-11-06 10:03 懒人境界 阅读(179) 评论(0) 推荐(0) 编辑
摘要: //增加一个字段,可以为空,默认1 alter table Ky_U_News add EveryDayVote int NULL default 1 //修改一个字段的类型 alter table Ky_U_News alter Column EveryDayVote nvarchar(1000) 阅读全文
posted @ 2022-11-06 09:59 懒人境界 阅读(82) 评论(0) 推荐(0) 编辑
摘要: alter database 数据库 modify file (name='原名称',newname='新名称') 系统数据库用 update 报 不允许对系统目录进行即席更新,用以上SQL语句解决。 阅读全文
posted @ 2022-11-06 09:57 懒人境界 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 软件设置 开启远程 模拟器安装证书浏览器打开:http://本机IP:8888/下载安装 阅读全文
posted @ 2022-02-08 21:07 懒人境界 阅读(97) 评论(0) 推荐(0) 编辑
摘要: ((?:.|\n)*) 阅读全文
posted @ 2021-12-09 22:12 懒人境界 阅读(12) 评论(0) 推荐(0) 编辑
摘要: @echo off color f0 echo 修改远程桌面3389端口(支持Windows 2003 2008 2008R2 2012 2012R2 2016 2019 7 8 10 ) echo 自动添加防火墙规则 echo %date% %time% echo ARK set /p c= 请输 阅读全文
posted @ 2021-11-09 10:42 懒人境界 阅读(265) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// Get读取数据 /// </summary> /// <param name="myUrl">网址</param> /// <param name="myProxy">IP代理</param> /// <param name="myUserAgent">浏览器</ 阅读全文
posted @ 2021-06-05 10:22 懒人境界 阅读(470) 评论(0) 推荐(0) 编辑
摘要: #region Unicode 转中文 /// <summary> /// Unicode 转中文 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string UnicodeT 阅读全文
posted @ 2021-06-05 10:10 懒人境界 阅读(338) 评论(0) 推荐(0) 编辑
摘要: #region 生成随机字符串 /// <summary> /// 生成随机字符串 /// </summary> /// <param name="length">字符串的长度</param> /// <returns></returns> public static string CreateRa 阅读全文
posted @ 2021-06-05 10:08 懒人境界 阅读(317) 评论(0) 推荐(0) 编辑
摘要: private void txtMaxCount_TextChanged(object sender, EventArgs e) { //替换非数字 this.txtMaxCount.Text = Regex.Replace(this.txtMaxCount.Text, @"[^\d]*", "") 阅读全文
posted @ 2021-06-05 10:00 懒人境界 阅读(147) 评论(0) 推荐(0) 编辑