@using Itlead.Architecture.Contract; @using Itlead.Architecture.Contract.DataContract; @model CourseData @{ Layout = null; } 修改课程信息 @**@ @**@ @using (Html.BeginForm("EditCourse", "Courses", FormMethod.Post, new { @Id = "form1" })) {
所属主题:
所属类别:
课程名称:
困难程度: @if (ViewData["diff"] != null) { int s = 1; foreach (var d in ViewData["diff"] as List) { if (@Model.DifficultyId != null) { if (@Model.DifficultyId.Value == d.DifficultyId) { } else { } } else { if (s == 1) { } else { } s = s + 1; } } }
指导老师:
是否展示: @if (Model.Ispass == true) { } else { }
是否收费: @if (Model.isfree == true) { } else { }
价格:
发布站点: @if (ViewBag.Site != null) { foreach (var site in ViewBag.Site as List) { if(Model.siteId!=null&&Model.siteId.Contains(site.Id.ToString())) {@(site.siteName + " ") } else { @(site.siteName + " ") } } }
课程图片: 正在上传,请稍候...
简单描述:
详细内容:
 
}