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


<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
<table>
    <tr>
	<td colspan="2"><font size="5" color="maroon"><strong>Employee List</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: 114; LEFT: 10px; TOP: 283px"
				runat="server" Font-Size="8pt" PageSize="6" AllowPaging="True" AutoGenerateColumns="False"
				Height="128px" Width="600px" oncancelcommand="DataGrid1_CancelCommand" 
            ondeletecommand="DataGrid1_DeleteCommand" oneditcommand="DataGrid1_EditCommand" 
            onpageindexchanged="DataGrid1_PageIndexChanged" 
            onupdatecommand="DataGrid1_UpdateCommand">
				<Columns>
					<asp:BoundColumn DataField="empno" ReadOnly="True" HeaderText="EmpNo"></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="PhoneNo"></asp:BoundColumn>
					<asp:BoundColumn DataField="emailID" HeaderText="EmailId"></asp:BoundColumn>
					<asp:BoundColumn DataField="BranchNo" HeaderText="BranchNo"></asp:BoundColumn>
					<asp:BoundColumn DataField="DeptNo" HeaderText="DeptNo"></asp:BoundColumn>
					<asp:BoundColumn DataField="role" HeaderText="Role"></asp:BoundColumn>
					<asp:BoundColumn DataField="dateReg" HeaderText="RegDate"></asp:BoundColumn>
					<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>
					<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
				</Columns>
			    <HeaderStyle BackColor="#FF9900" Font-Size="12pt" ForeColor="Maroon" />
			</asp:DataGrid>
			    </td>
    </tr>
    <tr>
				<td colspan="2"><asp:Label ID="lbltext" runat="server"></asp:Label></td>
				</tr>
    </table>

</asp:Content>


