-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathView_Courses.aspx
167 lines (165 loc) · 8.4 KB
/
View_Courses.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="View_Courses.aspx.cs" Inherits="RMS.View_Courses" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
.style147
{
width: 100%;
}
.style148
{
width: 307px;
}
.style149
{
width: 543px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<p align="center">
<asp:Label ID="lblError" runat="server" BackColor="Red" Font-Bold="True"
Font-Names="Arial" Font-Size="Large" ForeColor="White" Text="E" Visible="False"></asp:Label>
</p>
<p align="center">
<asp:TextBox ID="txtSearch" runat="server" BorderStyle="Ridge"
Font-Bold="False" Font-Size="X-Large" Height="31px" style="margin-left: 0px"
Width="211px"></asp:TextBox>
<asp:Button ID="btnSearch" runat="server" Font-Size="Large"
onclick="btnSearch_Click" Text="Search Course" />
<asp:TextBox ID="txtProfile" runat="server" BackColor="Silver"
BorderStyle="None" Visible="False" Width="50px">_</asp:TextBox>
</p>
<br />
<table class="style147">
<tr>
<td>
<table class="style147">
<tr>
<td class="style148">
</td>
<td class="style149">
<asp:Panel ID="PanelSearchGrid" runat="server" Height="161px" ScrollBars="Auto"
style="margin-left: 0px" Width="535px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px"
CellPadding="4" HeaderStyle-BackColor="#3AC0F2" HeaderStyle-ForeColor="White"
Height="16px" onselectedindexchanged="GridView1_SelectedIndexChanged"
style="text-align: justify" Width="515px">
<RowStyle BackColor="White" ForeColor="#330099" HorizontalAlign="Left"
VerticalAlign="Top" />
<Columns>
<asp:BoundField DataField="Course_ID" HeaderText="Course_ID"
ItemStyle-Width="150">
<ItemStyle Width="50px" />
</asp:BoundField>
<asp:BoundField DataField="Course_Title" HeaderText="Course_Title" />
<asp:BoundField DataField="Course_Level" HeaderText="Course_Level" />
<asp:ButtonField CommandName="Select" ItemStyle-Width="150" Text="Update">
<ItemStyle Width="50px" />
</asp:ButtonField>
</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<PagerStyle BackColor="#006600" ForeColor="#330099" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
<HeaderStyle BackColor="#006600" Font-Bold="True" ForeColor="#FFFFCC" />
<SortedAscendingCellStyle BackColor="#FEFCEB" />
<SortedAscendingHeaderStyle BackColor="#AF0101" />
<SortedDescendingCellStyle BackColor="#F6F0C0" />
<SortedDescendingHeaderStyle BackColor="#7E0000" />
</asp:GridView>
<asp:TextBox ID="txtCseID" runat="server" style="text-align: left"
Visible="False" Width="128px"></asp:TextBox>
</asp:Panel>
</td>
<td>
</td>
</tr>
</table>
<br />
<asp:Panel ID="Panel3" runat="server" Height="306px" style="margin-left: 0px"
Visible="False" Width="1173px">
<table align="center" bgcolor="#E4E4E4" class="style2"
style="width: 343px; height: 291px; color: #000000;">
<tr>
<td align="center" bgcolor="#006600" class="style3" colspan="2">
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Calibri"
ForeColor="White" style="font-size: large" Text="Update Course Details"></asp:Label>
</td>
</tr>
<tr class="style151">
<td class="style134">
</td>
<td class="style146">
</td>
</tr>
<tr>
<td align="left" style="font-size: small; ">
Course ID:</td>
<td align="left" class="style133"
style="font-size: small; font-weight: bold;">
<asp:TextBox ID="txtCourseId" runat="server" Width="190px"></asp:TextBox>
</td>
</span></span>
</tr>
<tr>
<td align="left" style="font-size: small; ">
Course Title:</td>
<td align="left" class="style146"
style="font-size: small; font-weight: bold;">
<asp:TextBox ID="txtCourseTitle" runat="server" Width="190px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="left" style="font-size: small; ">
Course Level:</td>
<td align="left" class="style146"
style="font-size: small; font-weight: bold;">
<asp:DropDownList ID="DropDownListLevel" runat="server" CssClass="style39"
Width="190px">
<asp:ListItem></asp:ListItem>
<asp:ListItem>100</asp:ListItem>
<asp:ListItem>200</asp:ListItem>
<asp:ListItem>300</asp:ListItem>
<asp:ListItem>400</asp:ListItem>
<asp:ListItem>500</asp:ListItem>
<asp:ListItem>600</asp:ListItem>
<asp:ListItem>700</asp:ListItem>
<asp:ListItem>800</asp:ListItem>
<asp:ListItem>900</asp:ListItem>
</asp:DropDownList>
</td>
</span>
</tr>
<tr class="style151">
<td class="style22" colspan="2">
</td>
</tr>
<tr>
<td align="center" class="style22" colspan="2">
<asp:Button ID="btnUpdate" runat="server" onclick="btnUpdate_Click"
Text="Save" Width="78px" />
<span class="style151"> </span>
<asp:Button ID="btnCanc" runat="server" onclick="btnCanc_Click" Text="Cancel"
Width="76px" />
</td>
</tr>
<tr>
<td class="style151" colspan="2">
<asp:TextBox ID="txtDateUpdated" runat="server" Visible="False" Width="64px"></asp:TextBox>
</td>
</tr>
</table>
<br />
<br />
<br />
<br />
<br />
</asp:Panel>
<br />
</td>
</tr>
</table>
<br />
<br />
</asp:Content>