I want to know how to Filter record with the using of entity framework in ASP.NET MVC. Can anyone give me a solution.
Now. we have changed the index view of student. Code is as Follows:
@Html.ActionLink("Create New", "Create")
@using (Html.BeginForm("Index", "Student", FormMethod.Get))
Find by name: @Html.TextBox("SearchString", ViewBag.CurrentFilter as string)
<input type="submit" value="Search" />