@model IEnumerable @{ ViewBag.Title = "品种波动率调整"; Layout = "~/Views/Shared/_LayoutMini.cshtml"; } @section CSS{ } @section JS{ }
模板文件
@{ var result = ViewData["ImportResult"] as ImportResultModel; if (result != null) { @await Html.PartialAsync("~/Views/Common/ImportResult.cshtml", result) } } @foreach (var item in Model) { }
品种代码 历史波动率(%)
@(item.VarietyCode)  %