Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\SyncRemark\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SyncRemark.Select1" %> <table class="g-table-comm" cellpadding="2px" cellspacing="0px"> <tr class="thead"> <th class="wd0"> </th> <th class="wd1"> </th> <% foreach (var field in this.Fields) { switch (field) { case "MasterDomainName": //SyncRemark_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"MasterDomainName").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_????????").HtmlEncode() %> <%= OrderBy("MasterDomainName") %> </span> </th> <% break; case "SubDomainName": //SyncRemark_???????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SubDomainName").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_????????").HtmlEncode() %> <%= OrderBy("SubDomainName") %> </span> </th> <% break; case "ImportType": //SyncRemark_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"ImportType").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_??????").HtmlEncode() %> <%= OrderBy("ImportType") %> </span> </th> <% break; case "CreatTime": //SyncRemark_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreatTime").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_??????").HtmlEncode() %> <%= OrderBy("CreatTime") %> </span> </th> <% break; case "BeginTime": //SyncRemark_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"BeginTime").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_???????").HtmlEncode() %> <%= OrderBy("BeginTime") %> </span> </th> <% break; case "EndTime": //SyncRemark_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "Status": //SyncRemark_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_???????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "Description": //SyncRemark_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_??????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //SyncRemark_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("SyncRemark_?????").HtmlEncode() %> <%= OrderBy("SortNumber") %> </span> </th> <% break; } } %> </tr> <% foreach (var item in this.ListData) { %> <tr class="trout"> <td class="wd0 summary" title="<%= DefineEnum.??????????.Define() %>" onclick="GetSummary(this,'/Pub/SyncRemark/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.MasterDomainName.ToString(null).ToScriptTag() %>");"> </td> <% foreach (var field in this.Fields) { switch (field) { case "MasterDomainName": %> <td> <span title="<%= item.MasterDomainName.ToString(string.Empty).ToScriptTag() %>"> <%= item.MasterDomainName %> </span> </td> <% break; case "SubDomainName": %> <td> <span title="<%= item.SubDomainName.ToString(string.Empty).ToScriptTag() %>"> <%= item.SubDomainName %> </span> </td> <% break; case "ImportType": %> <td> <span title="<%= (item.ImportType != null ? ((AVA.ResourcesPlatform.Model.Pub.SyncRemarkImportTypeEnum)item.ImportType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.ImportType != null ? ((AVA.ResourcesPlatform.Model.Pub.SyncRemarkImportTypeEnum)item.ImportType).Define() : null %> </span> </td> <% break; case "CreatTime": %> <td> <span title="<%= item.CreatTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreatTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "BeginTime": %> <td> <span title="<%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.SyncRemarkStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.SyncRemarkStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "Description": %> <td> <span title="<%= item.Description.ToString(string.Empty).ToScriptTag() %>"> <%= item.Description %> </span> </td> <% break; case "SortNumber": %> <td> <span title="<%= item.SortNumber.ToString(string.Empty).ToScriptTag() %>"> <%= item.SortNumber %> </span> </td> <% break; } } %> </tr> <% } %> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de