⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 background_advertisementgroup.aspx

📁 一个真正的CMS系统,可以完全实现建站自动化,用.NET开发.
💻 ASPX
字号:
<%@ Page Language="C#" Inherits="SiteServer.BackgroundPages.BackgroundAdvertisementGroup" %>

<html>
<head>
<!--#include file="../inc/html_head.inc"-->
<script language="javascript" src="../Inc/toggle.js"></script>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
</head>
<body>
<asp:Label id="myLabel" width="100%" Style="text-align:center" runat="server"/>
<form id="myForm" Style="margin:0px" runat="server">
<table width="90%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-t-left"></td>
<td class="mframe-t-mid">
	<span class="mframe-t-text">管理广告集合</span>
</td>
<td class="mframe-t-right"></td>
</tr>
</table>
<table width="90%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-m-left"></td>
<td class="mframe-m-mid">
		<ASP:DataGrid id="MyDataGrid" runat="server"
			Width="100%"
			Align="center"
			ShowHeader="true"
			ShowFooter="false"
			CellPadding="0"
			AutoGenerateColumns="false"
			DataKeyField="GroupName"
			OnItemDataBound="MyDataGrid_ItemBound"
			HeaderStyle-CssClass="summary-title"
			ItemStyle-CssClass="tdbg"
			CellSpacing="0" >
		<HeaderStyle HorizontalAlign="center" Height="25" />
		<ItemStyle Height="25"/>

		<Columns>
			<asp:BoundColumn
				HeaderText="广告集合名称"
				DataField="GroupName" >
				<ItemStyle Width="130" HorizontalAlign="center" />
			</asp:BoundColumn>
			<asp:TemplateColumn
				HeaderText="绑定的模版">
				<ItemTemplate>
					<%# GetTemplateNameCollection((string)DataBinder.Eval(Container.DataItem,"GroupName"))%>
				</ItemTemplate>
				<ItemStyle HorizontalAlign="center" />
			</asp:TemplateColumn>
			<asp:TemplateColumn>
				<ItemTemplate>
					<a href="background_advertisementGroupAdd.aspx?PublishmentSystemID=<%=Request.QueryString["PublishmentSystemID"]%>&GroupName=<%# DataBinder.Eval(Container.DataItem,"GroupName")%>">编辑</a>
				</ItemTemplate>
				<ItemStyle Width="50" HorizontalAlign="center" />
			</asp:TemplateColumn>
			<asp:TemplateColumn>
				<ItemTemplate>
					<a href="background_advertisementGroup.aspx?PublishmentSystemID=<%=Request.QueryString["PublishmentSystemID"]%>&Delete=True&GroupName=<%# DataBinder.Eval(Container.DataItem,"GroupName")%>" onClick="javascript:return confirm('此操作将删除广告集合“<%# DataBinder.Eval(Container.DataItem,"GroupName")%>”,确认吗?');">删除</a>
				</ItemTemplate>
				<ItemStyle Width="50" HorizontalAlign="center" />
			</asp:TemplateColumn>
		</Columns>
	</ASP:DataGrid>

	
</td>
<td class="mframe-m-right"></td>
</tr>
</table>
<table width="90%" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td class="mframe-b-left"></td>
<td class="mframe-b-mid">&nbsp;</td>
<td class="mframe-b-right"></td>
</tr>
</table>
<table width="90%" align="center" cellspacing="0" cellpadding="0" >
  <tr>
    <td align="center" ><a href="background_advertisementGroupAdd.aspx?PublishmentSystemID=<%=Request.QueryString["PublishmentSystemID"]%>" >新增广告集合</a> </td>
  </tr>
</table>
</form>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -