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

<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
<table>
<tr>
				<td colspan="2"><font size="5" color="maroon"><strong>Add Employee</strong></font></td>
				</tr>
				<tr>
				<td colspan="2">
                    <img src="Images/generic.jpg" style="height: 7px; width: 317px" />
				</td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 36px" align="right">
						<asp:Label id="Label3" runat="server" Font-Size="8pt">Employee No</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 36px">
						<asp:TextBox id="txtEmpNo" runat="server" Width="284px"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 33px" align="right">
						<asp:Label id="Label6" runat="server" Font-Size="8pt">Employee Name</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 33px">
						<asp:TextBox id="txtEmpName" runat="server" Width="284px"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 33px" align="right">
						<asp:Label id="Label8" runat="server" Font-Size="8pt">Password</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 33px">
						<asp:TextBox id="txtPwd" runat="server" Width="284px" MaxLength="30"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 38px" align="right">
						<asp:Label id="Label9" runat="server" Font-Size="8pt">Age</asp:Label>&nbsp;&nbsp;</td>
					<td style="HEIGHT: 38px">
						<asp:TextBox id="txtAge" runat="server" Width="284px"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 32px" align="right">
						<asp:Label id="Label10" runat="server" Font-Size="8pt">Gender</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 32px">&nbsp;
						<asp:RadioButton id="rbMale" runat="server" Text="Male"></asp:RadioButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:RadioButton id="rbFemale" runat="server" Text="FeMale"></asp:RadioButton></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 38px" align="right">
						<asp:Label id="Label7" runat="server" Font-Size="8pt">Address</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 38px">
						<asp:TextBox id="txtAddress" runat="server" Width="286px"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 38px" align="right">
						<asp:Label id="Label4" runat="server" Font-Size="8pt">PhoneNo</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 38px">
						<asp:TextBox id="txtPhNo" runat="server" Width="286px"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 37px" align="right">
						<asp:Label id="Label11" runat="server" Font-Size="8pt">EmailId</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 37px">
						<asp:TextBox id="txtEmailId" runat="server" Width="286px"></asp:TextBox></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 37px" align="right">
						<asp:Label id="Label12" runat="server" Font-Size="8pt">BranchNo</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 37px">
						<asp:DropDownList id="ddlBranchId" runat="server" Width="288px" AutoPostBack="true" onselectedindexchanged="ddlBranchNo_SelectedIndexChanged"></asp:DropDownList></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 40px" align="right">
						<asp:Label id="Label13" runat="server" Font-Size="8pt">DepartmentNo</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 40px">
						<asp:DropDownList id="ddlDeptNo" runat="server" Width="288px"></asp:DropDownList></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px; HEIGHT: 42px" align="right">
						<asp:Label id="Label14" runat="server" Font-Size="8pt">Role</asp:Label>&nbsp;</td>
					<td style="HEIGHT: 42px">
						<asp:DropDownList id="ddlRole" runat="server" Width="288px">
							<asp:ListItem Value="-Select Role-">-Select Role-</asp:ListItem>
							<asp:ListItem Value="Manager">Manager</asp:ListItem>
							<asp:ListItem Value="Technical">Technical</asp:ListItem>
							<asp:ListItem Value="Marketing">Marketing</asp:ListItem>
						</asp:DropDownList></td>
				</tr>
				<tr>
					<td style="WIDTH: 109px"></td>
					<td>
						<asp:Button id="Button1" runat="server" Font-Size="10pt" BackColor="LightSteelBlue" Width="82px"
							Height="29px" Text="Submit" ForeColor="White" Font-Bold="true" onclick="Button1_Click"></asp:Button>
						<asp:Button id="Button2" runat="server" Font-Size="10pt" BackColor="LightSteelBlue" Width="89px"
							Height="28px" Text="Refresh" ForeColor="White" Font-Bold="true" onclick="Button2_Click"></asp:Button></td>
				</tr>
				<tr>
				<td colspan="2"><asp:Label ID="lbltext" runat="server"></asp:Label></td>
				</tr>
			</table>
</asp:Content>


