04 2016 档案

摘要:<!-- 用html标签防止html转义 (html.raw方法转双引号中的双引号时不会转义) --><input id="json" type="hidden" value="@JsonConvert.SerializeObject(Model)" /> 阅读全文
posted @ 2016-04-29 12:02 小小高 阅读(1281) 评论(0) 推荐(0) 编辑
摘要:js: encodeURIComponent();编码 c#: Uri.UnescapeDataString();解码 阅读全文
posted @ 2016-04-28 12:40 小小高 阅读(739) 评论(0) 推荐(0) 编辑
摘要:调c++写的dll时报这个错,解决方案如下: 项目右键属性->项目设计器->生成->平台->把'默认设置(任何 CPU)'改为x86。 因为'任何 CPU'的程序在64位的机器上就会用运行为64位,而64程序是不能加载32位dll的 阅读全文
posted @ 2016-04-26 13:58 小小高 阅读(1043) 评论(0) 推荐(0) 编辑
摘要:使用如: http://localhost?name=xxg getUrlVars()["name"] 返回的值为 xxg 阅读全文
posted @ 2016-04-26 12:32 小小高 阅读(2471) 评论(0) 推荐(0) 编辑
摘要:Line 专线 阅读全文
posted @ 2016-04-22 15:00 小小高 阅读(1395) 评论(1) 推荐(0) 编辑
摘要:winform程序 http://pan.baidu.com/s/1nvxm5br 阅读全文
posted @ 2016-04-18 10:04 小小高 阅读(154) 评论(0) 推荐(0) 编辑
摘要:public static string retunSQl(string s,string e){ return @"IF ( "+s+ ">" +e+ @", DATEDIFF(" + e + @", " + s + @") - FLOOR( ... 阅读全文
posted @ 2016-04-12 20:32 小小高 阅读(259) 评论(0) 推荐(0) 编辑
摘要:使用如下: List<YEWULIANG> list=new List<YEWULIANG> (){ new YEWULIANG {name="1",age=12} , new YEWULIANG {name="1",age=13} , new YEWULIANG {name="2",age=14} 阅读全文
posted @ 2016-04-12 13:55 小小高 阅读(2728) 评论(0) 推荐(0) 编辑
摘要:html代码如: 服务器端读取的常规做法是: string name = Request.Params["txtName"]; asp.net后台代码如: 参考 晓风残月的随笔 http://www.cnblogs.com/Jinglecat/archive/2008/06/01/1211753.h 阅读全文
posted @ 2016-04-06 09:20 小小高 阅读(728) 评论(1) 推荐(0) 编辑

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