<%@ Page CodeBehind="admin_kind1.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_kind1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<% @ Import Namespace="Webdisk" %>
		<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" HeaderText="ID">
							<HeaderStyle HorizontalAlign="Center" Width="5%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:BoundColumn>
						<asp:BoundColumn DataField="kind" ReadOnly="True" HeaderText="类别名称">
							<HeaderStyle HorizontalAlign="Center" Width="20%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:BoundColumn>
						<asp:BoundColumn DataField="korder" HeaderText="排序">
							<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:BoundColumn>
						<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="id" DataNavigateUrlFormatString="admin_kind1.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>
		<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>
                  <p align="center">
                  <asp:Panel ID="Panel1" runat="server" Visible="False">
                    <div align="center">类别名称：
                        <input class="tableTdtext" id="kind2" type="text" name="kind2" runat="server">
                      排序：
                      <input class="tableTdtext" id="korder2" type="text" size="3" name="korder2" runat="server">
                      <asp:Button class="formbutton" ID="Button1" runat="server" Width="50px" Text="修改" onclick="Button1_Click"></asp:Button>
                      <input id="hidid" style="WIDTH: 33px; HEIGHT: 22px" type="hidden" size="1" name="hidid"
							runat="server">
                    </div>
                </asp:Panel></td>
              </tr>
            </table>
		</form>
	</body>
</HTML>
