Skip to content
Loading
  
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.lastname, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.lastname, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.lastname, "", new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.username, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.username, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.username, "", new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.password, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.password, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.password, "", new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.email, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.email, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.email, "", new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             class="col-md-offset-2 col-md-10">  
  •                 "submit" value="Create" class="btn btn-default" />  
  •               
  •           
  •       
  • }  
  •   
  •   
  •     @Html.ActionLink("Back to List", "Index")  
  •   
  •   
  • "~/Scripts/jquery-1.10.2.min.js">  
  • "~/Scripts/jquery.validate.min.js">  
  • "~/Scripts/jquery.validate.unobtrusive.min.js">  
  •  when I assigning the password in student model that is the main issue?
    0