-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReportCard.aspx
578 lines (561 loc) · 49.8 KB
/
ReportCard.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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
<%@ page language="VB" autoeventwireup="false" inherits="home, App_Web_ie0lzus5" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE"/>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"/>
<meta name="Generator" content="Xara HTML filter v.8.1.1.474"/>
<meta name="XAR Files" content="index_htm_files/xr_files.txt"/>
<script src="jquery/Jquery/jquery-1.7.1.js" type="text/javascript"></script>
<script src="jquery/Jquery/jquery-1.7.1.min.js" type="text/javascript"></script>
<link href="chosen_v1.5.1/chosen.css" rel="stylesheet" />
<script src="chosen_v1.5.1/chosen.jquery.js" type="text/javascript"></script>
<script src="chosen_v1.5.1/chosen.jquery.min.js" type="text/javascript"></script>
<link href="chosen_v1.5.1/chosen.min.css" rel="stylesheet" />
<title>Report Cards</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="index_htm_files/xr_fonts.css"/>
<script type="text/javascript"><!--
if (navigator.userAgent.indexOf('MSIE') != -1 || navigator.userAgent.indexOf('Trident') != -1) { document.write('<link rel="stylesheet" type="text/css" href="index_htm_files/xr_fontsie.css"/>'); }
--></script>
<script type="text/javascript"> document.documentElement.className="xr_bgh2";</script>
<link rel="stylesheet" type="text/css" href="index_htm_files/xr_main.css"/>
<link rel="stylesheet" type="text/css" href="index_htm_files/xr_text.css"/>
<link rel="stylesheet" type="text/css" href="index_htm_files/custom_styles.css"/>
<script type="text/javascript" src="index_htm_files/roe.js"></script>
<script type="text/javascript" src="index_htm_files/replaceMobileFonts.js"></script>
<link rel="stylesheet" type="text/css" href="index_htm_files/ani.css"/>
<style type="text/css">
.auto-style1 {
width: 1099px;
left: 40px;
top: 218px;
height: 119px;
position: absolute;
}
.auto-style2 {
width: 635px;
left: 300px;
top: 105px;
height: 42px;
right: 355px;
position: absolute;
}
.auto-style3 {
text-align: center;
}
.auto-style7 {
height: 35px;
width: 1210px;
}
.auto-style8 {
font-size: 15px;
}
.auto-style9 {
width: 206px;
}
.auto-style10 {
width: 187px;
}
.auto-style11 {
width: 247px;
}
.auto-style12 {
font-weight: bold;
}
</style>
</head>
<body class="xr_bgb2">
<form id="form1" runat="server">
<div class="xr_ap" id="xr_xr" style="width: 1290px; height: 1290px; top:0px; left:50%; margin-left: -645px; text-align: left;">
<script type="text/javascript">var xr_xr = document.getElementById("xr_xr")</script>
<div id="xr_td" class="xr_td">
<div class="xr_ap xr_pp">
<!--[if lt IE 9]>
<img class="xr_ap" src="index_htm_files/31.png" alt="" title="" style="left: -2px; top: -2px; width: 1304px; height: 1304px;"/>
<![endif]-->
<!--[if gte IE 9]><!-->
<span class="xr_ar" style="left: 0px; top: 0px; width: 1290px; height: 1290px; box-shadow: 5px 5px 6px rgba(0,0,0,0.25); background-color: #FFFFFF;"></span>
<!--<![endif]-->
</div>
<div id="xr_xrc3" class="xr_ap xr_xri_ xr_xrc" style="width: 1290px; height: 3590px; overflow:hidden;">
<img class="xr_rn_ xr_ap" src="index_htm_files/36.jpg" alt="" title="" style="left: -5px; top: -17px; width: 267px; height: 247px;"/>
<img class="xr_rn_ xr_ap" src="index_htm_files/33.jpg" alt="" title="" style="left: 1084px; top: 16px; width: 190px; height: 190px;"/>
<img class="xr_rn_ xr_ap" src="index_htm_files/34.jpg" alt="" title="" style="left: 1038px; top: 1038px; width: 296px; height: 268px;"/>
<img class="xr_rn_ xr_ap" src="index_htm_files/35.jpg" alt="" title="" style="left: 20px; top: 1056px; width: 285px; height: 221px;"/>
<div class="Heading_3" style="position: absolute; left:208px; top:99px; width:854px; height:10px;font-family:'Arial Black';font-weight:900;font-size:45.94px;">
<h3 class="xr_tl Heading_3" style="top: -50.56px;font-family:'Arial Black';font-weight:900;font-size:45.94px;margin:0;"><span class="Heading_3" style="width:859.48px;font-family:'Arial Black';font-weight:900;font-size:45.94px;display:inline-block;-ms-transform-origin: 0%;-webkit-transform-origin: 0%;transform-origin: 0%;-webkit-transform: scaleX(1);-moz-transform: scaleX(1);-o-transform: scaleX(1);transform: scaleX(1);">EDUCATION GRADING SOFTWARE</span></h3>
</div>
<table id="adminInfoTable" runat="server"
visible="true" class="auto-style2">
<tr>
<td class="style1" >
<strong>
<asp:Label ID="Label1" runat="server" Text="STAFF ID:"></asp:Label>
<asp:Label ID="LBStaffID" runat="server"></asp:Label>
<asp:Label ID="Label2" runat="server" ForeColor="Red">|</asp:Label>
<asp:Label ID="Label3" runat="server" Text="NAME:"></asp:Label>
<asp:Label ID="AdminLoginLabel" runat="server"></asp:Label>
<asp:Label ID="Label6" runat="server" Text="|" ForeColor="Red"></asp:Label>
<asp:Label ID="Label7" runat="server" Text="ROLE:"></asp:Label>
<asp:Label ID="LBDesignation" runat="server"></asp:Label>
<asp:Label ID="Label4" runat="server" Text="|" ForeColor="Red"></asp:Label>
<asp:Label ID="Label5" runat="server" Text="DATE:"></asp:Label>
<asp:Label ID="LBDate" runat="server"></asp:Label>
<asp:Label ID="Label8" runat="server" Text="|" ForeColor="Red"></asp:Label>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/index.aspx" ForeColor="Black">Log Out</asp:HyperLink>
</strong>
</td>
</tr>
</table>
<table id="ViewStaffTB" runat="server" valign="top"
visible="true" align="right" class="auto-style1">
<tr>
<td class="auto-style3">
<strong>
<asp:Label ID="Label9" runat="server" CssClass="auto-style4" Text="REPORT CARD"></asp:Label>
<hr class="auto-style22" />
</strong>
</td>
</tr>
<tr>
<td>
<asp:Button ID="BtnHome" runat="server" Text="Dashboard" />
<asp:Button ID="BtnCreate" runat="server" Text="Student" Width="120px" />
<asp:Button ID="BtnCreate0" runat="server" Text="Back" Width="120px" />
</td>
</tr>
<tr>
<td>
<asp:GridView ID="GridView1" runat="server" Width="1203px" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="StudentClassInitialID" DataSourceID="SessionDS" ForeColor="#333333" GridLines="None" PageSize="30" ShowFooter="True">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="StudentClassInitialID" HeaderText="Student Transaction ID" InsertVisible="False" ReadOnly="True" SortExpression="StudentClassInitialID" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Student Name" HeaderText="Student Name" SortExpression="Student Name" ReadOnly="True" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Class" HeaderText="Class" SortExpression="Class" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Session Term" HeaderText="Session Term" SortExpression="Session Term" ReadOnly="True" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="false"
CommandName="Invoice" ImageUrl="~/images/good.png" Text="Print" ToolTip="Display Report Card" CommandArgument='<%#Eval("StudentClassInitialID") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<SortedAscendingCellStyle BackColor="#FDF5AC" />
<SortedAscendingHeaderStyle BackColor="#4D0000" />
<SortedDescendingCellStyle BackColor="#FCF6C0" />
<SortedDescendingHeaderStyle BackColor="#820000" />
</asp:GridView>
<asp:SqlDataSource ID="SessionDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT StudentClassInitialTable.StudentClassInitialID, StudentInfoTable.StudentFirstname + ' ' + StudentInfoTable.StudentLastName AS [Student Name], ClassTable.Name AS Class, SessionTable.SessionName + ' ' + TermTable.TermName AS [Session Term] FROM StudentClassInitialTable INNER JOIN StudentInfoTable ON StudentClassInitialTable.StudentAdmissionID = StudentInfoTable.StudentAdmissionID INNER JOIN ClassTable ON StudentClassInitialTable.ClassID = ClassTable.ID INNER JOIN SessionTermTable ON StudentClassInitialTable.SessionTerm = SessionTermTable.ID INNER JOIN SessionTable ON SessionTermTable.SessionNameID = SessionTable.ID INNER JOIN TermTable ON SessionTermTable.TermName = TermTable.ID"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td>
<table id="AETB1" runat="server" cellpadding="0" cellspacing="0" class="auto-style23" style="border-width: 1px; border-style: solid; border-top-left-radius: 20px; border-top-right-radius: 20px; background-color: white; font-size: 15px;" visible="false">
<tr>
<td class="auto-style45">
<table id="tbl-format-c" align="center" cellpadding="5" cellspacing="5" class="auto-style10" style="width: 1206px;">
<tr>
<td class="auto-style19">Select Students</td>
<td class="auto-style19">
<asp:DropDownList class ="chosen-select" ID="CBStudent" runat="server" DataSourceID="StudentDS" DataTextField="Student Name" DataValueField="StudentClassInitialID" Width="250px" AutoPostBack="True">
</asp:DropDownList>
<asp:TextBox ID="StudentID" runat="server" Visible="False" Width="20px"></asp:TextBox>
<asp:SqlDataSource ID="StudentDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT StudentClassInitialTable.StudentClassInitialID, StudentInfoTable.StudentFirstname + ' ' + StudentInfoTable.StudentLastName + ', ' + ' ' + ClassTable.Name + ', ' + ' ' + SessionTable.SessionName + ' ' + TermTable.TermName AS [Student Name] FROM StudentClassInitialTable INNER JOIN StudentInfoTable ON StudentClassInitialTable.StudentAdmissionID = StudentInfoTable.StudentAdmissionID INNER JOIN SessionTermTable ON StudentClassInitialTable.SessionTerm = SessionTermTable.ID INNER JOIN ClassTable ON StudentClassInitialTable.ClassID = ClassTable.ID INNER JOIN SessionTable ON SessionTermTable.SessionNameID = SessionTable.ID INNER JOIN TermTable ON SessionTermTable.TermName = TermTable.ID"></asp:SqlDataSource>
</td>
<td class="auto-style19">Class</td>
<td class="auto-style19">
<asp:TextBox ID="ClassID" runat="server" ReadOnly="True" Width="250px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="auto-style19">Class Average</td>
<td class="auto-style19">
<asp:TextBox ID="ClassAvarage" runat="server" ReadOnly="True" Width="250px"></asp:TextBox>
</td>
<td class="auto-style19">Position</td>
<td class="auto-style19">
<asp:TextBox ID="txtPosition" runat="server" ReadOnly="True" Width="250px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="auto-style19" colspan="4">
<asp:GridView ID="grd_Consult0" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="Score" style="font-size: 13px" Width="1188px" PageSize="20">
<Columns>
<asp:BoundField DataField="Subject" HeaderText="Subjects" SortExpression="Subject" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="FirstTest" HeaderText="1st Test" SortExpression="FirstTest" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="SecondTest" HeaderText="2nd Test" SortExpression="SecondTest" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Assignment" HeaderText="Assignment" SortExpression="Assignment" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Exam" HeaderText="Exam" SortExpression="Exam" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="TotalScore" HeaderText="Total Score" SortExpression="TotalScore">
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Grade" HeaderText="Grade" SortExpression="Grade">
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="SubjectPosition" HeaderText="Subject Position" SortExpression="SubjectPosition">
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Rating" HeaderText="Rating" SortExpression="Rating">
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="SubjectStatement" HeaderText="Subject Statement" SortExpression="SubjectStatement">
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
</Columns>
<PagerSettings FirstPageText="Next" LastPageText="Previous" NextPageText="Next" PreviousPageText="Previous" />
</asp:GridView>
<asp:SqlDataSource ID="Score" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT SubjectTable.Name AS Subject, ScoreResultTable.FirstTest, ScoreResultTable.SecondTest, ScoreResultTable.Assignment, ScoreResultTable.Exam, ScoreResultTable.TotalScore, GradeTable.Grade, ScoreResultTable.SubjectPosition, RatingTable.Rating, ScoreResultTable.SubjectStatement FROM ScoreResultTable INNER JOIN GradeTable ON ScoreResultTable.GradeID = GradeTable.ID INNER JOIN RatingTable ON ScoreResultTable.RatingID = RatingTable.ID INNER JOIN SubjectTable ON ScoreResultTable.SubjectID = SubjectTable.ID WHERE (ScoreResultTable.StudentClassInitialID = @stu)">
<SelectParameters>
<asp:ControlParameter ControlID="StudentID" Name="stu" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td class="auto-style19" colspan="4">
<asp:Button ID="btn_ConsultBehaviour" runat="server" Text="NEXT" Width="120px" />
</td>
</tr>
<tr>
<td class="auto-style27" colspan="4">
<hr class="auto-style22" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr style="position: absolute; top: 60px; ">
<td>
<table id="SocialTB" class="auto-style7" runat ="server" visible ="false" style="background-color: #FFFFFF">
<tr>
<td><strong>
<asp:Label ID="Label10" runat="server" CssClass="auto-style8" Text="Social Behaviours"></asp:Label>
</strong></td>
<td>
</td>
</tr>
<tr>
<td>Select Behaviour</td>
<td>
<asp:DropDownList class ="chosen-select" ID="CBHabit" runat="server" DataSourceID="HabitDS" DataTextField="Habit" DataValueField="ID" Width="250px">
</asp:DropDownList>
<asp:SqlDataSource ID="HabitDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT [ID], [Habit] FROM [HabitTable]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td>Select Rating</td>
<td>
<asp:DropDownList class ="chosen-select" ID="CBRating" runat="server" DataSourceID="RateDS" DataTextField="Rating" DataValueField="ID" Width="250px">
</asp:DropDownList>
<asp:SqlDataSource ID="RateDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT [ID], [Rating] FROM [RatingTable]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td> </td>
<td>
<asp:Button ID="BTNSubmit" runat="server" Text="ADD" Width="120px" />
<asp:Button ID="BTNSubmit0" runat="server" Text="NEXT" Width="120px" />
<asp:Button ID="BTNSubmit5" runat="server" Text="PREVIOUS" Width="120px" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:GridView ID="grd_Consult1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="SN" DataSourceID="SocialDS" style="font-size: 13px" Width="1200px" PageSize="15">
<Columns>
<asp:BoundField DataField="SN" HeaderText="SN" InsertVisible="False" ReadOnly="True" SortExpression="SN" Visible="False" >
</asp:BoundField>
<asp:BoundField DataField="WORK HABIT/BEHAVIORS" HeaderText="WORK HABIT/BEHAVIORS" SortExpression="WORK HABIT/BEHAVIORS" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="RATINGS" HeaderText="RATINGS" SortExpression="RATINGS" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="false"
CommandName="Invoice" ImageUrl="~/images/del.png" Text="Print" ToolTip="Display Report Card" CommandArgument='<%#Eval("SN") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings FirstPageText="Next" LastPageText="Previous" NextPageText="Next" PreviousPageText="Previous" />
</asp:GridView>
<asp:SqlDataSource ID="SocialDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT StudentSocialBehaviourTable.SN, HabitTable.Habit AS [WORK HABIT/BEHAVIORS], RatingTable.Rating AS RATINGS FROM StudentSocialBehaviourTable INNER JOIN RatingTable ON StudentSocialBehaviourTable.Rating = RatingTable.ID INNER JOIN HabitTable ON StudentSocialBehaviourTable.Habit = HabitTable.ID WHERE (StudentSocialBehaviourTable.StudentClassInitialID = @Stud)">
<SelectParameters>
<asp:ControlParameter ControlID="StudentID" Name="Stud" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td colspan="2">
<hr class="auto-style22" />
</td>
</tr>
</table>
<table id="FinancialTB" class="auto-style7" runat ="server" visible ="false" style="background-color: #FFFFFF">
<tr>
<td><strong>
<asp:Label ID="Label11" runat="server" CssClass="auto-style8" Text="Financial Statement"></asp:Label>
</strong></td>
<td>
</td>
</tr>
<tr>
<td>Select Fees</td>
<td>
<asp:DropDownList class ="chosen-select" ID="CBFees" runat="server" DataSourceID="FessDS" DataTextField="Fees" DataValueField="FeesID" Width="250px">
</asp:DropDownList>
<asp:SqlDataSource ID="FessDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT FeesTable.FeesID, FeesTable.Fees, ClassTable.Name FROM FeesTable INNER JOIN ClassTable ON FeesTable.Class = ClassTable.ID WHERE (ClassTable.Name = @class)">
<SelectParameters>
<asp:ControlParameter ControlID="ClassID" Name="class" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td> </td>
<td>
<asp:Button ID="BTNSubmit6" runat="server" Text="ADD" Width="120px" />
<asp:Button ID="BTNSubmit7" runat="server" Text="NEXT" Width="120px" />
<asp:Button ID="BTNSubmit8" runat="server" Text="PREVIOUS" Width="120px" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:GridView ID="grd_Consult2" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="SN" DataSourceID="FeesDS" style="font-size: 13px" Width="1200px" PageSize="8">
<Columns>
<asp:BoundField DataField="SN" HeaderText="SN" InsertVisible="False" ReadOnly="True" SortExpression="SN" Visible="False" />
<asp:BoundField DataField="Fees" HeaderText="Fees" SortExpression="Fees" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Amount" HeaderText="Amount" SortExpression="Amount" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="false"
CommandName="Invoice" ImageUrl="~/images/del.png" Text="Print" ToolTip="Display Report Card" CommandArgument='<%#Eval("SN") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings FirstPageText="Next" LastPageText="Previous" NextPageText="Next" PreviousPageText="Previous" />
</asp:GridView>
<asp:SqlDataSource ID="FeesDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT StudentFeeRecodeTable.SN, FeesTable.Fees, StudentFeeRecodeTable.Amount FROM StudentFeeRecodeTable INNER JOIN FeesTable ON StudentFeeRecodeTable.FeesID = FeesTable.FeesID WHERE (StudentFeeRecodeTable.StudentClassInitialID = @Stu)">
<SelectParameters>
<asp:ControlParameter ControlID="StudentID" Name="Stu" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td colspan="2">
<hr class="auto-style22" />
</td>
</tr>
</table>
<table id="TeacherTB" class="auto-style7" runat ="server" visible ="false" style="background-color: #FFFFFF">
<tr>
<td><strong>
<asp:Label ID="Label12" runat="server" CssClass="auto-style8" Text="Teachers Remark Statement"></asp:Label>
</strong></td>
<td>
</td>
</tr>
<tr>
<td>Select Remark</td>
<td>
<asp:DropDownList class ="chosen-select" ID="CBTeacheremark" runat="server" DataSourceID="Teacter" DataTextField="SubjectStatement" DataValueField="SubjectStatement" Width="250px">
</asp:DropDownList>
<asp:SqlDataSource ID="Teacter" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT TeacherHeadStatementTable.ID, TeacherHeadStatementTable.SubjectStatement, StaffDesignationTable.Name FROM TeacherHeadStatementTable INNER JOIN StaffDesignationTable ON TeacherHeadStatementTable.StaffRole = StaffDesignationTable.SN WHERE (StaffDesignationTable.Name = N'TEACHER')"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td> </td>
<td>
<asp:Button ID="BTNSubmit9" runat="server" Text="ADD" Width="120px" />
<asp:Button ID="BTNSubmit10" runat="server" Text="NEXT" Width="120px" />
<asp:Button ID="BTNSubmit11" runat="server" Text="PREVIOUS" Width="120px" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:GridView ID="grd_Consult3" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="SN" DataSourceID="TeacherReamrkDS" style="font-size: 13px" Width="1200px" PageSize="2">
<Columns>
<asp:BoundField DataField="SN" HeaderText="SN" InsertVisible="False" ReadOnly="True" SortExpression="SN" Visible="False" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Remark" HeaderText="CLASS TEACHER REMARK" SortExpression="Remark" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="false"
CommandName="Invoice" ImageUrl="~/images/del.png" Text="Print" ToolTip="Display Report Card" CommandArgument='<%#Eval("SN") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings FirstPageText="Next" LastPageText="Previous" NextPageText="Next" PreviousPageText="Previous" />
</asp:GridView>
<asp:SqlDataSource ID="TeacherReamrkDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT SN, Remark FROM StudentRemarkTable WHERE (StudentClassInitialID = @Stu) AND (Role = N'TEACHER')">
<SelectParameters>
<asp:ControlParameter ControlID="StudentID" Name="Stu" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td colspan="2">
<hr class="auto-style22" />
</td>
</tr>
</table>
<table id="HeadTeacherTB" class="auto-style7" runat ="server" visible ="false" style="background-color: #FFFFFF">
<tr>
<td colspan="2"><strong>
<asp:Label ID="Label13" runat="server" CssClass="auto-style8" Text="Head Teachers Remark Statement"></asp:Label>
</strong></td>
<td colspan="2">
</td>
</tr>
<tr>
<td class="auto-style9">Select Remark</td>
<td>
<asp:DropDownList class ="chosen-select" ID="CBHeadTeacherRemark" runat="server" DataSourceID="HTDS" DataTextField="SubjectStatement" DataValueField="SubjectStatement" Width="250px">
</asp:DropDownList>
</td>
<td colspan="2">
<asp:SqlDataSource ID="HTDS" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT TeacherHeadStatementTable.ID, TeacherHeadStatementTable.SubjectStatement, StaffDesignationTable.Name FROM TeacherHeadStatementTable INNER JOIN StaffDesignationTable ON TeacherHeadStatementTable.StaffRole = StaffDesignationTable.SN WHERE (StaffDesignationTable.Name = N'HEAD TEACHER')"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td>
<asp:Button ID="BTNSubmit12" runat="server" Text="ADD" Width="120px" />
<asp:Button ID="BTNSubmit14" runat="server" Text="PREVIOUS" Width="120px" />
<asp:Button ID="BtnCreate1" runat="server" Text="Return Back" Width="120px" />
</td>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="4">
<asp:GridView ID="grd_Consult4" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="SN" DataSourceID="HeadTeacherRemark" style="font-size: 13px" Width="1200px" PageSize="2">
<Columns>
<asp:BoundField DataField="SN" HeaderText="SN" InsertVisible="False" ReadOnly="True" SortExpression="SN" Visible="False" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Remark" HeaderText="HEAD TEACHER REMARK" SortExpression="Remark" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="false"
CommandName="Invoice" ImageUrl="~/images/del.png" Text="Print" ToolTip="Display Report Card" CommandArgument='<%#Eval("SN") %>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings FirstPageText="Next" LastPageText="Previous" NextPageText="Next" PreviousPageText="Previous" />
</asp:GridView>
<asp:SqlDataSource ID="HeadTeacherRemark" runat="server" ConnectionString="<%$ ConnectionStrings:SchoolGradeConnectionString %>" SelectCommand="SELECT SN, Remark FROM StudentRemarkTable WHERE (StudentClassInitialID = @Stu) AND (Role = N'HEAD TEACHER')">
<SelectParameters>
<asp:ControlParameter ControlID="StudentID" Name="Stu" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td colspan="4">
</td>
</tr>
<tr>
<td class="auto-style9">
1ST CLASS TEACHER'S NAME</td>
<td>
<asp:TextBox ID="txtStaffName" runat="server" Width="250px"></asp:TextBox>
</td>
<td class="auto-style11">
2ND CLASS TEACHER'S NAME</td>
<td>
<asp:TextBox ID="TextBox5" runat="server" Width="250px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="auto-style9">
HEAD TECHER'S NAME</td>
<td>
<asp:TextBox ID="TextBox6" runat="server" ReadOnly="True" Width="250px"></asp:TextBox>
</td>
<td class="auto-style11">
</td>
<td>
</td>
</tr>
<tr>
<td colspan="4">
<hr class="auto-style22" />
</td>
</tr>
<tr>
<td colspan="4" class="auto-style3">
<strong>
<asp:Button ID="BTNSubmit15" runat="server" Text="PRINT REPORT CARD" Width="500px" CssClass="auto-style12" />
</strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="xr_xo0" class="xr_ap" style="left:0; top:0; width:1290px; height:100px; visibility:hidden; z-index:3;">
<a href="#" onclick="return(false);" onmousedown="xr_ppir(this);">
</a>
</div>
<div id="xr_xd0"></div>
</div>
</div>
</div>
<script type="text/javascript">
var config = {
'.chosen-select': {}
}
for (var selector in config) {
$(selector).chosen(config[selector]);
}
</script>
</form>
</body>
</html>