<%@ Page language="c#" Inherits="IntranetApp.AddEmp" CodeFile="AddEmp.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>AddEmp</title>
		<meta name="vs_snapToGrid" content="False">
		<meta name="vs_showGrid" content="False">
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<link href="Styles.css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<asp:Label id="Label1" style="Z-INDEX: 112; LEFT: 378px; POSITION: absolute; TOP: 26px" runat="server"
				Font-Size="15pt" BackColor="Transparent" Font-Names="Microsoft Sans Serif">Implementation Of Dynamic Intranet in an Organization</asp:Label>
			<asp:HyperLink id="HyperLink8" style="Z-INDEX: 111; LEFT: 858px; POSITION: absolute; TOP: 128px"
				runat="server" Width="86px" NavigateUrl="EmployeeList.aspx" Font-Size="8pt">Employees List</asp:HyperLink>
			<asp:HyperLink id="HyperLink7" style="Z-INDEX: 110; LEFT: 951px; POSITION: absolute; TOP: 128px"
				runat="server" NavigateUrl="Home.aspx" Font-Size="8pt">LogOut</asp:HyperLink>
			<asp:HyperLink id="HyperLink6" style="Z-INDEX: 109; LEFT: 761px; POSITION: absolute; TOP: 128px"
				runat="server" NavigateUrl="DeptList.aspx" Font-Size="8pt">Department List</asp:HyperLink>
			<asp:HyperLink id="HyperLink5" style="Z-INDEX: 108; LEFT: 684px; POSITION: absolute; TOP: 128px"
				runat="server" NavigateUrl="BranchList.aspx" Font-Size="8pt">Branche List</asp:HyperLink>
			<asp:HyperLink id="HyperLink4" style="Z-INDEX: 107; LEFT: 598px; POSITION: absolute; TOP: 128px"
				runat="server" NavigateUrl="AddEmp.aspx" Font-Size="8pt">Add Employee</asp:HyperLink>
			<asp:HyperLink id="HyperLink1" style="Z-INDEX: 103; LEFT: 380px; POSITION: absolute; TOP: 127px"
				runat="server" Font-Size="8pt" NavigateUrl="AdminHome.aspx">Home</asp:HyperLink>
			<asp:HyperLink id="HyperLink3" style="Z-INDEX: 105; LEFT: 422px; POSITION: absolute; TOP: 127px"
				runat="server" Font-Size="8pt" NavigateUrl="AddBranch.aspx">Add Branch</asp:HyperLink>
			<asp:HyperLink id="HyperLink2" style="Z-INDEX: 104; LEFT: 496px; POSITION: absolute; TOP: 127px"
				runat="server" Font-Size="8pt" NavigateUrl="AddDept.aspx">Add Department</asp:HyperLink>
			<asp:Image id="Image2" style="Z-INDEX: 102; LEFT: -1px; POSITION: absolute; TOP: 1px" runat="server"
				Width="1000px" Height="123px" ImageUrl="~\Images\site-design_01.jpg"></asp:Image>
			<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: -2px; POSITION: absolute; TOP: 124px" runat="server"
				Width="350px" Height="67px" ImageUrl="~\Images\site-design_02.jpg"></asp:Image>
			<asp:Label id="Label2" style="Z-INDEX: 119; LEFT: 9px; POSITION: absolute; TOP: 228px" runat="server"
				Font-Size="13pt">Add Employee</asp:Label>
			<asp:Image id="Image3" style="Z-INDEX: 120; LEFT: -4px; POSITION: absolute; TOP: 250px" runat="server"
				Width="274px" Height="3px" ImageUrl="~\Images\generic.jpg"></asp:Image>
			<TABLE id="Table1" style="Z-INDEX: 121; LEFT: 40px; WIDTH: 406px; POSITION: absolute; TOP: 282px; HEIGHT: 405px"
				cellSpacing="0" cellPadding="0" width="406" border="0">
				<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>
			</TABLE>
			<asp:Label id="Label5" style="Z-INDEX: 122; LEFT: 85px; POSITION: absolute; TOP: 730px" runat="server"></asp:Label>
		</form>
	</body>
</HTML>
