mình đang làm 1 ứng dụng về search data phía trên bảng gridview vì 2 thằng trong cùng 1 view nên hiện giờ mình ko biết phải gọi thằng model đấy ra như thế nào mong dc mọi người giúp đỡ đây là đoạn code :

Mã:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AllWeb.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<PNKBproject.Models.TourPackModels>>" %>
Mã:
 <% using (Html.BeginForm()) {%>
                        <%: Html.ValidationSummary(true) %>
                            <a>Departure:</a><%:Html.DropDownListFor(model => model.DeparturePosition, (IEnumerable<SelectListItem>)ViewData["items"])%>
                            <a>Destination:</a><%:Html.DropDownList("destination")%>
                            <a>Cost:</a><%:Html.DropDownList("cost")%><a>(VND)</a>
                            <a>Date: </a><input type="text"                            <input type="submit" value="Search" />
                        <%} %>
đây là ảnh lỗi


thanks mọi người đã đọc bài [IMG]images/smilies/biggrin.png[/IMG]