ตัวอย่าง
จากไฟล์ Views/Movies/Index.cshtml เพิ่ม Code ด้านล่าง
@model IEnumerable<MvcMovie.Models.Movie> @{ ViewBag.Title = "Index"; } <h2>Index</h2> <p> @Html.ActionLink("Create New", "Create")@using (Html.BeginForm("Index", "Movies", FormMethod.Get)) { <p> Title: @Html.TextBox("SearchString") Genre: @Html.DropDownList("movieGenre", "All") <input type="submit" value="Filter" /> </p> }</p> <table class="table">


