Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\ApplicationTimeSetting\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationTimeSetting.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 "ApplicationTimeSettingDomainName": //ApplicationTimeSetting_DomainName_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Name").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_DomainName_??????").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> </span> </th> <% break; case "ApplicationTimeSettingDomainCode": //ApplicationTimeSetting_DomainCode_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_Domain.Code").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_DomainCode_??????").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> </span> </th> <% break; case "IsWeek": //ApplicationTimeSetting_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"IsWeek").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_??????").HtmlEncode() %> <%= OrderBy("IsWeek") %> </span> </th> <% break; case "Chatper": //ApplicationTimeSetting_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Chatper").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_??????").HtmlEncode() %> <%= OrderBy("Chatper") %> </span> </th> <% break; case "StartTime": //ApplicationTimeSetting_??????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"StartTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_???????").HtmlEncode() %> <%= OrderBy("StartTime") %> </span> </th> <% break; case "EndTime": //ApplicationTimeSetting_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"EndTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_??????").HtmlEncode() %> <%= OrderBy("EndTime") %> </span> </th> <% break; case "InterLockTime": //ApplicationTimeSetting_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"InterLockTime").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_?????????").HtmlEncode() %> <%= OrderBy("InterLockTime") %> </span> </th> <% break; case "SortNumber": //ApplicationTimeSetting_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("ApplicationTimeSetting_?????").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/ApplicationTimeSetting/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.StartTime.ToString(null).ToScriptTag() %>");"><input type="checkbox" /></td> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationTimeSettingDomainName": %> <td> <span title="<%= ViewData.Val("ParentDomain.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Name", item) %> </span> </td> <% break; case "ApplicationTimeSettingDomainCode": %> <td> <span title="<%= ViewData.Val("ParentDomain.Code", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentDomain.Code", item) %> </span> </td> <% break; case "IsWeek": %> <td> <span title="<%= (item.IsWeek != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationTimeSettingIsWeekEnum)item.IsWeek).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.IsWeek != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationTimeSettingIsWeekEnum)item.IsWeek).Define() : null %> </span> </td> <% break; case "Chatper": %> <td> <span title="<%= item.Chatper %>"> <%= item.Chatper%> </span> </td> <% break; case "StartTime": %> <td> <span title="<%= item.StartTime.ToDateTimeN().ToTime() %>"> <%= item.StartTime.ToDateTimeN().ToTime()%> </span> </td> <% break; case "EndTime": %> <td> <span title="<%= item.EndTime.ToDateTimeN().ToTime() %>"> <%= item.EndTime.ToDateTimeN().ToTime()%> </span> </td> <% break; case "InterLockTime": %> <td> <span title="<%= item.InterLockTime.ToString(string.Empty).ToScriptTag() %>"> <%= item.InterLockTime ? "??" : "??" %> </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