<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Sys.DatabaseBackup.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "FactoryName": //DatabaseBackup_数据库名称 %> <% break; case "FileName": //DatabaseBackup_文件名 %> <% break; case "FileSize": //DatabaseBackup_文件大小 %> <% break; case "DataVersion": //DatabaseBackup_数据版本 %> <% break; case "BackupTime": //DatabaseBackup_备份时间 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "FactoryName": %> <% break; case "FileName": %> <% break; case "FileSize": %> <% break; case "DataVersion": %> <% break; case "BackupTime": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("DatabaseBackup_数据库名称").HtmlEncode() %> <%= OrderBy("FactoryName") %> ',event)"> <%= Define.Get("DatabaseBackup_文件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("DatabaseBackup_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("DatabaseBackup_数据版本").HtmlEncode() %> <%= OrderBy("DataVersion") %> ',event)"> <%= Define.Get("DatabaseBackup_备份时间").HtmlEncode() %> <%= OrderBy("BackupTime") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= item.FactoryName %> <%= item.FileName %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize.ToDouble()) %> <%= item.DataVersion %> <%= item.BackupTime.ToDateTimeN().ToAutoShortDate() %>