会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alex_Mercer
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
下一页
2019年12月25日
SQL 判断字符包含在记录中出现了多少次
摘要: 需要用到MS SQL一个判断字符串包含的函数:CHARINDEX(查找的字符串,总字符串) 小案例:select CHARINDEX('sd','asdf'),有则返回具体位置,无则返回0 判断字符包含在记录中出现了多少次 候选人:A,B,C 投票:A,B B,C SQL 如何统计 A,B,C 次数
阅读全文
posted @ 2019-12-25 17:01 Alex_Mercer
阅读(762)
评论(0)
推荐(0)
2019年12月18日
JS 数据类型判断
摘要: 来源:https://blog.csdn.net/Raytheon107/article/details/91975043 假设数据是a 1.typeof 返回一个表示数据类型的字符串,返回结果包括:number、boolean、string、symbol、object、undefined、func
阅读全文
posted @ 2019-12-18 11:57 Alex_Mercer
阅读(113)
评论(0)
推荐(0)
JS object转日期
摘要: var date=new Date(object类型参数)
阅读全文
posted @ 2019-12-18 11:52 Alex_Mercer
阅读(1165)
评论(0)
推荐(0)
JS 日期转字符串
摘要: 来源地址:https://www.jb51.net/article/165003.htm // 格式化日期,如月、日、时、分、秒保证为2位数 function formatNumber (n) { n = n.toString() return n[1] ? n : '0' + n; } // 参数
阅读全文
posted @ 2019-12-18 11:49 Alex_Mercer
阅读(6669)
评论(0)
推荐(0)
2019年12月5日
Visual Studio 无法在运行时报错
摘要: 调试-选项-启用"仅我的代码"
阅读全文
posted @ 2019-12-05 14:00 Alex_Mercer
阅读(237)
评论(0)
推荐(0)
.net WebApi服务
摘要: 搭建测试环境 1.选择Web应用程序 2.选择API服务。如果是已存在的项目,添加对应的控制器,选择API服务 3.Value控制器,新增的API控制器必须继承 ApiController 4.Api路由。 可以在API路由那边,增加一个方法参数, routeTemplate: "api/{cont
阅读全文
posted @ 2019-12-05 11:33 Alex_Mercer
阅读(285)
评论(0)
推荐(0)
2019年11月28日
Python Post四种请求方式
摘要: 来源:https://www.cnblogs.com/yetj/p/10748820.html
阅读全文
posted @ 2019-11-28 16:50 Alex_Mercer
阅读(344)
评论(0)
推荐(0)
Python 字符串转Base64编解码
摘要: 来源:https://www.cnblogs.com/kanneiren/p/9981084.html strInput="A319060267" bs=str(base64.b64encode(strInput.encode('utf-8')),"utf-8") print('转码:'+bs) p
阅读全文
posted @ 2019-11-28 16:39 Alex_Mercer
阅读(5135)
评论(0)
推荐(0)
2019年11月15日
JS 数组遍历
摘要: 本文来自于:https://blog.csdn.net/u014316026/article/details/82057217 个人最喜欢第三种,方便。 1 var ary = ['a', 'b', 'c']; 2 //第一种 3 for (var i in ary) { 4 console.log
阅读全文
posted @ 2019-11-15 10:16 Alex_Mercer
阅读(92)
评论(0)
推荐(0)
2019年11月14日
FineUI MVC 前端获取表格Json通过Post传递后台
摘要: 首先规定前端传入Json格式 格式如下:{"columns":["列1","列2"],"rows":{"0":{"列1":"1","列2":"2"},"2":{"列1":"11","列2":"22"}}} 前端方法: 定义一个object 对象,用来存储 表格的数据,最后将对象转换成Json传递给后
阅读全文
posted @ 2019-11-14 17:28 Alex_Mercer
阅读(547)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
下一页
公告