上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 下载你需要的redis版本,下载地址:http://download.redis.io/releases/ 打开cmd,redis安装指令:redis-server redis.windows.conf,部署到服务自启动命令:service-install redis.windows.conf 打开 阅读全文
posted @ 2020-12-17 13:11 芈璐 阅读(81) 评论(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 芈璐 阅读(3594) 评论(0) 推荐(0) 编辑
摘要: 回车:\r 13 0x0d换行:\n 10 0x0a 阅读全文
posted @ 2020-10-14 09:59 芈璐 阅读(3090) 评论(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 芈璐 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 一、创建项目 二、右击项目添加新建Web服务项 三、启动测试 在刚才新建的Web服务项中简单写一个加法接口 [WebMethod] public string HelloWorld() { return "Hello World"; } [WebMethod(Description ="加法")] 阅读全文
posted @ 2020-08-19 13:20 芈璐 阅读(7741) 评论(0) 推荐(2) 编辑
摘要: 首先定义数据库连接字符串: String strCn = "server=.;database=DB_NAME;user=sa;pwd=XXX"; 读取图片,将图片转换二进制保存到数据库方法: SqlConnection cn = new SqlConnection(strCn); SqlComma 阅读全文
posted @ 2020-08-07 15:29 芈璐 阅读(3689) 评论(0) 推荐(0) 编辑
摘要: 当进行除法运算,避免分母为0时报错: 使用nullif(a,b)函数,如果a=b,返回null,举例: select 100/nullif(0,0) 此时,输出结果就是NULL,避免执行错误。 阅读全文
posted @ 2020-08-05 16:32 芈璐 阅读(1743) 评论(0) 推荐(0) 编辑
摘要: public static string Hex2Ten(string hex) { int ten = 0; for (int i = 0, j = hex.Length - 1; i < hex.Length; i++) { ten += HexChar2Value(hex.Substring( 阅读全文
posted @ 2020-07-29 09:28 芈璐 阅读(4617) 评论(0) 推荐(0) 编辑
摘要: 用Chrome浏览器打开指定网页后,按F12,切换到Console选项卡,输入命令: document.body.contentEditable="true" 后回车即可随意编辑网页上文字。 阅读全文
posted @ 2020-07-13 15:05 芈璐 阅读(3566) 评论(0) 推荐(1) 编辑
摘要: 制式对照表: 符号 语法 示例(2016-05-09 13:09:55:2350) 格式说明 y DateTime.Now.ToString() 2016/5/9 13:09:55 短日期 长时间 d DateTime.Now.ToString("d") 2016/5/9 短日期 D DateTim 阅读全文
posted @ 2020-07-06 09:55 芈璐 阅读(1575) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页