How do I convert a textbox type to password in asp.net mvc?
Just write in Razor View i.e. in .cshtml file below line
@Html.PasswordFor(m=>m.Password)
Here m is model object and password is the password field name.