Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Title="" Language="C#" MasterPageFile="~/HeaderMain.master" AutoEventWireup="true" CodeFile="Clients.aspx.cs" Inherits="_Default" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
- <asp:Label ID="LabelUser" runat="server" Text="Label"></asp:Label>
- <asp:ImageButton ID="ButtonLogout" runat="server" Height="26px" ImageUrl="~/Images/Logout.png" OnClick="ButtonLogout_Click" Width="35px" ToolTip="Logout from system" style="direction: ltr" />
- <br />
- <br />
- <br />
- <asp:Label ID="Label1" runat="server" Font-Names="Tahoma" ForeColor="White" style="font-weight: 700" Text="Customer's Personal Information :"></asp:Label>
- <br />
- <asp:ImageButton ID="ImageNewCustomer" runat="server" Height="43px" ImageUrl="~/Images/adduser.png" OnClick="ImageNewCustomer_Click" Width="52px" ToolTip="Add new customer to the system" />
- <asp:ImageButton ID="ButtonEditClient" runat="server" Height="50px" ImageUrl="~/Images/Update.png" OnClick="ButtonEditClient_Click" ToolTip="Edit selected customer's information" Width="60px" />
- <asp:ImageButton ID="ButonDeleteClient" runat="server" Height="60px" ImageUrl="~/Images/Delete.png" OnClick="ButonDeleteClient_Click" ToolTip="Delete selected customer's information" Width="60px" />
- </asp:Content>
- <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" DataKeyNames="FullName" OnRowDataBound="GridView_RowDataBound" CellSpacing="2" ForeColor="Black" style="font-size: x-small; width: 625px; margin-top: 0px;">
- <Columns>
- <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
- <asp:HyperLinkField DataTextField="FullName" HeaderText="Customer's name" SortExpression="FullName" DataNavigateUrlFields="ID,FullName" DataNavigateUrlFormatString="~/EditClient.aspx?ID={0}&Name={1}&Mode=view" />
- <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
- <asp:BoundField DataField="PhoneNumber" HeaderText="Phone number" SortExpression="PhoneNumber" />
- <asp:BoundField DataField="CustomerType" HeaderText="Customer type" SortExpression="CustomerType" />
- <asp:BoundField DataField="CustomerCategory" HeaderText="Customer category" SortExpression="CustomerCategory" />
- <asp:BoundField DataField="ContactName" HeaderText="Contact name" SortExpression="ContactName" />
- <asp:TemplateField>
- <ItemTemplate>
- <asp:CheckBox ID="SelectedClient" runat="server"/>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- <FooterStyle BackColor="#CCCCCC" />
- <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
- <RowStyle BackColor="White" />
- <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
- <SortedAscendingCellStyle BackColor="#F1F1F1" />
- <SortedAscendingHeaderStyle BackColor="#808080" />
- <SortedDescendingCellStyle BackColor="#CAC9C9" />
- <SortedDescendingHeaderStyle BackColor="#383838" />
- </asp:GridView>
- <asp:ImageButton ID="ImageButton1" runat="server" Height="45px" ImageUrl="~/Images/home.png" OnClick="ImageButton1_Click" ToolTip="Home page" Width="55px" />
- </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement