11 2017 档案

摘要:using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Diagnostics; using System.IO; using System.Threading; using System.Web; namespace TestQuenu { /// /// ... 阅读全文
posted @ 2017-11-30 17:19 _York 阅读(546) 评论(0) 推荐(0) 编辑
摘要:href属性值“javascript:void()”,括号中没有加“0” 阅读全文
posted @ 2017-11-28 11:19 _York 阅读(319) 评论(0) 推荐(0) 编辑
摘要:/// /// 转换成MP4格式 /// /// /// public static string ToMp4(string fromFilePath) { string ffmpeg = HttpContext.Current.Server.MapPath("/") ... 阅读全文
posted @ 2017-11-28 08:52 _York 阅读(428) 评论(0) 推荐(1) 编辑
摘要:private static bool IsVideo(HttpPostedFile file) { bool isVideo = false; string fileName = file.FileName; IList formateList = new List { "... 阅读全文
posted @ 2017-11-28 08:51 _York 阅读(3028) 评论(0) 推荐(0) 编辑
摘要:Ctrl+C 退出.............. 阅读全文
posted @ 2017-11-24 10:18 _York 阅读(1325) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-23 15:25 _York 阅读(488) 评论(0) 推荐(0) 编辑
摘要:简单的说 Node.js 就是运行在服务端的 JavaScript。 Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台。 Node.js是一个事件驱动I/O服务端JavaScript环境,基于Google的V8引擎,V8引擎执行Javascript的速度非常快,性能 阅读全文
posted @ 2017-11-23 14:41 _York 阅读(174) 评论(0) 推荐(0) 编辑
摘要:Web.config 下<system.webServer> 节点下配置 设置允许跨域传递Cookie 前端 请求的时候需设定:withCredentials = true; 设置了widthCredentials为true的请求中会包含远程域的所有cookie 阅读全文
posted @ 2017-11-22 10:41 _York 阅读(2915) 评论(0) 推荐(1) 编辑
摘要:/// /// 加密 /// public static class Encrypting { #region 使用对称加密、解密 private static string GetEncryptKey() { return ConfigurationManager.AppSettin... 阅读全文
posted @ 2017-11-21 13:21 _York 阅读(652) 评论(0) 推荐(1) 编辑
摘要:JavaScript-Errors-Notifier_v2.1.7 下载地址 安装方法: http://chromecj.com/utilities/2014-09/181.html 设置方式: 阅读全文
posted @ 2017-11-21 09:51 _York 阅读(1530) 评论(0) 推荐(0) 编辑
摘要:使用SharpZipLib插件 插件地址:http://icsharpcode.github.io/SharpZipLib/ 阅读全文
posted @ 2017-11-18 23:12 _York 阅读(344) 评论(0) 推荐(0) 编辑
摘要:1、 在表单需要提交Html的页面头部加入 ValidateRequest="false" 2、webConfig 的 <system.web> 节点下配置 阅读全文
posted @ 2017-11-18 23:09 _York 阅读(1167) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; using System.IO; using System.Collections.Specialized; using zhjy.BLL.w_disk; using zh... 阅读全文
posted @ 2017-11-18 22:34 _York 阅读(243) 评论(0) 推荐(0) 编辑
摘要:基于Bootstrap表单验证 GitHub地址:https://github.com/chentangchun/FormValidate 使用方式: 1.CSS样式 阅读全文
posted @ 2017-11-16 16:47 _York 阅读(614) 评论(1) 推荐(0) 编辑
摘要:1、添加log4Net配置文件log4net.config 配置文件属性设置为: 配置如下: 2.在数据库创建SysLogs表 3.webConfig 配置 4.应用程序启动时设置配置项 Global.asax 5.日志写入示例 阅读全文
posted @ 2017-11-16 13:23 _York 阅读(2215) 评论(0) 推荐(0) 编辑
摘要:接口调用: http://wthrcdn.etouch.cn/WeatherApi?city=昆明 或者 http://wthrcdn.etouch.cn/WeatherApi?citykey=citycode 阅读全文
posted @ 2017-11-15 16:02 _York 阅读(254) 评论(0) 推荐(0) 编辑
摘要:public static class LinqOrderEx { private static IOrderedQueryable OrderingHelper(IQueryable source, string propertyName, bool descending, bool anotherLevel) { Paramet... 阅读全文
posted @ 2017-11-14 12:02 _York 阅读(526) 评论(0) 推荐(0) 编辑
摘要://js将表单序列化成对象 $.fn.serializeObject = function () { var $els = $(this).find("[name]"); var formData = {}; var len = $els.length; for (var i = 0; i 0) { for (var i = 0; i ' + d... 阅读全文
posted @ 2017-11-14 09:15 _York 阅读(254) 评论(0) 推荐(0) 编辑
摘要:jquery判断checked的三种方法:.attr('checked): //看版本1.6+返回:”checked”或”undefined” ;1.5-返回:true或false.prop('checked'): //16+:true/false.is(':checked'): //所有版本:tr 阅读全文
posted @ 2017-11-14 09:14 _York 阅读(315) 评论(0) 推荐(0) 编辑
摘要:使用示例: HttpGet返回数组:[{Id:1,ParentId:-1},{Id:2,ParentId:1}] 阅读全文
posted @ 2017-11-13 13:44 _York 阅读(423) 评论(0) 推荐(0) 编辑
摘要:一、自定义特性 二、在Action上面加入特性 三、继承ActionFilterAttribute实现LogFilter日志 四、在App_Start文件夹下面加入全局日志过滤器 阅读全文
posted @ 2017-11-08 11:37 _York 阅读(1547) 评论(0) 推荐(0) 编辑
摘要:echars关系图 阅读全文
posted @ 2017-11-03 14:37 _York 阅读(966) 评论(0) 推荐(0) 编辑
摘要:1、float: right的使用用法:使用html代码<span style="float: right">*****</SPAN>,其中*****就是你想靠右的内容,比如一个日期:{date1},如果想让此元素靠右,则应该写:<span style="float:right">{date1}</ 阅读全文
posted @ 2017-11-02 15:15 _York 阅读(4001) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://stackoverflow.com/questions/9017634/accordion-is-not-a-function 原因:加载了2次jquery js文件 阅读全文
posted @ 2017-11-01 10:01 _York 阅读(1782) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示