@model HelloWorldMvcApp.User
<h2><b> Employee Registration</b></h2>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/
<src="//code.jquery.com/jquery-3.5.1.min.js"
<src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"
@using (Html.BeginForm("Index","Home", FormMethod.Post))
<tr><td><b>@Html.Label("name","Employee name :")</b></td>
<td>@Html.TextBox("name","")</td></tr>
<tr><td><b>@Html.Label("gender"," Gender :")</b></td>
<td>Male: @Html.RadioButton("gender","Male")
Female: @Html.RadioButton("gender","Female")</td> </tr>
<tr><td><b>@Html.Label("mobilenumber","Mobile number :")</b></td>
<td>@Html.TextBox("mobilenumber","")</td></tr>
<tr><td><b>@Html.Label("emailID","E-mail ID :")</b></td>
<td>@Html.TextBox("emailID","")</td></tr>
<tr><td><b>@Html.Label("address","Address :")</b></td>
<td>@Html.TextArea("address","",4,20,null)</td></tr>
<tr><td><b>@Html.Label("designation","Designation :")</b></td>
<td>@Html.DropDownList("Id",ViewBag.designationSelectList as SelectList, "Select Designation") </td></tr>
<tr><td><b>@Html.Label("dob","Date Of Birth :")</b>
<td> @Html.TextBoxFor(c => c.dob, new { id = "datepicker" })
</td></tr> <tr><td></td></tr>
<tr><td><button type="button" class="btn btn-success submit">Submit</button></td>
<td><button type="button" class="btn btn-success submit">Clear</button></td><tr>
<script type="text/javascript"> $(function () {
$("#datepicker").datepicker({