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

📄 dp_check2.aspx

📁 基于VS05和SQL05做的一个电子商务网站
💻 ASPX
字号:
<%@ Page language="c#" Inherits="DP_Check2" CodeFile="DP_Check2.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>生活人家电子商务(B2B)网 -- 出售中的商品</title>
		<meta content="Microsoft Visual Studio .NET 7.1" 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">
		<LINK href="style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" width="600" cellSpacing="1" cellPadding="1">
				<TR>
					<TD vAlign="top">
						<asp:textbox id="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged"></asp:textbox>
						<asp:button id="Button1" runat="server" Text="查询" onclick="Button1_Click"></asp:button>
						<asp:label id="Label1" runat="server" ForeColor="Red"></asp:label>
						<asp:datagrid id="DataGrid1" runat="server" Font-Size="X-Small" AutoGenerateColumns="False" Width="100%"
							OnEditCommand="DataGrid1_EditCommand" OnUpdateCommand="DataGrid1_UpdateCommand" OnDeleteCommand="DataGrid1_DeleteCommand" onselectedindexchanged="DataGrid1_SelectedIndexChanged" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None" Height="180px">
							<Columns>
								<asp:BoundColumn DataField="ProductId" ReadOnly="True" HeaderText="商品编号"></asp:BoundColumn>
								<asp:BoundColumn DataField="ProductName" ReadOnly="True" HeaderText="商品名称"></asp:BoundColumn>
								<asp:BoundColumn DataField="ProductPrice" ReadOnly="True" HeaderText="价格"></asp:BoundColumn>
								<asp:BoundColumn DataField="ProductQuantity" ReadOnly="True" HeaderText="数量"></asp:BoundColumn>
								<asp:BoundColumn DataField="ProductBegin" ReadOnly="True" HeaderText="发布时间"></asp:BoundColumn>
								<asp:EditCommandColumn ButtonType="PushButton" UpdateText="修改" HeaderText="编辑" CancelText="删除" EditText="编辑"></asp:EditCommandColumn>
								<asp:ButtonColumn Text="下架" ButtonType="PushButton" HeaderText="下架" CommandName="Delete"></asp:ButtonColumn>
							</Columns>
                            <FooterStyle BackColor="Tan" />
                            <SelectedItemStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                            <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                            <AlternatingItemStyle BackColor="PaleGoldenrod" />
                            <HeaderStyle BackColor="Tan" Font-Bold="True" />
						</asp:datagrid></TD>
				</TR>
			</TABLE>
			<!-- 分页 -->
			<table id="page" width="600">
				<tr align="center">
					<td>
						<asp:label id="lblCurPage" Runat="server"></asp:label>&nbsp;&nbsp;&nbsp;
						<asp:Label id="lblEachPage" Runat="server"></asp:Label>
						<asp:Label id="lblTnum" Runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;
						<asp:hyperlink id="lnkFirst" Runat="server">&nbsp;第一页&nbsp;</asp:hyperlink>
						<asp:hyperlink id="lnkPrev" Runat="server">&nbsp;上一页&nbsp;</asp:hyperlink>
						<asp:hyperlink id="lnkNext" Runat="server">&nbsp;下一页&nbsp;</asp:hyperlink>
						<asp:hyperlink id="lnkLast" Runat="server">&nbsp;最后页&nbsp;&nbsp;&nbsp;</asp:hyperlink>
						到:<asp:TextBox id="txtPage" Runat="server" Width="32px"></asp:TextBox>
						页<asp:Button id="btnPage" Runat="server" Width="32px" Text="Go" onclick="btnPage_Click"></asp:Button></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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