-
Notifications
You must be signed in to change notification settings - Fork 0
/
Print.aspx
63 lines (57 loc) · 2.35 KB
/
Print.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
<%@ Page Title="" Language="C#" MasterPageFile="~/coord.master" AutoEventWireup="true" CodeBehind="Print.aspx.cs" Inherits="CapstoneFinal.Print" %>
<asp:Content ID="Content1" ContentPlaceHolderID="nestedFirst" runat="server">
<div>
<fieldset style="margin:20px; padding:20px; display:inline" >
<legend style="color:#450084; font-size:x-large;">Attendants</legend>
<label>Select Teacher: </label>
<asp:DropDownList
ID="ddlTeacher"
runat="server"
DataSourceID="dsViewStudents"
DataTextField="Name"
DataValueField="SchoolID"
AutoPostBack="true">
</asp:DropDownList>
<asp:Button
ID="btnLoadStudent"
runat="server"
Text="Show Selected School's Attendants"
OnClick="BtnLoadStudents" />
<asp:Button ID="BtnShowAll" runat="server" Text="Show All Attendants"
OnClick="BtnShowAll_Click" />
<br />
<fieldset style="padding:10px; margin:10px;">
<legend> Students: </legend>
<asp:GridView
runat="server"
ID="grdOrderResults"
AlternatingRowStyle-BackColor="#eaaaff"
EmptyDataText="No Students Selected!">
</asp:GridView>
</fieldset>
<fieldset style="padding:10px; margin:10px;">
<legend> Teachers: </legend>
<asp:GridView
runat="server"
ID="grdOrderResults2"
AlternatingRowStyle-BackColor="#eaaaff"
EmptyDataText="No Teachers Selected!">
</asp:GridView>
</fieldset>
<fieldset style="padding:10px; margin:10px;">
<legend> Parents: </legend>
<asp:GridView
runat="server"
ID="grdOrderResults3"
AlternatingRowStyle-BackColor="#eaaaff"
EmptyDataText="No Parents Selected!">
</asp:GridView>
</fieldset>
</fieldset>
</div>
<br />
<asp:SqlDataSource runat="server"
ID="dsViewStudents"
ConnectionString="<%$ connectionStrings:lab4 %>"
SelectCommand="SELECT * FROM School" />
</asp:Content>