Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\PushFileDownload\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PushFileDownLoad.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 "PushType": //PushFileDownLoad_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"PushType").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_???????").HtmlEncode() %> <%= OrderBy("PushType") %> </span> </th> <% break; case "FileType": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"FileType").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("FileType") %> </span> </th> <% break; case "PushFileDownLoadDomainName": //PushFileDownLoad_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "PushFileDownLoadDomainCode": //PushFileDownLoad_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "TargetGuid": //PushFileDownLoad_????????uid %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"TargetGuid").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_????????uid").HtmlEncode() %> <%= OrderBy("TargetGuid") %> </span> </th> <% break; case "Url": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Url").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("Url") %> </span> </th> <% break; case "CreateTime": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"CreateTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("CreateTime") %> </span> </th> <% break; case "QueueTime": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"QueueTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("QueueTime") %> </span> </th> <% break; case "StartTime": //PushFileDownLoad_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_???????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //PushFileDownLoad_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "Status": //PushFileDownLoad_?????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_??????????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "Description": //PushFileDownLoad_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Description").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_???????").HtmlEncode() %> <%= OrderBy("Description") %> </span> </th> <% break; case "SortNumber": //PushFileDownLoad_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("PushFileDownLoad_?????").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/PushFileDownLoad/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.TargetGuid.ToString(null).ToScriptTag() %>");"> </td> <% foreach (var field in this.Fields) { switch (field) { case "PushType": %> <td> <span title="<%= (item.PushType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadPushTypeEnum)item.PushType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.PushType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadPushTypeEnum)item.PushType).Define() : null %> </span> </td> <% break; case "FileType": %> <td> <span title="<%= (item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadFileTypeEnum)item.FileType).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadFileTypeEnum)item.FileType).Define() : null %> </span> </td> <% break; case "PushFileDownLoadDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> </td> <% break; case "PushFileDownLoadDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "TargetGuid": %> <td> <span title="<%= item.TargetGuid.ToString(string.Empty).ToScriptTag() %>"> <%= item.TargetGuid %> </span> </td> <% break; case "Url": %> <td> <span title="<%= item.Url.ToString(string.Empty).ToScriptTag() %>"> <%= item.Url %> </span> </td> <% break; case "CreateTime": %> <td> <span title="<%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "QueueTime": %> <td> <span title="<%= item.QueueTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.QueueTime.ToDateTimeN().ToAutoShortDate() %> </span> </td> <% break; case "StartTime": %> <td> <span title="<%= item.StartTime.ToDateTimeN().ToAutoShortDate() %>"> <%= item.StartTime.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.PushFileDownLoadStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadStatusEnum)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