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