会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
满招损,谦受益
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
下一页
2020年8月5日
SQLserver查询用逗号隔开的字段中是否包含另一个字段的值
摘要: CHARINDEX(','+用逗号隔开的字段+',',','+是否包含的字段+',')>0 大于0则存在
阅读全文
posted @ 2020-08-05 19:21 摩诘
阅读(2062)
评论(0)
推荐(0)
2020年7月25日
c# 将字符串转换为逻辑表达式(字符串转换布尔)
摘要: 比如:string str="6>5"; 要的效果是:bool result=6>5 方案1: 命名空间:System.Data; DataTable dt = new DataTable(); bool result= (bool)dt.Compute("","");dt.Compute(str,
阅读全文
posted @ 2020-07-25 17:11 摩诘
阅读(2433)
评论(0)
推荐(0)
C#枚举帮助EnumHelper
摘要: 1 public class EnumHelper 2 { 3 #region 获取枚举 4 public static List<EnumValue> GetEnumList(Type enumType) 5 { 6 var list = new List<EnumValue>(); 7 stri
阅读全文
posted @ 2020-07-25 17:05 摩诘
阅读(659)
评论(0)
推荐(0)
sql sever查询库中每个表是否存在某个列名 列出表名
摘要: select t.TABLE_NAME from information_schema.columns t where t.COLUMN_NAME='列名';
阅读全文
posted @ 2020-07-25 17:03 摩诘
阅读(220)
评论(0)
推荐(0)
2020年7月11日
C# 一般处理程序ashx用于验证码
摘要: 1、用VS2019建立一个web应用程序,选mvc模板 2、选中项目邮件新建文件夹Webservice,然后添加一般处理程序Verify.ashx然后右键打开改写如下 1 public class VerifyCode : IHttpHandler, IRequiresSessionState 2
阅读全文
posted @ 2020-07-11 12:23 摩诘
阅读(752)
评论(0)
推荐(0)
2020年7月6日
C# fleck websocket使用
摘要: 转载于:https://www.itspeeding.com/article/28 1、web页面 1 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <meta charset="utf-8" /> 4 <title
阅读全文
posted @ 2020-07-06 01:00 摩诘
阅读(2893)
评论(0)
推荐(0)
2020年7月4日
. net core 项目创建和发布
摘要: 1、发布和部署到IIS https://www.cnblogs.com/loverwangshan/p/11284169.html https://www.cnblogs.com/wangjieguang/p/core-iis.html 可能出现的错误: HTTP 错误 500.19 - Inter
阅读全文
posted @ 2020-07-04 10:45 摩诘
阅读(716)
评论(0)
推荐(0)
Linux 通过docker安装nginx,.net core sdk或运行时安装到Linux
摘要: 1、Linux docker通过yum安装 https://blog.csdn.net/GMingZhou/article/details/94024453 https://qizhanming.com/blog/2019/01/25/how-to-install-docker-ce-on-cent
阅读全文
posted @ 2020-07-04 00:24 摩诘
阅读(436)
评论(0)
推荐(0)
2020年7月3日
Linux 常用命令
摘要: 1、创建文件夹语法:mkdir [-p] dirname参数说明:-p确保目录名称存在,不存在就创建一个。实例:mkdir AAA ; mkdir -p BBB/Test 2、删除文件夹和文件-r 向下递归,不管有多少级目录,一并删除-f 就是直接强行删除,不作任何提示的意思强制删除文件:rm -f
阅读全文
posted @ 2020-07-03 19:20 摩诘
阅读(124)
评论(0)
推荐(0)
2020年7月2日
分布式架构设计实现效果图
摘要:
阅读全文
posted @ 2020-07-02 21:09 摩诘
阅读(254)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告