<%@ Page Language="vb" AutoEventWireup="false" Codebehind="NewsClass2.aspx.vb" Inherits="LuckBet.NewsClass2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>NewsClass2</title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../Styles.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" style="FONT-SIZE: 12px; LETTER-SPACING: 1px" cellSpacing="0" borderColorDark="#ffffff"
				cellPadding="3" width="100%" align="center" bgColor="#c5d5e4" borderColorLight="#335078"
				border="1">
				<TR bgColor="#b6ebc4">
					<TD style="HEIGHT: 35px" align="center" width="100%" bgColor="#d8e1eb" colSpan="6"><FONT face="宋体"><FONT size="2"><FONT style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: #000066" color="#ffffff">
									<asp:Label id="lblNewsClass1" runat="server"></asp:Label>
									&nbsp; 二&nbsp;级 分 类 &nbsp;管 理<BR>
									<asp:HyperLink id="HyperLink1" runat="server">返回一级分类</asp:HyperLink></FONT></FONT></FONT></TD>
				</TR>
				<TR>
					<TD align="left">
						<asp:datagrid id="dbpubInfoList" runat="server" DataKeyField="I" BackColor="White" AutoGenerateColumns="False"
							CellPadding="3" PageSize="12" BorderColor="#93BEE2" BorderWidth="1px" BorderStyle="None" Width="100%">
							<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
							<AlternatingItemStyle Font-Size="X-Small" BackColor="#E8F4FF"></AlternatingItemStyle>
							<ItemStyle Font-Size="X-Small" ForeColor="#003399" BackColor="White"></ItemStyle>
							<HeaderStyle Font-Size="X-Small" ForeColor="White" BackColor="#337FB2"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="分类名称">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
									<ItemTemplate>
										<asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>'>
										</asp:Label>&nbsp;&nbsp;&nbsp;[&nbsp;<a href ='NewsClass3.aspx?NewsClass1=<%# DataBinder.Eval(Container, "DataItem.id") %>&NewsClass2=<%# DataBinder.Eval(Container, "DataItem.twoid") %>'>子分类</a>&nbsp;]
									</ItemTemplate>
									<EditItemTemplate>
										<asp:TextBox id=name runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name") %>'>
										</asp:TextBox>
									</EditItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="显示顺序">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
									<ItemTemplate>
										<asp:Label id=Label2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.indexid") %>'>
										</asp:Label>
									</ItemTemplate>
									<EditItemTemplate>
										<asp:TextBox id=indexid runat="server" Width="58px" Text='<%# DataBinder.Eval(Container, "DataItem.indexid") %>'>
										</asp:TextBox>
									</EditItemTemplate>
								</asp:TemplateColumn>
								<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:EditCommandColumn>
								<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:ButtonColumn>
							</Columns>
							<PagerStyle NextPageText="下一页" Font-Size="X-Small" PrevPageText="上一页" HorizontalAlign="Right"
								ForeColor="#003399" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
					</TD>
				</TR>
				<TR bgColor="#b6ebc4">
					<TD style="HEIGHT: 35px" align="center" width="100%" bgColor="#d8e1eb" colSpan="6"><FONT face="宋体"><FONT size="2"><FONT face="宋体"><FONT size="2"><FONT style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: #000066" color="#ffffff">
											添 加&nbsp;二 级 分 类 </FONT></FONT></FONT></FONT></FONT>
					</TD>
				</TR>
				<TR>
					<TD align="center"><TABLE id="Table2" style="WIDTH: 385px; HEIGHT: 56px" cellSpacing="0" cellPadding="0" width="385"
							border="0">
							<TR>
								<TD style="HEIGHT: 25px" align="center">分类名称</TD>
								<TD style="HEIGHT: 25px" align="center">显示顺序</TD>
								<TD rowspan="2"></TD>
							</TR>
							<TR>
								<TD align="center">
									<asp:TextBox id="txtname" runat="server"></asp:TextBox></TD>
								<TD align="center">
									<asp:TextBox id="txtindexid" runat="server" Width="54px"></asp:TextBox></TD>
								<TD rowspan="2"><asp:Button id="Button1" runat="server" Width="70px" Text="添 加" Height="25px"></asp:Button></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
