<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ClassTeacher.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "ClassTeacherClassInfoName": //ClassTeacher_ClassInfoName_班级名称 %> <% break; case "ClassTeacherUserDomainName": //ClassTeacher_UserDomainName_平台名称 %> <% break; case "ClassTeacherUserDomainCode": //ClassTeacher_UserDomainCode_平台编码 %> <% break; case "ClassTeacherUserUserTypeName": //ClassTeacher_UserUserTypeName_用户类型名称 %> <% break; case "ClassTeacherUserTrueName": //ClassTeacher_UserTrueName_真实名称 %> <% break; case "ClassTeacherUserUserName": //ClassTeacher_UserUserName_用户名 %> <% break; case "SortNumber": //ClassTeacher_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "ClassTeacherClassInfoName": %> <% break; case "ClassTeacherUserDomainName": %> <% break; case "ClassTeacherUserDomainCode": %> <% break; case "ClassTeacherUserUserTypeName": %> <% break; case "ClassTeacherUserTrueName": %> <% break; case "ClassTeacherUserUserName": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("ClassTeacher_ClassInfoName_班级名称").HtmlEncode() %> <%= OrderBy("_ClassInfo.Name") %> ',event)"> <%= Define.Get("ClassTeacher_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("ClassTeacher_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("ClassTeacher_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("ClassTeacher_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("ClassTeacher_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("ClassTeacher_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentClassInfo.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> <%= item.SortNumber %>