<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.AgentServer.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Name": //AgentServer_服务器名称 %> <% break; case "IPAddress": //AgentServer_服务器Web地址 %> <% break; case "DBUser": //AgentServer_转播SID %> <% break; case "FilePath": //AgentServer_存储文件路径 %> <% break; case "DefaultAgent": //AgentServer_默认转发类型 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Name": %> <% break; case "IPAddress": %> <% break; case "DBUser": %> <% break; case "FilePath": %> <% break; case "DefaultAgent": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("AgentServer_服务器名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("AgentServer_服务器Web地址").HtmlEncode() %> <%= OrderBy("IPAddress") %> ',event)"> <%= Define.Get("AgentServer_转播SID").HtmlEncode() %> <%= OrderBy("DBUser") %> ',event)"> <%= Define.Get("AgentServer_存储文件路径").HtmlEncode() %> <%= OrderBy("FilePath") %> ',event)"> <%= Define.Get("AgentServer_默认转发类型").HtmlEncode() %> <%= OrderBy("DefaultAgent") %>
<%= item.Name %> <%= item.IPAddress %> <%= item.DBUser %> <%= item.FilePath %> <%= item.DefaultAgent != null ? ((AVA.ResourcesPlatform.Model.Pub.AgentServerDefaultAgentEnum)item.DefaultAgent).Define() : null %>