AddProduct.aspx
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:4k
源码类别:

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Page language="c#" Codebehind="AddProduct.aspx.cs" AutoEventWireup="false" Inherits="admin.AddProduct" %>
  2. <%@ Register TagPrefix="Admin" TagName="AdminMenu" Src="AdminMenu.ascx" %>
  3. <HTML>
  4. <HEAD>
  5. <LINK href="styles.css" type="text/css" rel="stylesheet">
  6. </HEAD>
  7. <body bottomMargin="0" leftMargin="0" background="../images/sitebkgrdnogray.gif" topMargin="0"
  8. rightMargin="0" marginwidth="0" marginheight="0">
  9. <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
  10. <tr>
  11. <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">
  12. </td>
  13. <td vAlign="top" align="center" width="700">
  14. <table height="100%" width="100%" align="center" border="0">
  15. <tr vAlign="top">
  16. <td align="center">
  17. <table align="center" width="100%" border="0" height="100%">
  18. <tr valign="top">
  19. <td align="center">
  20. <table align="center" width="100%" border="0">
  21. <tr valign="top">
  22. <td align="center">
  23. <table border="1" bordercolor="#ffcc66">
  24. <tr>
  25. <td>
  26. <form runat="server" ID="Form1">
  27. <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="0">
  28. <TR>
  29. <TD noWrap colSpan="3" align="center" bgcolor="#ffcc66"><FONT face="宋体">新增商品</FONT></TD>
  30. </TR>
  31. <TR>
  32. <TD noWrap align="center" bgColor="#ffcc66" colSpan="3">
  33. <asp:Label id="MyError" runat="server" ForeColor="#C00000"></asp:Label></TD>
  34. </TR>
  35. <TR>
  36. <TD noWrap><FONT face="宋体">商品名称:</FONT></TD>
  37. <TD noWrap>
  38. <asp:TextBox id="ProductName" runat="server"></asp:TextBox></TD>
  39. <TD noWrap>
  40. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="ProductName"></asp:RequiredFieldValidator></TD>
  41. </TR>
  42. <TR>
  43. <TD noWrap><FONT face="宋体">价格:</FONT></TD>
  44. <TD noWrap>
  45. <asp:TextBox id="Price" runat="server"></asp:TextBox></TD>
  46. <TD noWrap>
  47. <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="Price"></asp:RequiredFieldValidator></TD>
  48. </TR>
  49. <TR>
  50. <TD noWrap><FONT face="宋体">介绍:</FONT></TD>
  51. <TD noWrap>
  52. <asp:TextBox id="Intro" runat="server" TextMode="MultiLine" Height="88px" MaxLength="500" Rows="40"></asp:TextBox></TD>
  53. <TD noWrap>
  54. <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="Intro"></asp:RequiredFieldValidator></TD>
  55. </TR>
  56. <TR>
  57. <TD noWrap><FONT face="宋体">商品类型:</FONT></TD>
  58. <TD noWrap><FONT face="宋体">
  59. <asp:DropDownList id="ListCat" runat="server"></asp:DropDownList></FONT></TD>
  60. <TD noWrap></TD>
  61. </TR>
  62. <TR>
  63. <TD noWrap colSpan="3" align="center"><FONT face="宋体">
  64. <asp:Button id="Add" runat="server" Text="添加" Width="56px"></asp:Button></FONT></TD>
  65. </TR>
  66. </TABLE>
  67. </form>
  68. </td>
  69. </tr>
  70. </table>
  71. </td>
  72. </tr>
  73. </table>
  74. </td>
  75. </tr>
  76. </table>
  77. </td>
  78. </tr>
  79. </table>
  80. </td>
  81. </tr>
  82. </table>
  83. </body>
  84. </HTML>