摘要: 比如: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 摩诘 阅读(2427) 评论(0) 推荐(0)
摘要: 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 摩诘 阅读(654) 评论(0) 推荐(0)
摘要: select t.TABLE_NAME from information_schema.columns t where t.COLUMN_NAME='列名'; 阅读全文
posted @ 2020-07-25 17:03 摩诘 阅读(217) 评论(0) 推荐(0)
摘要: 1、用VS2019建立一个web应用程序,选mvc模板 2、选中项目邮件新建文件夹Webservice,然后添加一般处理程序Verify.ashx然后右键打开改写如下 1 public class VerifyCode : IHttpHandler, IRequiresSessionState 2 阅读全文
posted @ 2020-07-11 12:23 摩诘 阅读(749) 评论(0) 推荐(0)
摘要: 转载于: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 摩诘 阅读(2884) 评论(0) 推荐(0)
摘要: 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)
摘要: 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 摩诘 阅读(434) 评论(0) 推荐(0)
摘要: 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)
摘要: 阅读全文
posted @ 2020-07-02 21:09 摩诘 阅读(254) 评论(0) 推荐(0)
摘要: https://files.cnblogs.com/files/mojiejushi/SocketDemo.rar 阅读全文
posted @ 2020-07-02 01:23 摩诘 阅读(249) 评论(0) 推荐(0)