上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: --返回0-则为纯数字(支持正负数,小数点) SELECT PATINDEX('%[^0-9|.|[-]|+]%','1.1')--返回0 --返回0-则为纯整数 SELECT PATINDEX('%[^0-9]%', '1.1')--返回非0 这里要注意负数的符号-,需要用转译符[]括起来,否则是 阅读全文
posted @ 2021-06-17 11:16 芈璐 阅读(414) 评论(0) 推荐(0)
摘要: /// <summary> /// 上移 /// </summary> /// <param name="dataGridView"></param> public static void UpDataGridView(DataGridView dataGridView) { try { DataG 阅读全文
posted @ 2021-04-26 16:43 芈璐 阅读(2707) 评论(0) 推荐(0)
摘要: git stash git stash pop git checkout git pull 阅读全文
posted @ 2021-01-18 10:41 芈璐 阅读(176) 评论(0) 推荐(0)
摘要: public class RedisHelper { static RedisClient client; static RedisHelper() { client = new RedisClient("127.0.0.1", 6379); } /// <summary> /// 清空数据库缓存 阅读全文
posted @ 2021-01-11 14:55 芈璐 阅读(648) 评论(0) 推荐(0)
摘要: 下载你需要的redis版本,下载地址:http://download.redis.io/releases/ 打开cmd,redis安装指令:redis-server redis.windows.conf,部署到服务自启动命令:service-install redis.windows.conf 打开 阅读全文
posted @ 2020-12-17 13:11 芈璐 阅读(96) 评论(0) 推荐(0)
摘要: select CONVERT(varchar(50),GETDATE(),0) --月 日 4位年 时:分AM/PM 12 15 2020 3:15PM select CONVERT(varchar(50),GETDATE(),1) --月/日/2位年 12/15/20 select CONVERT 阅读全文
posted @ 2020-12-15 15:44 芈璐 阅读(3670) 评论(0) 推荐(0)
摘要: 回车:\r 13 0x0d换行:\n 10 0x0a 阅读全文
posted @ 2020-10-14 09:59 芈璐 阅读(3209) 评论(0) 推荐(0)
摘要: 异常信息:Invalid parent form. When using DockingMdi or SystemMdi document style, the DockPanel control must be the child control of the main MDI container 阅读全文
posted @ 2020-09-22 11:06 芈璐 阅读(727) 评论(0) 推荐(0)
摘要: 一、创建项目 二、右击项目添加新建Web服务项 三、启动测试 在刚才新建的Web服务项中简单写一个加法接口 [WebMethod] public string HelloWorld() { return "Hello World"; } [WebMethod(Description ="加法")] 阅读全文
posted @ 2020-08-19 13:20 芈璐 阅读(7857) 评论(0) 推荐(2)
摘要: 首先定义数据库连接字符串: String strCn = "server=.;database=DB_NAME;user=sa;pwd=XXX"; 读取图片,将图片转换二进制保存到数据库方法: SqlConnection cn = new SqlConnection(strCn); SqlComma 阅读全文
posted @ 2020-08-07 15:29 芈璐 阅读(3814) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页