<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UnitMaster.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //UnitMaster_状态 %> <% break; case "Name": //UnitMaster_管理部门名称 %> <% break; case "Address": //UnitMaster_管理部门地址 %> <% break; case "Phone": //UnitMaster_单位电话 %> <% break; case "SortNumber": //UnitMaster_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "Name": %> <% break; case "Address": %> <% break; case "Phone": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("UnitMaster_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("UnitMaster_管理部门名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("UnitMaster_管理部门地址").HtmlEncode() %> <%= OrderBy("Address") %> ',event)"> <%= Define.Get("UnitMaster_单位电话").HtmlEncode() %> <%= OrderBy("Phone") %> ',event)"> <%= Define.Get("UnitMaster_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitMasterStatusEnum)item.Status).Define() : null %> <%= item.Name %> <%= item.Address %> <%= item.Phone %> <%= item.SortNumber %>