阅读背景:

在#MVC3中有没有办法使用DataAnnotations属性添加HTML5占位符属性?

来源:互联网 

given this is my model

鉴于这是我的模特

public class ValidationModel
{
    #region Properties

    [Display(Prompt = "type a PostCode here")]
    public string PostCode { get; set; }

}
public clas



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: