<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.LLScoreItem.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "LLScoreItemListenLessonName": //LLScoreItem_ListenLessonName_听课名称 %> <% break; case "LLScoreItemSTScoreTypeName": //LLScoreItem_STScoreTypeName_类型名称 %> <% break; case "Name": //LLScoreItem_评分项 %> <% break; case "Description": //LLScoreItem_描述 %> <% break; case "ScoreRatio": //LLScoreItem_评分比例 %> <% break; case "CreateTime": //LLScoreItem_创建时间 %> <% break; case "SortNumber": //LLScoreItem_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "LLScoreItemListenLessonName": %> <% break; case "LLScoreItemSTScoreTypeName": %> <% break; case "Name": %> <% break; case "Description": %> <% break; case "ScoreRatio": %> <% break; case "CreateTime": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("LLScoreItem_ListenLessonName_听课名称").HtmlEncode() %> <%= OrderBy("_ListenLesson.Name") %> ',event)"> <%= Define.Get("LLScoreItem_STScoreTypeName_类型名称").HtmlEncode() %> <%= OrderBy("_STScoreType.Name") %> ',event)"> <%= Define.Get("LLScoreItem_评分项").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("LLScoreItem_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("LLScoreItem_评分比例").HtmlEncode() %> <%= OrderBy("ScoreRatio") %> ',event)"> <%= Define.Get("LLScoreItem_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("LLScoreItem_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
"> <%= ViewData.Val("ParentListenLesson.Name", item) %> "> <%= ViewData.Val("ParentSTScoreType.Name", item) %> <%= item.Name %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.ScoreRatio %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= item.SortNumber %>