ProductList.aspx
资源名称:SHOPASP.rar [点击查看]
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:5k
源码类别:
百货/超市行业
开发平台:
ASP/ASPX
- <%@ Page language="c#" Codebehind="ProductList.aspx.cs" AutoEventWireup="false" Inherits="admin.ProductList" %>
- <%@ 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" marginheight="0" marginwidth="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="middle" align="center" width="700">
- <table height="100%" width="100%" align="center" border="0">
- <tr vAlign="top">
- <td align="center">
- <table width="100%" align="center" border="0">
- <tr vAlign="top">
- <td align="center">
- <form id="Form1" method="post" runat="server">
- <FONT face="宋体">
- <TABLE id="Table1" height="100%" cellSpacing="1" cellPadding="1" width="100%" align="left"
- border="0">
- <TR>
- <td>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td class="ContentHead">商品列表
- <br>
- </td>
- </tr>
- </table>
- <asp:label id="Message" runat="server" ForeColor="Red"></asp:label></td>
- </TR>
- <TR>
- <TD noWrap colSpan="3"><asp:datagrid id="GridProduct" runat="server" Font-Names="Verdana" PageSize="10" AllowPaging="True"
- DataKeyField="productID" AutoGenerateColumns="False" AlternatingItemStyle-CssClass="CartListItemAlt" ItemStyle-CssClass="CartListItem"
- FooterStyle-CssClass="cartlistfooter" HeaderStyle-CssClass="CartListHead" ShowFooter="True" Font-Size="8pt" Font-Name="Verdana"
- cellpadding="4" GridLines="Vertical" BorderColor="Black" width="90%">
- <FooterStyle CssClass="cartlistfooter"></FooterStyle>
- <AlternatingItemStyle CssClass="CartListItemAlt"></AlternatingItemStyle>
- <ItemStyle CssClass="CartListItem"></ItemStyle>
- <HeaderStyle CssClass="CartListHead"></HeaderStyle>
- <Columns>
- <asp:BoundColumn DataField="productId" HeaderText="商品编号">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:TemplateColumn HeaderText="商品名称">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <ItemTemplate>
- <asp:TextBox id=ProductName runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ProductName") %>'>
- </asp:TextBox>
- </ItemTemplate>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="商品价格">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <ItemTemplate>
- <asp:TextBox id="Price" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ProductPrice") %>'>
- </asp:TextBox>
- </ItemTemplate>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="商品介绍">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <ItemTemplate>
- <asp:TextBox id=Intro runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Intro") %>' TextMode="MultiLine" MaxLength="500">
- </asp:TextBox>
- </ItemTemplate>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="clickCount" HeaderText="点击次数">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:TemplateColumn HeaderText="删除">
- <ItemTemplate>
- <center>
- <asp:CheckBox id="Remove" runat="server" />
- </center>
- </ItemTemplate>
- </asp:TemplateColumn>
- </Columns>
- <PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
- </asp:datagrid></TD>
- </TR>
- <tr>
- <td align="center"><asp:button id="Submit" Runat="server" Text="修改" Width="53px"></asp:button></td>
- </tr>
- </TABLE>
- </FONT>
- </form>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </HTML>