<%@ Page Language="C#" MasterPageFile="~/EmployeesMasterPage.master" AutoEventWireup="true" CodeFile="ViewProfile.aspx.cs" Inherits="ViewProfile" Title="Untitled Page" %>


<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
<table>
    <tr>
	<td colspan="2"><font size="5" color="maroon"><strong>Employees Profile</strong></font></td>
	</tr>
	<tr>
	<td colspan="2">
    <img src="Images/generic.jpg" style="height: 7px; width: 317px" />
	</td>
	</tr>
    <tr>
    <td>
   <asp:DataGrid id="DataGrid1" style="Z-INDEX: 101; LEFT: 16px; TOP: 312px"
				runat="server" Width="700px" Height="88px" AllowCustomPaging="True" 
            AllowPaging="True" AutoGenerateColumns="False"
				Font-Size="8pt" PageSize="1" 
            onselectedindexchanged="DataGrid1_SelectedIndexChanged" 
            onpageindexchanged="DataGrid1_PageIndexChanged">
				<Columns>
					<asp:BoundColumn DataField="empno" HeaderText="EmployeeNumber"></asp:BoundColumn>
					<asp:BoundColumn DataField="ename" HeaderText="EmployeeName"></asp:BoundColumn>
					<asp:BoundColumn DataField="pwd" HeaderText="Password"></asp:BoundColumn>
					<asp:BoundColumn DataField="age" HeaderText="Age"></asp:BoundColumn>
					<asp:BoundColumn DataField="gender" HeaderText="Gender"></asp:BoundColumn>
					<asp:BoundColumn DataField="address" HeaderText="Address"></asp:BoundColumn>
					<asp:BoundColumn DataField="phno" HeaderText="PhoneNumber"></asp:BoundColumn>
					<asp:BoundColumn DataField="emailID" HeaderText="Email-ID"></asp:BoundColumn>
					<asp:BoundColumn DataField="branchno" HeaderText="BranchNumber"></asp:BoundColumn>
					<asp:BoundColumn DataField="deptno" HeaderText="DepartmentNumber"></asp:BoundColumn>
					<asp:BoundColumn DataField="role" HeaderText="Role"></asp:BoundColumn>
					<asp:BoundColumn DataField="dateReg" HeaderText="DateRegistered"></asp:BoundColumn>
				</Columns>
			    <HeaderStyle BackColor="#FF9900" Font-Bold="False" Font-Size="9pt" 
                    ForeColor="#660033" />
			</asp:DataGrid>
			    </td>
    </tr>
    <tr>
				<td colspan="2"><asp:Label ID="lbltext" runat="server"></asp:Label></td>
				</tr>
    </table>

</asp:Content>


