温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Ftp在线注册管理系统源码
当前文件:
WebFtp/list.aspx[3K,2009-6-12 11:58:24],打开代码结构图
WebFtp/list.aspx[3K,2009-6-12 11:58:24],打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/Mp.master" AutoEventWireup="true" CodeFile="list.aspx.cs" Inherits="list" Title="FTP在线注册管理系统asp.net版" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<br /> 4
<div style="width: 580px; height: 280px"> 5
<asp:GridView ID="GVuser" runat="server" AutoGenerateColumns="False" BackColor="OldLace" 6
BorderColor="Bisque" BorderWidth="1px" CellPadding="2" Font-Names="Arial" Font-Size="9pt" 7
ForeColor="Black" GridLines="None" OnPageIndexChanging="GVuser_PageIndexChanging" 8
PageSize="15" Width="300px"> 9
<FooterStyle BackColor="Tan" /> 10
<SelectedRowStyle BackColor="LightCoral" ForeColor="GhostWhite" /> 11
<PagerStyle BackColor="Cornsilk" ForeColor="Black" HorizontalAlign="Center" /> 12
<HeaderStyle BackColor="LightSalmon" Font-Bold="True" /> 13
<AlternatingRowStyle BackColor="Bisque" /> 14
<Columns> 15
<asp:BoundField DataField="username" HeaderText="账号" SortExpression="username" /> 16
<asp:BoundField DataField="userpwd" HeaderText="密码" SortExpression="userpwd" /> 17
<asp:BoundField DataField="usernote" HeaderText="备注" SortExpression="usernote" /> 18
<asp:BoundField DataField="userclass" HeaderText="分组" SortExpression="userclass" /> 19
</Columns> 20
<PagerTemplate> 21
<div style="width: 100%; height: 13px; text-align: center; font-size: 9pt; color: black; 22
font-family: Arial;"> 23
第<asp:Label ID="lblPageIndex" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:Label>页 24
共/<asp:Label ID="lblPageCount" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageCount %>'></asp:Label>页 25
<asp:LinkButton ID="btnFirst" runat="server" CausesValidation="False" CommandArgument="First" 26
CommandName="Page" Font-Underline="False" ForeColor="Black" Text="首页"></asp:LinkButton> 27
<asp:LinkButton ID="btnPrev" runat="server" CausesValidation="False" CommandArgument="Prev" 28
CommandName="Page" Font-Underline="False" ForeColor="Black" Text="上一页"></asp:LinkButton> 29
<asp:LinkButton ID="btnNext" runat="server" CausesValidation="False" CommandArgument="Next" 30
CommandName="Page" Font-Underline="False" ForeColor="Black" Text="下一页"></asp:LinkButton> 31
<asp:LinkButton ID="btnLast" runat="server" CausesValidation="False" CommandArgument="Last" 32
CommandName="Page" Font-Underline="False" ForeColor="Black" Text="尾页"></asp:LinkButton> 33
</div> 34
</PagerTemplate> 35
</asp:GridView> 36
<br /> 37
<asp:HyperLink ID="HyperLink1" runat="server" BackColor="NavajoWhite" BorderColor="Gainsboro" 38
BorderStyle="Solid" BorderWidth="1px" Font-Names="Arial" Font-Size="9pt" Font-Underline="False" 39
ForeColor="Black" Height="9px" NavigateUrl="~/admin.aspx" Width="68px">返回</asp:HyperLink></div> 40
</asp:Content> 41
42





