Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Unit\Select.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Unit.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 "Status": //Unit_???? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Status").ToScriptTag() %>',event)"> <%= Define.Get("Unit_????").HtmlEncode() %> <%= OrderBy("Status") %> </span> </th> <% break; case "UnitUnitMasterName": //Unit_UnitMasterName_????????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"_UnitMaster.Name").ToScriptTag() %>',event)"> <%= Define.Get("Unit_UnitMasterName_?????????").HtmlEncode() %> <%= OrderBy("_UnitMaster.Name") %> </span> </th> <% break; case "Name": //Unit_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Name").ToScriptTag() %>',event)"> <%= Define.Get("Unit_??????").HtmlEncode() %> <%= OrderBy("Name") %> </span> </th> <% break; case "Address": //Unit_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Address").ToScriptTag() %>',event)"> <%= Define.Get("Unit_??????").HtmlEncode() %> <%= OrderBy("Address") %> </span> </th> <% break; case "Phone": //Unit_?????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"Phone").ToScriptTag() %>',event)"> <%= Define.Get("Unit_??????").HtmlEncode() %> <%= OrderBy("Phone") %> </span> </th> <% break; case "SortNumber": //Unit_????? %> <th> <span onclick="Sort('<%= UserControlDefine.GetOrder(Query,"SortNumber").ToScriptTag() %>',event)"> <%= Define.Get("Unit_?????").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/Unit/summary','guid=<%= item.Guid %>')"> </td> <td class="wd1 select" onclick="Select("<%= item.Guid.ToString(null).ToScriptTag()%>","<%= item.Name.ToString(null).ToScriptTag() %>");"> <input type="checkbox" /> </td> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <td> <span title="<%= (item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitStatusEnum)item.Status).Define() : null).ToString(string.Empty).ToScriptTag() %>"> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitStatusEnum)item.Status).Define() : null %> </span> </td> <% break; case "UnitUnitMasterName": %> <td> <span title="<%= ViewData.Val("ParentUnitMaster.Name", item).ToString(string.Empty).ToScriptTag() %>"> <%= ViewData.Val("ParentUnitMaster.Name", item) %> </span> </td> <% break; case "Name": %> <td> <span title="<%= item.Name.ToString(string.Empty).ToScriptTag() %>"> <%= item.Name %> </span> </td> <% break; case "Address": %> <td> <span title="<%= item.Address.ToString(string.Empty).ToScriptTag() %>"> <%= item.Address %> </span> </td> <% break; case "Phone": %> <td> <span title="<%= item.Phone.ToString(string.Empty).ToScriptTag() %>"> <%= item.Phone %> </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