?? addproduct.aspx
字號(hào):
<%@ Page language="c#" Codebehind="AddProduct.aspx.cs" AutoEventWireup="false" Inherits="admin.AddProduct" %>
<%@ Register TagPrefix="Admin" TagName="AdminMenu" Src="AdminMenu.ascx" %>
<HTML>
<HEAD>
<LINK href="styles.css" type="text/css" rel="stylesheet">
</HEAD>
<body bottomMargin="0" leftMargin="0" background="../images/sitebkgrdnogray.gif" topMargin="0"
rightMargin="0" marginwidth="0" marginheight="0">
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td vAlign="top" width="145" bgColor="#9999cc" height="100%"><ADMIN:ADMINMENU id="Menu1" runat="server"></ADMIN:ADMINMENU><IMG height="1" src="images/1x1.gif" width="145">
</td>
<td vAlign="top" align="center" width="700">
<table height="100%" width="100%" align="center" border="0">
<tr vAlign="top">
<td align="center">
<table align="center" width="100%" border="0" height="100%">
<tr valign="top">
<td align="center">
<table align="center" width="100%" border="0">
<tr valign="top">
<td align="center">
<table border="1" bordercolor="#ffcc66">
<tr>
<td>
<form runat="server" ID="Form1">
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="0">
<TR>
<TD noWrap colSpan="3" align="center" bgcolor="#ffcc66"><FONT face="宋體">新增商品</FONT></TD>
</TR>
<TR>
<TD noWrap align="center" bgColor="#ffcc66" colSpan="3">
<asp:Label id="MyError" runat="server" ForeColor="#C00000"></asp:Label></TD>
</TR>
<TR>
<TD noWrap><FONT face="宋體">商品名稱(chēng):</FONT></TD>
<TD noWrap>
<asp:TextBox id="ProductName" runat="server"></asp:TextBox></TD>
<TD noWrap>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="ProductName"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD noWrap><FONT face="宋體">價(jià)格:</FONT></TD>
<TD noWrap>
<asp:TextBox id="Price" runat="server"></asp:TextBox></TD>
<TD noWrap>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="Price"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD noWrap><FONT face="宋體">介紹:</FONT></TD>
<TD noWrap>
<asp:TextBox id="Intro" runat="server" TextMode="MultiLine" Height="88px" MaxLength="500" Rows="40"></asp:TextBox></TD>
<TD noWrap>
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="Intro"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD noWrap><FONT face="宋體">商品類(lèi)型:</FONT></TD>
<TD noWrap><FONT face="宋體">
<asp:DropDownList id="ListCat" runat="server"></asp:DropDownList></FONT></TD>
<TD noWrap></TD>
</TR>
<TR>
<TD noWrap colSpan="3" align="center"><FONT face="宋體">
<asp:Button id="Add" runat="server" Text="添加" Width="56px"></asp:Button></FONT></TD>
</TR>
</TABLE>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</HTML>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -