上一页 1 2 3 4 5 6 7 ··· 21 下一页

model中字段格式验证

摘要: 注释部分在前端不显示/// /// 链接地址 /// [Display(Name = "链接地址")] //[DataType(DataType.Url,ErrorMessage ="请输入正确的链接")] [Url(ErrorMessage =... 阅读全文
posted @ 2016-07-25 18:50 tongdengquan 阅读(163) 评论(0) 推荐(0) 编辑

Global事件执行顺序

摘要: Global.asax 文件,有时候叫做 ASP.NET 应用程序文件,提供了一种在一个中心位置响应应用程序级或模块级事件的方法。你可以使用这个文件实现应用程序安全性以及其它一些任务。下面让我们详细看一下如何在应用程序开发工作中使用这个文件。 概述 Global.asax 位 于应用程序根目录... 阅读全文
posted @ 2016-07-12 16:35 tongdengquan 阅读(378) 评论(0) 推荐(0) 编辑

mvc页面中,显示自定义时间格式

摘要: 1、在model中,遇到datetime格式的字段,用string来表示 model中 /// /// 开始时间 /// [Display(Name = "开始时间")] [DataType(DataType.Text)] publ... 阅读全文
posted @ 2016-07-12 15:16 tongdengquan 阅读(551) 评论(0) 推荐(0) 编辑

时间格式字符串中,大小写字母的解释

摘要: 原文地址 http://blog.csdn.net/u013400939/article/details/47761113 d 月中的某一天。一位数的日期没有前导零。 dd 月中的某一天。一位数的日期有一个前导零。 ddd ... 阅读全文
posted @ 2016-07-08 17:51 tongdengquan 阅读(444) 评论(0) 推荐(0) 编辑

subversion SVN global ignore pattern

摘要: *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store */bin */obj */Release */Debug *.suo *.err *.log *.obj *.... 阅读全文
posted @ 2016-07-06 14:28 tongdengquan 阅读(151) 评论(0) 推荐(0) 编辑

.net项目svn项目管理文件清单

摘要: You can add the following files to Visual Studio source control: Solution files (*.sln). Project files, for example, *.csproj, *.vbproj files. App... 阅读全文
posted @ 2016-07-04 10:23 tongdengquan 阅读(163) 评论(0) 推荐(0) 编辑

nopcommerce插件相关

摘要: 注意Description.txt中,以下字段必须配置当前可用。我抄人家代码的时候,人家是3.4 我也配成3.4,结果我的nop是3.7的,后台半天显示不出来插件,浪费了一下午。 阅读全文
posted @ 2016-06-22 17:20 tongdengquan 阅读(91) 评论(0) 推荐(0) 编辑

vs2013执行Add-Migration出现的问题

摘要: 1、 无法将“Add-Migration”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次 网上解决方法为:http://www.cnblogs.com/pari-Zhong/p/5339028.html 我用的第二个方... 阅读全文
posted @ 2016-06-21 12:41 tongdengquan 阅读(396) 评论(0) 推荐(0) 编辑

jquery为多个元素添加事件

摘要: html ${model.name} 选择 jquery 阅读全文
posted @ 2016-06-07 16:45 tongdengquan 阅读(1397) 评论(0) 推荐(0) 编辑

在JavaScript中创建命名空间的几种写法

摘要: 在JavaScript中全局变量经常会引起命名冲突,甚至有时侯重写变量也不是按照你想像中的顺序来的,可以看看下面的例子: var sayHello = function() { return 'Hello var';};function sayHello(name) { retur... 阅读全文
posted @ 2016-06-07 10:12 tongdengquan 阅读(222) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 21 下一页