Advertisement
Guest User

Untitled

a guest
Jun 6th, 2013
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 3.62 KB | None | 0 0
  1. <%@ Page Title="" Language="C#" MasterPageFile="~/HeaderMain.master" AutoEventWireup="true" CodeFile="Clients.aspx.cs" Inherits="_Default" %>
  2.  
  3. <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  4. </asp:Content>
  5. <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  6.     <asp:Label ID="LabelUser" runat="server" Text="Label"></asp:Label>
  7.     <asp:ImageButton ID="ButtonLogout" runat="server" Height="26px" ImageUrl="~/Images/Logout.png" OnClick="ButtonLogout_Click" Width="35px" ToolTip="Logout from system" style="direction: ltr"  />
  8. <br />
  9.     <br />
  10.     <br />
  11. <asp:Label ID="Label1" runat="server" Font-Names="Tahoma" ForeColor="White" style="font-weight: 700" Text="Customer's Personal Information :"></asp:Label>
  12.     <br />
  13. <asp:ImageButton ID="ImageNewCustomer" runat="server" Height="43px" ImageUrl="~/Images/adduser.png" OnClick="ImageNewCustomer_Click" Width="52px" ToolTip="Add new customer to the system" />
  14.     <asp:ImageButton ID="ButtonEditClient" runat="server" Height="50px" ImageUrl="~/Images/Update.png" OnClick="ButtonEditClient_Click" ToolTip="Edit  selected customer's information" Width="60px" />
  15.     <asp:ImageButton ID="ButonDeleteClient" runat="server" Height="60px" ImageUrl="~/Images/Delete.png" OnClick="ButonDeleteClient_Click" ToolTip="Delete selected customer's information" Width="60px"  />
  16.     </asp:Content>
  17. <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
  18.     <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;">
  19.         <Columns>
  20.             <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
  21.             <asp:HyperLinkField DataTextField="FullName" HeaderText="Customer's name" SortExpression="FullName" DataNavigateUrlFields="ID,FullName" DataNavigateUrlFormatString="~/EditClient.aspx?ID={0}&amp;Name={1}&amp;Mode=view" />
  22.             <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
  23.             <asp:BoundField DataField="PhoneNumber" HeaderText="Phone number" SortExpression="PhoneNumber" />
  24.             <asp:BoundField DataField="CustomerType" HeaderText="Customer type" SortExpression="CustomerType" />
  25.             <asp:BoundField DataField="CustomerCategory" HeaderText="Customer category" SortExpression="CustomerCategory" />
  26.             <asp:BoundField DataField="ContactName" HeaderText="Contact name" SortExpression="ContactName" />
  27.             <asp:TemplateField>
  28.                 <ItemTemplate>
  29.                     <asp:CheckBox ID="SelectedClient" runat="server"/>
  30.                 </ItemTemplate>
  31.             </asp:TemplateField>
  32.         </Columns>
  33.         <FooterStyle BackColor="#CCCCCC" />
  34.         <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
  35.         <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
  36.         <RowStyle BackColor="White" />
  37.         <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
  38.         <SortedAscendingCellStyle BackColor="#F1F1F1" />
  39.         <SortedAscendingHeaderStyle BackColor="#808080" />
  40.         <SortedDescendingCellStyle BackColor="#CAC9C9" />
  41.         <SortedDescendingHeaderStyle BackColor="#383838" />
  42.     </asp:GridView>
  43.     <asp:ImageButton ID="ImageButton1" runat="server" Height="45px" ImageUrl="~/Images/home.png" OnClick="ImageButton1_Click" ToolTip="Home page" Width="55px" />
  44. </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement