I am using entity framework and .net 4.5 with c#5 for first time from last 2-3 days and i want to display a input type as password field but don't know how to do it
@Html.EditorFor(model => model.Password)
@Html.ValidationMessageFor(model => model.Password)
I want this field as hidden but i don't know how. Please help.
And also i want to check this field with
<input id="repwd" type="password" name="repwd"/>
to confirm if the password is correct