<%@Page Language="C#" Inherits="IWMS.Admin.SelKey" MasterPageFile="admin_pop.master"%>
<asp:Content ContentPlaceHolderId="cphHead" runat="server">
	<script type="text/javascript">
	function selKey(name)
	{
		parent.SetKey(name);
	}
	</script>
</asp:Content>

<asp:Content ContentPlaceHolderId="cphMain" runat="server">

	<div class="mframe">
	<div class="tl"></div>
	<div class="rt"></div>
	<div class="tm">
		<table width="95%"><tr><td>
		<span class="tt">选择标签</span>
		</td><td align="right">
		<form action="" method="get">
		<input type="text" size="10" name="keyword"/> <input type="submit" value="搜索"/>
		</form>
		</td></tr>
		</table>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
	<form id="myForm" runat="server">
		<ASP:DataGrid id="MyDataGrid" runat="server"
				Width="100%"
				align="center"
				ShowHeader="false"
				ShowFooter="false"
				AllowPaging="true"
				PageSize="8"
				AutoGenerateColumns="false"
				DataKeyField="name"
				OnPageIndexChanged="MyDataGrid_Page"
				CssClass="grid"
				HeaderStyle-CssClass="gridHead"
				ItemStyle-CssClass="tdbg"
				CellPadding="5"
				CellSpacing="0" >
			<HeaderStyle HorizontalAlign="center" />
			<PagerStyle/>
			
			<Columns>
				<asp:TemplateColumn
					HeaderText="标签"
					>
					<ItemTemplate>
					<a href="javascript:selKey('<%#Eval("name")%>')"><%#Eval("name")%></a>
					</ItemTemplate>
				</asp:TemplateColumn>
			</Columns>
		</ASP:DataGrid>	
	</form>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>

</asp:Content>