%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.LLUserFile.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "LLUserFileLLUserUserUserName": //LLUserFile_LLUserUserUserName_用户用户名 %> | ',event)"> <%= Define.Get("LLUserFile_LLUserUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_LLUser._User.UserName") %> | <% break; case "LLUserFileLLUserGuid": //LLUserFile_LLUserGuid_Guid %>',event)"> <%= Define.Get("LLUserFile_LLUserGuid_Guid").HtmlEncode() %> <%= OrderBy("_LLUser.Guid") %> | <% break; case "LLUserFileLLApplicationListenLessonName": //LLUserFile_LLApplicationListenLessonName_听课信息表听课名称 %>',event)"> <%= Define.Get("LLUserFile_LLApplicationListenLessonName_听课信息表听课名称").HtmlEncode() %> <%= OrderBy("_LLApplication._ListenLesson.Name") %> | <% break; case "LLUserFileLLApplicationGuid": //LLUserFile_LLApplicationGuid_Guid %>',event)"> <%= Define.Get("LLUserFile_LLApplicationGuid_Guid").HtmlEncode() %> <%= OrderBy("_LLApplication.Guid") %> | <% break; case "Name": //LLUserFile_附件名称 %>',event)"> <%= Define.Get("LLUserFile_附件名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "FileType": //LLUserFile_文件类型 %>',event)"> <%= Define.Get("LLUserFile_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> | <% break; case "FileName": //LLUserFile_文件名 %>',event)"> <%= Define.Get("LLUserFile_文件名").HtmlEncode() %> <%= OrderBy("FileName") %> | <% break; case "FileSize": //LLUserFile_文件大小 %>',event)"> <%= Define.Get("LLUserFile_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> | <% break; case "Description": //LLUserFile_附件说明 %>',event)"> <%= Define.Get("LLUserFile_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "Commnt": //LLUserFile_点评 %>',event)"> <%= Define.Get("LLUserFile_点评").HtmlEncode() %> <%= OrderBy("Commnt") %> | <% break; case "CreateTime": //LLUserFile_创建时间 %>',event)"> <%= Define.Get("LLUserFile_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> | <% break; case "SortNumber": //LLUserFile_排序号 %>',event)"> <%= Define.Get("LLUserFile_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "LLUserFileLLUserUserUserName":
%>
"> <%= ViewData.Val("ParentLLUser.ParentUser.UserName", item) %> | <% break; case "LLUserFileLLUserGuid": %>"> <%= ViewData.Val("ParentLLUser.Guid", item) %> | <% break; case "LLUserFileLLApplicationListenLessonName": %>"> <%= ViewData.Val("ParentLLApplication.ParentListenLesson.Name", item) %> | <% break; case "LLUserFileLLApplicationGuid": %>"> <%= ViewData.Val("ParentLLApplication.Guid", item) %> | <% break; case "Name": %><%= item.Name %> | <% break; case "FileType": %><%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.LLUserFileFileTypeEnum)item.FileType).Define() : null %> | <% break; case "FileName": %><%= File(SettingGroup.LLUserFileUploadPath, item.FileName) %> <%= item.FileName %> | <% break; case "FileSize": %><%= item.FileSize %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "Commnt": %><%= new HtmlSpan(item.Commnt) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "CreateTime": %><%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>