<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ClassInfo.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //ClassInfo_状态 %> <% break; case "ClassInfoUserTrueName": //ClassInfo_UserTrueName_真实名称 %> <% break; case "ClassInfoUserUserName": //ClassInfo_UserUserName_用户名 %> <% break; case "ClassInfoGradeName": //ClassInfo_GradeName_年级名称 %> <% break; case "ClassInfoCategoryName": //ClassInfo_CategoryName_类型名称 %> <% break; case "ClassInfoDomainName": //ClassInfo_DomainName_平台名称 %> <% break; case "ClassInfoDomainCode": //ClassInfo_DomainCode_平台编码 %> <% break; case "Name": //ClassInfo_班级名称 %> <% break; case "CreateTime": //ClassInfo_创建时间 %> <% break; case "Description": //ClassInfo_描述 %> <% break; case "SortNumber": //ClassInfo_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "ClassInfoUserTrueName": %> <% break; case "ClassInfoUserUserName": %> <% break; case "ClassInfoGradeName": %> <% break; case "ClassInfoCategoryName": %> <% break; case "ClassInfoDomainName": %> <% break; case "ClassInfoDomainCode": %> <% break; case "Name": %> <% break; case "CreateTime": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("ClassInfo_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("ClassInfo_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("ClassInfo_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("ClassInfo_GradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> ',event)"> <%= Define.Get("ClassInfo_CategoryName_类型名称").HtmlEncode() %> <%= OrderBy("_Category.Name") %> ',event)"> <%= Define.Get("ClassInfo_DomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> ',event)"> <%= Define.Get("ClassInfo_DomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> ',event)"> <%= Define.Get("ClassInfo_班级名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("ClassInfo_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("ClassInfo_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("ClassInfo_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.ClassInfoStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentGrade.Name", item) %> "> <%= ViewData.Val("ParentCategory.Name", item) %> "> <%= ViewData.Val("ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentDomain.Code", item) %> <%= item.Name %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>