<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ClassStudent.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "ClassStudentClassInfoName": //ClassStudent_ClassInfoName_班级名称 %> <% break; case "ClassStudentUserDomainName": //ClassStudent_UserDomainName_平台名称 %> <% break; case "ClassStudentUserDomainCode": //ClassStudent_UserDomainCode_平台编码 %> <% break; case "ClassStudentUserUserTypeName": //ClassStudent_UserUserTypeName_用户类型名称 %> <% break; case "ClassStudentUserTrueName": //ClassStudent_UserTrueName_真实名称 %> <% break; case "ClassStudentUserUserName": //ClassStudent_UserUserName_用户名 %> <% break; case "SortNumber": //ClassStudent_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "ClassStudentClassInfoName": %> <% break; case "ClassStudentUserDomainName": %> <% break; case "ClassStudentUserDomainCode": %> <% break; case "ClassStudentUserUserTypeName": %> <% break; case "ClassStudentUserTrueName": %> <% break; case "ClassStudentUserUserName": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("ClassStudent_ClassInfoName_班级名称").HtmlEncode() %> <%= OrderBy("_ClassInfo.Name") %> ',event)"> <%= Define.Get("ClassStudent_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("ClassStudent_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("ClassStudent_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("ClassStudent_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("ClassStudent_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("ClassStudent_排序号").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 %>