@* Html.BeginForm is used to add a form in an Html document * @@ * Pass the action name in the first parameter, controller name in the second parameter and specify the form request type as get *@
@using (Html.BeginForm("Index", "Home", FormMethod.Get))
{
//the following are search options
Search Option: < /b>@Html.RadioButton("option", "Name") Name @Html.RadioButton("option", "Gender") < text > Gender < /text>
@Html.RadioButton("option", "Subjects")Subject @Html.TextBox("search") < input type = "submit"
name = "submit"
value = "Search" / >
}