<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PublicClassVideo.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "PublicClassVideoPublicClassUserTrueName": //PublicClassVideo_PublicClassUserTrueName_用户真实名称 %> <% break; case "PublicClassVideoPublicClassName": //PublicClassVideo_PublicClassName_评课名称 %> <% break; case "PublicClassVideoVideoUserDomainName": //PublicClassVideo_VideoUserDomainName_平台名称 %> <% break; case "PublicClassVideoVideoUserDomainCode": //PublicClassVideo_VideoUserDomainCode_平台编码 %> <% break; case "PublicClassVideoVideoUserUserTypeName": //PublicClassVideo_VideoUserUserTypeName_用户类型名称 %> <% break; case "PublicClassVideoVideoUserTrueName": //PublicClassVideo_VideoUserTrueName_用户真实名称 %> <% break; case "PublicClassVideoVideoUserUserName": //PublicClassVideo_VideoUserUserName_用户用户名 %> <% break; case "PublicClassVideoVideoName": //PublicClassVideo_VideoName_视频名称 %> <% break; case "Status": //PublicClassVideo_审核状态 %> <% break; case "CreaetTime": //PublicClassVideo_审核时间 %> <% break; case "SortNumber": //PublicClassVideo_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "PublicClassVideoPublicClassUserTrueName": %> <% break; case "PublicClassVideoPublicClassName": %> <% break; case "PublicClassVideoVideoUserDomainName": %> <% break; case "PublicClassVideoVideoUserDomainCode": %> <% break; case "PublicClassVideoVideoUserUserTypeName": %> <% break; case "PublicClassVideoVideoUserTrueName": %> <% break; case "PublicClassVideoVideoUserUserName": %> <% break; case "PublicClassVideoVideoName": %> <% break; case "Status": %> <% break; case "CreaetTime": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("PublicClassVideo_PublicClassUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_PublicClass._User.TrueName") %> ',event)"> <%= Define.Get("PublicClassVideo_PublicClassName_评课名称").HtmlEncode() %> <%= OrderBy("_PublicClass.Name") %> ',event)"> <%= Define.Get("PublicClassVideo_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType._Domain.Name") %> ',event)"> <%= Define.Get("PublicClassVideo_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._UserType._Domain.Code") %> ',event)"> <%= Define.Get("PublicClassVideo_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> ',event)"> <%= Define.Get("PublicClassVideo_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> ',event)"> <%= Define.Get("PublicClassVideo_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> ',event)"> <%= Define.Get("PublicClassVideo_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> ',event)"> <%= Define.Get("PublicClassVideo_审核状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("PublicClassVideo_审核时间").HtmlEncode() %> <%= OrderBy("CreaetTime") %> ',event)"> <%= Define.Get("PublicClassVideo_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentPublicClass.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentPublicClass.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentVideo.Name", item) %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PublicClassVideoStatusEnum)item.Status).Define() : null %> <%= item.CreaetTime.ToDateTimeN().ToTime() %> <%= item.SortNumber %>