UserList.aspx
资源名称:SHOPASP.rar [点击查看]
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:6k
源码类别:
百货/超市行业
开发平台:
ASP/ASPX
- <%@ Page language="c#" Codebehind="UserList.aspx.cs" AutoEventWireup="false" Inherits="admin.UserList" %>
- <%@ 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">
- <tr valign="bottom">
- <td align="center">
- <form id="Form1" method="post" runat="server">
- <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0" align="left">
- <tr>
- <td colspan="3">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td class="ContentHead">用户列表
- <br>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <TR>
- <TD noWrap><FONT face="宋体"></FONT></TD>
- <TD noWrap><asp:datagrid id="GridUsers" runat="server" DataKeyField="UserID" BorderColor="Black" GridLines="Vertical"
- cellpadding="4" Font-Name="Verdana" Font-Size="8pt" ShowFooter="True" HeaderStyle-CssClass="CartListHead"
- FooterStyle-CssClass="cartlistfooter" ItemStyle-CssClass="CartListItem" AlternatingItemStyle-CssClass="CartListItemAlt"
- AutoGenerateColumns="False" AllowPaging="True" Font-Names="Verdana" Width="100%">
- <FooterStyle CssClass="cartlistfooter"></FooterStyle>
- <AlternatingItemStyle CssClass="CartListItemAlt"></AlternatingItemStyle>
- <ItemStyle CssClass="CartListItem"></ItemStyle>
- <HeaderStyle CssClass="CartListHead"></HeaderStyle>
- <Columns>
- <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:EditCommandColumn>
- <asp:BoundColumn DataField="userID" ReadOnly="True" HeaderText="用户ID">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="userName" ReadOnly="True" HeaderText="用户登录名">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="userrealName" ReadOnly="True" HeaderText="真实姓名">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="sex" ReadOnly="True" HeaderText="性别">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="zipcode" ReadOnly="True" HeaderText="邮编">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="address" ReadOnly="True" HeaderText="地址">
- <HeaderStyle Wrap="False"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- <FooterStyle Wrap="False"></FooterStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Email" ReadOnly="True" HeaderText="Email">
- <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:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.acount") %>'>
- </asp:Label>
- </ItemTemplate>
- <FooterStyle Wrap="False"></FooterStyle>
- <EditItemTemplate>
- <asp:TextBox id=Acount runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.acount") %>'>
- </asp:TextBox>
- <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="Acount" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
- </EditItemTemplate>
- </asp:TemplateColumn>
- </Columns>
- <PagerStyle HorizontalAlign="Right" ForeColor="Black" BackColor="#C6C3C6" Mode="NumericPages"></PagerStyle>
- </asp:datagrid></TD>
- <TD noWrap></TD>
- </TR>
- <TR>
- <TD noWrap></TD>
- <TD noWrap></TD>
- <TD noWrap></TD>
- </TR>
- </TABLE>
- </form>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </HTML>