温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net简单会议事务系统
当前文件:
SimpleMeeting/editadmin.aspx[4K,2009-6-12 11:54:08],打开代码结构图
SimpleMeeting/editadmin.aspx[4K,2009-6-12 11:54:08],打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="editadmin.aspx.cs" Inherits="editadmin" Title="编辑管理员-会议事务系统" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<table border="0" style="width: 633px"> 4
<tr> 5
<td bgcolor="#a43737" style="height: 23px"> 6
<div align="center" style="font-weight: bold; font-size: 15px; color: #ffffff;"> 7
管理管理员-编辑管理员</div> 8
</td> 9
</tr> 10
<tr> 11
<td align="left"> 12
<asp:GridView ID="gvadmininfo" runat="server" AllowPaging="True" AutoGenerateColumns="False" 13
BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CaptionAlign="Top" 14
CellPadding="2" ForeColor="Black" GridLines="None" OnRowCreated="gvadmininfo_RowCreated" 15
Style="text-align: center" Width="628px"> 16
<PagerSettings NextPageText="下一页" PreviousPageText="上一页" /> 17
<FooterStyle BackColor="Tan" /> 18
<Columns> 19
<asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True"> 20
<ItemStyle Width="55px" /> 21
<HeaderStyle Width="30px" /> 22
</asp:BoundField> 23
<asp:BoundField DataField="username" HeaderText="管理员名称" /> 24
<asp:BoundField DataField="loginnum" HeaderText="上站次数" /> 25
<asp:BoundField DataField="entertime" DataFormatString="{0:d}" HeaderText="注册时间" /> 26
<asp:BoundField DataField="loginouttime" DataFormatString="{0:d}" HeaderText="最近访问" /> 27
<asp:BoundField DataField="attr" HeaderText="状态" /> 28
<asp:TemplateField> 29
<HeaderTemplate> 30
<asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged" 31
Text="全选" /> 32
</HeaderTemplate> 33
<ItemStyle Width="48px" /> 34
<ItemTemplate> 35
<asp:CheckBox ID="itemchk" runat="server" /> 36
</ItemTemplate> 37
</asp:TemplateField> 38
</Columns> 39
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" /> 40
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" /> 41
<HeaderStyle BackColor="Tan" Font-Bold="True" /> 42
<AlternatingRowStyle BackColor="PaleGoldenrod" /> 43
</asp:GridView> 44
</td> 45
</tr> 46
<tr> 47
<td align="center" style="height: 18px"> 48
每页显示<font color="red">12</font>位会员 共有<asp:Label ID="lblRecordCount" runat="server" 49
Font-Bold="True" ForeColor="Red"></asp:Label>位会员 当前是第<asp:Label ID="Labelye" runat="server" 50
Font-Bold="True" ForeColor="Red" Text="1"></asp:Label>/<asp:Label ID="lblPageCount" 51
runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>页 <asp:Button ID="Button1" 52
runat="server" Height="19px" OnClick="Button1_Click" Text="首 页" /> 53
54
<asp:Button ID="Button2" runat="server" Height="19px" OnClick="Button2_Click" Text="上 页" /> 55
<asp:Button ID="Button3" runat="server" Height="19px" OnClick="Button3_Click" 56
Text="下 页" /> 57
<asp:Button ID="Button4" runat="server" Height="19px" OnClick="Button4_Click" 58
Text="末 页" /></td> 59
</tr> 60
<tr> 61
<td align="left"> 62
<asp:Button ID="Btndel" runat="server" Height="21px" OnClick="Btndel_Click" Text="删除所选" 63
Width="62px" /></td> 64
</tr> 65
<tr> 66
<td align="left"> 67
<asp:Label ID="Labmessage" runat="server" Style="font-weight: bold; color: red"></asp:Label></td> 68
</tr> 69
</table> 70
</asp:Content> 71
72





