摘要: 今天在做登录注册的时候 使用MVC的验证属性发现Compare这个属性 引用出问题编译时是 引用不明确原因是在mvc3上是可以同时引用using System.ComponentModel.DataAnnotations;using System.Web.Mvc; 但是到了4好像就改了 具体怎么改的不清楚 查看了一下命名空间修改了mvc3中是using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;namespace System.Web.Mvc{ // 摘要: ... 阅读全文
posted @ 2013-12-18 00:15 风飞萧雪 阅读(341) 评论(0) 推荐(0) 编辑