⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.aspx

📁 用.net开发的一套管理系统,功能比较全,挺好用的啊!
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="product.aspx.cs" AutoEventWireup="false" Inherits="cms.product" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>product</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<form id="product" method="post" runat="server">
			<TABLE id="Table1" style="HEIGHT: 226px" cellSpacing="1" cellPadding="1" width="98%" align="center"
				border="1">
				<TR>
					<TD style="HEIGHT: 26px" bgColor="#cccccc" colSpan="2">
						<P align="center"><FONT face="宋体" size="6"><STRONG>产品信息</STRONG></FONT></P>
					</TD>
				</TR>
				<TR>
					<TD style="HEIGHT: 169px">
						<P><A href="users.aspx"><FONT face="宋体">用户信息</FONT></A></P>
						<P><A href="customer.aspx"><FONT face="宋体">客户信息</FONT></A></P>
						<P><A href="product.aspx"><FONT face="宋体">产品信息</FONT></A></P>
						<P><A href="customer_sale.aspx"><FONT face="宋体">客户销售统计</FONT></A></P>
						<P><A href="contract_stat.aspx"><FONT face="宋体">销售统计</FONT></A></P>
						<P><A href="contract.aspx"><FONT face="宋体">合同管理</FONT></A></P>
						<P><A href="updatepwd.aspx"><FONT face="宋体">修改密码</FONT></A></P>
					</TD>
					<TD style="HEIGHT: 169px" align="center"><FONT face="宋体">
							<P><asp:datagrid id="Dgd_product" runat="server" AutoGenerateColumns="False" PageSize="5" AllowPaging="True"
									OnPageIndexChanged="DataGrid_page" OnCancelCommand="DataGrid_cancel" OnDeleteCommand="DataGrid_delete"
									OnEditCommand="DataGrid_edit" OnUpdateCommand="DataGrid_update" DataKeyField="Product_id"
									Width="97%">
									<Columns>
										<asp:BoundColumn DataField="Product_id" HeaderText="产品编号"></asp:BoundColumn>
										<asp:BoundColumn DataField="Product_name" HeaderText="产品名称"></asp:BoundColumn>
										<asp:BoundColumn DataField="Product_describe" HeaderText="描述"></asp:BoundColumn>
										<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>
										<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
									</Columns>
									<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
								</asp:datagrid></P>
							<div align="center"><asp:panel id="Pn_id" Runat="server" Visible="False">
									<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="97%" align="center" border="1">
										<TR onmouseover="this.style.backgroundColor='#ffcccc'" onmouseout="this.style.backgroundColor=''">
											<TD>产品编号:</TD>
											<TD>
												<asp:TextBox id="Tbx_productid" runat="server"></asp:TextBox>
												<asp:CustomValidator id="Cv_id" runat="server" ErrorMessage="此编号已存在" ControlToValidate="Tbx_productid"></asp:CustomValidator></TD>
										</TR>
										<TR onmouseover="this.style.backgroundColor='#ffcccc'" onmouseout="this.style.backgroundColor=''">
											<TD>产品名称:</TD>
											<TD>
												<asp:TextBox id="Tbx_productname" runat="server"></asp:TextBox></TD>
										</TR>
										<TR onmouseover="this.style.backgroundColor='#ffcccc'" onmouseout="this.style.backgroundColor=''">
											<TD>描述:</TD>
											<TD>
												<asp:TextBox id="Tbx_introduce" runat="server"></asp:TextBox></TD>
										</TR>
										<TR onmouseover="this.style.backgroundColor='#ffcccc'" onmouseout="this.style.backgroundColor=''">
											<TD></TD>
											<TD>
												<asp:Button id="Btn_add" runat="server" Text="添加"></asp:Button>
												<asp:Label id="Lbl_note" runat="server"></asp:Label></TD>
										</TR>
									</TABLE>
								</asp:panel></div>
						</FONT>
					</TD>
				</TR>
				<TR>
					<TD align="center" bgColor="#cccccc" colSpan="2"><FONT face="宋体"><asp:button id="Btn_exit" runat="server" Text="退出"></asp:button></FONT></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -