日期:2014-05-16 浏览次数:20431 次
@*@using (Ajax.BeginForm("index", new RouteValueDictionary { { "id", "" } }, new AjaxOptions { UpdateTargetId = "car", InsertionMode = InsertionMode.Replace }, new RouteValueDictionary { { "id", "searchForm" } }))
{*@
@using (Html.BeginForm("index", "single", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
@Html.DropDownList("Attribute")
<div>Excel数据源:<input id="File1" name="file" type="file" /></div>
<div style="padding-top: 10px;">
<input style="border-radius: 10px; cursor: pointer;" type="submit" value="导入" />
</div>
}
@{ViewData.Add("CrowdTypeList", ViewData["CrowdTypeList"]);}
<div id="car">
@Html.Partial("_CarIndex", ViewBag.Car_OwnersList as List<Car_Owners>)
</div>
@section Scripts
{
@{Html.RegisterMvcPagerScriptResource();}
<script type="text/javascript" src="/Scripts/jquery.unobtrusive-ajax.min.js"></script>}