http://union.suning.com/aas/open/vistorAd.action?userId=124924&webSiteId=12164&adInfoId=6494&adBookId=48681&subUserEx=155412&vistURL=http://www.suning.com
摘要: $('#GiveNum').bind('input propertychange', function() { var x = $("#GiveNum").val(); $("#moneys").text(parseInt(x) / <%=_Site.rate %>); }); 阅读全文
posted @ 2017-07-03 11:07 .netpjava 阅读(426) 评论(0) 推荐(0) 编辑
摘要: (Number('@p.Money' - moneys)).toFixed(3) 阅读全文
posted @ 2017-06-19 11:02 .netpjava 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-06-09 11:15 .netpjava 阅读(1867) 评论(0) 推荐(0) 编辑
摘要: string ProductDetails = "{\"size\":\"10\", \"weight\":\"10kg\"}"; Dictionary ProductDetailList= JsonConvert.DeserializeObject>(ProductDetails); foreach (var item in Product... 阅读全文
posted @ 2017-06-06 11:35 .netpjava 阅读(7678) 评论(0) 推荐(0) 编辑
摘要: $("input:checkbox.grandfather").click(function () { if ($(this).prop("checked") == true) { $(this).parents("li").eq(0).find("input:checkbox").prop("checked", tr... 阅读全文
posted @ 2017-05-29 10:49 .netpjava 阅读(373) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { UserInfo userInfo = new UserInfo(); userInfo.CreateTime = DateTime.Now; string userString = SlJson.T 阅读全文
posted @ 2017-05-24 10:51 .netpjava 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: 查看更多 http://www.admin6.com/v/?a=155412 阅读全文
posted @ 2017-04-27 16:30 .netpjava 阅读(7525) 评论(0) 推荐(0) 编辑
摘要: 简单代码 阅读全文
posted @ 2017-04-14 15:14 .netpjava 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 我们可以通过配置Web.config让应用程序不管在何时何地引发了异常都可以显示统一的友好错误信息。在Web.config文件中的<system.web>节点下添加如下子节点: 阅读全文
posted @ 2017-04-13 17:01 .netpjava 阅读(316) 评论(2) 推荐(0) 编辑
摘要: 我们已经有很多方法在MVC中处理异常,比如用try catch,或者使用Filter,或者通过第三方库比如elmah。但是MVC也提供了一个HandleErrorAttribute去处理异常,如下: [HandleError()] public ActionResult CheckError() { 阅读全文
posted @ 2017-04-13 16:24 .netpjava 阅读(201) 评论(0) 推荐(0) 编辑