摘要: private bool GetCondition(MerchantTravelXSJL tb, string key, string searchCity, string phoneNumber, DateTime? buyStartDate, DateTime? buyEndDate, int? 阅读全文
posted @ 2017-05-06 16:20 筱老邪 阅读(154) 评论(0) 推荐(0)
摘要: var canvas = $("canvas")[0]; var image = new Image(); image.src = canvas.toDataURL("image/png"); $.ajax({ url: '/TicketG/Base64StringToImage?',//ajax提 阅读全文
posted @ 2017-05-06 16:07 筱老邪 阅读(105) 评论(0) 推荐(0)
摘要: 2010年發行ASP.NET MVC 2.0版,2011年發行ASP.NET MVC 3.0版,2012年發行ASP.NET MVC 4.0版 MVC3 需要.net framework 4.0 版本. 支持多视图引擎 在 ASP.NET MVC3 中,增加视图的对话框中允许你选择你希望的视图引擎, 阅读全文
posted @ 2017-02-17 16:01 筱老邪 阅读(455) 评论(0) 推荐(0)
摘要: private int UserAgent() { string u = Request.ServerVariables["HTTP_USER_AGENT"]; Regex b = new Regex(@"android.+mobile|avantgo|bada\/|blackberry|blaze 阅读全文
posted @ 2015-08-17 11:33 筱老邪 阅读(287) 评论(0) 推荐(0)
摘要: select RAWTOHEX(id) Id from t_cross insert into t_cross (ID) values ('HEXTORAW('" + cross["Id"] + "')' ) 阅读全文
posted @ 2015-07-24 18:20 筱老邪 阅读(255) 评论(0) 推荐(0)
摘要: /// <summary> /// 单条json数据转换为实体 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="str">字符窜(格式为{a:'',b:''})</param> /// <returns></r 阅读全文
posted @ 2015-07-24 18:15 筱老邪 阅读(252) 评论(0) 推荐(0)
摘要: private static JsonSerializerSettings _jsonSettings; /// <summary> /// 将指定的对象序列化成 JSON 数据。 /// </summary> /// <param name="obj">要序列化的对象。</param> /// < 阅读全文
posted @ 2015-07-23 10:46 筱老邪 阅读(199) 评论(0) 推荐(0)
摘要: ASP.NET MVC4(Razor)从客户端中检测到有潜在危险的 Request.Form 值 “/”应用程序中的服务器错误。 从客户端(Content=" sdfdddd ...")中检测到有潜在危险的 Request.Form 值。 说明: ASP.NET 在请求中检测到包含潜在危险的数据,因 阅读全文
posted @ 2015-07-10 13:24 筱老邪 阅读(151) 评论(0) 推荐(0)
摘要: http://v3.bootcss.com/getting-started/ 阅读全文
posted @ 2014-09-13 00:27 筱老邪 阅读(322) 评论(0) 推荐(0)
摘要: 1. 当前系统日期、时间select getdate() 2. dateadd 在向指定日期加上一段时间的基础上,返回新的 datetime 值例如:向日期加上2天select dateadd(day,2,'2004-10-15') --返回:2004-10-1700:00:00.0003. dat 阅读全文
posted @ 2013-11-13 11:21 筱老邪 阅读(246) 评论(0) 推荐(0)