上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: HttpWebRequest public static class HttpHelper { private static readonly string DefaultUserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; 阅读全文
posted @ 2021-08-18 12:18 bxzjzg 阅读(225) 评论(0) 推荐(0)
摘要: 图片处理 #region 缩略图 /// <summary> /// 生成缩略图 /// </summary> /// <param name="originalImagePath">源图路径(物理路径)</param> /// <param name="thumbnailPath">缩略图路径(物 阅读全文
posted @ 2021-08-06 18:21 bxzjzg 阅读(41) 评论(0) 推荐(0)
摘要: powerdesigner逆向工程生成PDM时的列注释解决方案 '****************************************************************************** '* File: addComment.vbs '* Purpose: Da 阅读全文
posted @ 2021-07-29 14:48 bxzjzg 阅读(61) 评论(0) 推荐(0)
摘要: 主要根据中间件来实现对.net core webapi中产生的请求和响应数据进行获取并存入日志文件中; 这里不详细介绍日志文件的使用。你可以自己接入NLog,log4net,Exceptionless等 创建接口记录的中间件 using Microliu.Core.Loggers; using Mi 阅读全文
posted @ 2021-06-25 16:12 bxzjzg 阅读(285) 评论(0) 推荐(0)
摘要: ResponseResult /// <summary> /// 返回值 /// </summary> public class ResponseResult { public ResponseResult() { } public ResponseResult(int code) { this.C 阅读全文
posted @ 2021-06-25 11:26 bxzjzg 阅读(155) 评论(0) 推荐(0)
摘要: SqlHelper帮助类 1 public class DbHelper 2 { 3 //数据库连接字符串(web.config来配置),多数据库可使用DbHelperSQLP来实现. 4 public static string connectionString = ConfigurationMa 阅读全文
posted @ 2021-06-15 17:27 bxzjzg 阅读(49) 评论(0) 推荐(0)
摘要: Sql 递归查询(给定节点查所有父节点、所有子节点的方法) -- 查找所有父节点 with tab as ( select Type_Id,ParentId,Type_Name from Sys_ParamType_V2_0 where Type_Id=316--子节点 union all sele 阅读全文
posted @ 2021-05-27 17:55 bxzjzg 阅读(197) 评论(0) 推荐(0)
摘要: public static void Run() { const int arrayCount = 10000; const int arraySize = 400; var arrList = new List<int[]>(arrayCount); var arrList1 = new List 阅读全文
posted @ 2021-05-08 21:32 bxzjzg 阅读(58) 评论(0) 推荐(0)
摘要: T_SQL批量更新语句 --更新tab1 col1和更新时间,共?条 set serveroutput on; declare execCnt NUMBER := 0; cursor cur_cdr is select id from tab1 where PLATFORM = 'Amazon' A 阅读全文
posted @ 2021-01-08 09:33 bxzjzg 阅读(488) 评论(0) 推荐(0)
摘要: jQuery.validator 自定义验证消息 jQuery.validator.addMethod("ruletypeVali", function (value, element, params) { var customMsg = "请输入正确整数"; let result = true; 阅读全文
posted @ 2020-09-14 11:37 bxzjzg 阅读(398) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页