-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMembers.aspx
More file actions
35 lines (33 loc) · 2.22 KB
/
Members.aspx
File metadata and controls
35 lines (33 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<%@ Page Title="" Language="C#" MasterPageFile="~/mainMasterPage.master" AutoEventWireup="true" CodeFile="Members.aspx.cs" Inherits="Members" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h2 style="background-color: #efefef; width: 193px; height: 33px;">
Members List</h2>
<p>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" DataKeyNames="mid" DataSourceID="SqlDataSource1" Width="100%" CellPadding="3"
PageSize="5" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellSpacing="2">
<Columns>
<asp:BoundField DataField="mid" HeaderText="mid" ReadOnly="True" SortExpression="mid" InsertVisible="False" />
<asp:BoundField DataField="mname" HeaderText="mname" SortExpression="mname" />
<asp:BoundField DataField="depositamt" HeaderText="depositamt" SortExpression="depositamt" />
<asp:BoundField DataField="djoin" HeaderText="djoin" SortExpression="djoin" />
<asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
<asp:BoundField DataField="occupation" HeaderText="occupation" SortExpression="occupation" />
</Columns>
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Right" />
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#FFF1D4" />
<SortedAscendingHeaderStyle BackColor="#B95C30" />
<SortedDescendingCellStyle BackColor="#F1E5CE" />
<SortedDescendingHeaderStyle BackColor="#93451F" />
</asp:GridView>
</p>
<p>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DBUtilConnectionString2 %>"
SelectCommand="SELECT * FROM [members]"></asp:SqlDataSource>
</p>
A
</asp:Content>