<%@ Page CodeBehind="admin_kind1.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Typhoto.admin_kind1" %>
<!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" GridLines="None" AutoGenerateColumns="False"
					Width="100%" PageSize="20" AllowSorting="True">
<AlternatingItemStyle CssClass="GridLine">
</AlternatingItemStyle>

<ItemStyle CssClass="GridItem">
</ItemStyle>

<HeaderStyle CssClass="GridHead">
</HeaderStyle>

<Columns>
<asp:BoundColumn DataField="id" ReadOnly="True" HeaderText="ID">
<HeaderStyle HorizontalAlign="Center" Width="5%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="kind" HeaderText="类别名称">
<HeaderStyle HorizontalAlign="Center">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="korder" HeaderText="排序">
<HeaderStyle HorizontalAlign="Center">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑">
<HeaderStyle HorizontalAlign="Center" Width="10%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:EditCommandColumn>
<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>
			<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
				<tr>
					<th height="25">
						操作区</th>
				</tr>
				<tr>
					<td align="center"><p align="center">类别名称： <input id="kind1" class="tableTdtext" type="text" name="kind1" runat="server">
							排序： <input id="korder1" class="tableTdtext" type="text" size="3" name="korder1" runat="server">
							<asp:Button ID="btnlock" runat="server" Width="50px" class="formbutton" Text="添加" onclick="btnlock_Click"></asp:Button>
						</p>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
