<%@ Page CodeBehind="admin_copyurl.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Typhoto.admin_copyurl" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<link href="img/main.css" rel="stylesheet" type="text/css">
			<style type="text/css">.style1 { FONT-WEIGHT: bold; COLOR: #ffffff }
		</style>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" id="brb"
				height="27">
				<tr>
					<td colSpan="3" class="td_title">复制管理
					</td>
				</tr>
			</table>
			<DIV align="center"><asp:datagrid id="DataGrid" runat="server" CssClass="GridBody" AutoGenerateColumns="False" Width="100%"
					PageSize="20" AllowSorting="True">
					<AlternatingItemStyle CssClass="GridLine"></AlternatingItemStyle>
					<ItemStyle CssClass="GridItem"></ItemStyle>
					<HeaderStyle CssClass="GridHead"></HeaderStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
<asp:BoundColumn DataField="title" ReadOnly="True" HeaderText="文字">
<HeaderStyle HorizontalAlign="Center" Width="10%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="代码">
<HeaderStyle HorizontalAlign="Center">
</HeaderStyle>

<ItemTemplate>
								<asp:Label runat="server" Text='<%# show1(DataBinder.Eval(Container, "DataItem.code").ToString()) %>'>
								</asp:Label>
							
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="短地址">
<HeaderStyle HorizontalAlign="Center" Width="7%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<ItemTemplate>
								<asp:Label runat="server" Text='<%# show(DataBinder.Eval(Container, "DataItem.sht").ToString()) %>'>
								</asp:Label>
							
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="默认">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<ItemTemplate>
								<asp:Label runat="server" Text='<%# show(DataBinder.Eval(Container, "DataItem.mr").ToString()) %>'>
								</asp:Label>
							
</ItemTemplate>
</asp:TemplateColumn>
<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="id" DataNavigateUrlFormatString="admin_copyurl_add.aspx?id={0}" HeaderText="编辑">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:HyperLinkColumn>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:ButtonColumn>
</Columns>
					<PagerStyle PageButtonCount="20" Mode="NumericPages"></PagerStyle>
				</asp:datagrid></DIV>
		</form>
	</body>
</HTML>
