[Display(Name = 'Current User')] public string UserName{get;set;} @Html.DisplayNameFor(m => m.Username) So in the browser it will display 'Current User'.
確定! 回上一頁