2020年3月30日
摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Security; using System.Secu 阅读全文
posted @ 2020-03-30 16:29 wxm3177 阅读(485) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/shisuizhe/article/details/54949431?locationNum=6&fps=1 https://www.cnblogs.com/yzeng/p/4249907.html http://www.cnblogs.com/wang7 阅读全文
posted @ 2020-03-30 14:36 wxm3177 阅读(308) 评论(0) 推荐(0)
  2020年3月17日
摘要: %windir%/System32/inetsrv/config/applicationHost.config 阅读全文
posted @ 2020-03-17 19:51 wxm3177 阅读(308) 评论(0) 推荐(0)
  2020年3月5日
摘要: // <summary> /// 只读形式读取文件 /// </summary> /// <param name="filePath"></param> /// <param name="encoding"></param> /// <returns></returns> public static 阅读全文
posted @ 2020-03-05 17:05 wxm3177 阅读(212) 评论(0) 推荐(0)
摘要: var params = Object.keys(qdata).map(function (key) { return encodeURIComponent(key) + "=" + encodeURIComponent(qdata[key]); }).join("&"); 阅读全文
posted @ 2020-03-05 14:17 wxm3177 阅读(1099) 评论(0) 推荐(0)
  2020年2月24日
摘要: 首先RouteConfig配置文件RegisterRoutes方法添加以下代码: routes.MapMvcAttributeRoutes(); Controller Aciont 加 [Route("news/{id:long:min(1)}.html"), HttpGet] 在web.confi 阅读全文
posted @ 2020-02-24 14:33 wxm3177 阅读(406) 评论(0) 推荐(1)
  2020年2月10日
摘要: /// <summary> /// 重写回传的处理 /// </summary> /// <param name="actionExecutedContext"></param> public override void OnActionExecuted(HttpActionExecutedCont 阅读全文
posted @ 2020-02-10 12:16 wxm3177 阅读(176) 评论(0) 推荐(0)
  2019年12月6日
摘要: create function Get_StrArrayStrOfIndex( @str varchar(5000), --要分割的字符串 @split varchar(10), --分隔符号 @index int --取第几个元素)returns varchar(5000)asbegin decl 阅读全文
posted @ 2019-12-06 17:54 wxm3177 阅读(568) 评论(0) 推荐(0)
摘要: CREATE FUNCTION dbo.f_splitstr( @str varchar(8000) )RETURNS @r TABLE(id int IDENTITY(1, 1), value varchar(5000)) AS BEGIN /* Function body */ DECLARE 阅读全文
posted @ 2019-12-06 17:51 wxm3177 阅读(891) 评论(0) 推荐(0)
  2019年11月15日
摘要: List<Car> cars = //whatever; string concat = String.Join(",", cars.Select(c => c.Name).ToArray()); string concat = cars.Select(c => c.Name).Aggregate( 阅读全文
posted @ 2019-11-15 17:42 wxm3177 阅读(1899) 评论(0) 推荐(0)