-
Notifications
You must be signed in to change notification settings - Fork 0
/
Employee_LookUp_App.aspx
64 lines (54 loc) · 2.47 KB
/
Employee_LookUp_App.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Employee_LookUp_App.aspx.cs" Inherits="Employee_LookUp_App" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>Employee ID:</td>
<td>
<asp:TextBox ID="txtEmpID" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Employee Name: </td>
<td>
<asp:TextBox ID="txtEmpName" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Employee Job Title:</td>
<td>
<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Employee Salary($): </td>
<td>
<asp:TextBox ID="txtSalary" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td colspan="4">
<asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" /></td>
</tr>
<tr>
<td colspan="4">
<asp:GridView ID="gridEmployees" runat="server" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None">
<AlternatingRowStyle BackColor="PaleGoldenrod" />
<FooterStyle BackColor="Tan" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<SortedAscendingCellStyle BackColor="#FAFAE7" />
<SortedAscendingHeaderStyle BackColor="#DAC09E" />
<SortedDescendingCellStyle BackColor="#E1DB9C" />
<SortedDescendingHeaderStyle BackColor="#C2A47B" />
</asp:GridView>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>