%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Textbook.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "TextbookPressName": //Textbook_PressName_出版社名称 %> | ',event)"> <%= Define.Get("Textbook_PressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Press.Name") %> | <% break; case "TextbookGradeName": //Textbook_GradeName_年级名称 %>',event)"> <%= Define.Get("Textbook_GradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> | <% break; case "TextbookCategoryName": //Textbook_CategoryName_学科名称 %>',event)"> <%= Define.Get("Textbook_CategoryName_学科名称").HtmlEncode() %> <%= OrderBy("_Category.Name") %> | <% break; case "Name": //Textbook_课本名称 %>',event)"> <%= Define.Get("Textbook_课本名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Cover": //Textbook_封面 %>',event)"> <%= Define.Get("Textbook_封面").HtmlEncode() %> <%= OrderBy("Cover") %> | <% break; case "Description": //Textbook_描述 %>',event)"> <%= Define.Get("Textbook_描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //Textbook_排序号 %>',event)"> <%= Define.Get("Textbook_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "TextbookPressName": %> | "> <%= ViewData.Val("ParentPress.Name", item) %> | <% break; case "TextbookGradeName": %>"> <%= ViewData.Val("ParentGrade.Name", item) %> | <% break; case "TextbookCategoryName": %>"> <%= ViewData.Val("ParentCategory.Name", item) %> | <% break; case "Name": %><%= item.Name %> | <% break; case "Cover": %><%= IMG(SettingGroup.TextbookUploadPath, item.Cover) %> <%= item.Cover %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>