You are on page 1of 27

Dayorder

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dayorder.aspx.cs"


Inherits="StaffDiary.dayorder" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">

.style1
{
width: 100%;
}
.style2
{
height: 26px;
}
#form1
{
text-align: center;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="#FF0066" style="text-align: center"
Text="STAFF DIARY"></asp:Label>

<br />
<br />
<br />
<asp:LinkButton ID="LinkButton1" runat="server"
PostBackUrl="~/PapersAlloted.aspx">Paper Alloted</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
PostBackUrl="~/dayorder.aspx">Day Order</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton3" runat="server"
PostBackUrl="~/Login.aspx">Logout</asp:LinkButton>
<p style="text-align: center">
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Medium"
ForeColor="#CC33FF" Text="DAY ORDER"></asp:Label>
</p>
<p style="text-align: center">
&nbsp;</p>

</div>
<table class="style1">
<tr>
<td class="style2">
<asp:Label ID="Label2" runat="server" Text="Department"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList1" runat="server" Height="16px"
Width="121px">
<asp:ListItem>Master Of Computer Application</asp:ListItem>
<asp:ListItem>Master Of Computer Science</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Application</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Science</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Academic Year"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label4" runat="server" Text="Semester"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2" colspan="2">
<br />
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label11" runat="server" Text="Date"></asp:Label>
</td>
<td class="style2">
&nbsp;
<asp:TextBox ID="TextBox7" runat="server" TextMode="Date"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label12" runat="server" Text="Work Day No"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList3" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label13" runat="server" Text="Dayorder"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList4" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label5" runat="server" Text="Class"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList2" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1MCA</asp:ListItem>
<asp:ListItem>2MCA</asp:ListItem>
<asp:ListItem>3MCA</asp:ListItem>
<asp:ListItem>1MSC</asp:ListItem>
<asp:ListItem>2MSC</asp:ListItem>
<asp:ListItem>1BCA</asp:ListItem>
<asp:ListItem>2BCA</asp:ListItem>
<asp:ListItem>1BSC</asp:ListItem>
<asp:ListItem>2BSC</asp:ListItem>
<asp:ListItem>3BSC</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="Section"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList5" runat="server" Height="16px"
Width="123px">
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>D</asp:ListItem>
<asp:ListItem>E</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label9" runat="server" Text="Subject"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList7" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1MCA</asp:ListItem>
<asp:ListItem>2MCA</asp:ListItem>
<asp:ListItem>3MCA</asp:ListItem>
<asp:ListItem>1MSC</asp:ListItem>
<asp:ListItem>2MSC</asp:ListItem>
<asp:ListItem>1BCA</asp:ListItem>
<asp:ListItem>2BCA</asp:ListItem>
<asp:ListItem>1BSC</asp:ListItem>
<asp:ListItem>2BSC</asp:ListItem>
<asp:ListItem>3BSC</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label15" runat="server" Text="Subject Code"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList6" runat="server" Height="16px"
Width="123px">
<asp:ListItem>ATYURT</asp:ListItem>
<asp:ListItem>FHGYHJ</asp:ListItem>
<asp:ListItem>CAASDA</asp:ListItem>
<asp:ListItem>TYRYSC</asp:ListItem>
<asp:ListItem>2RTYSC</asp:ListItem>
<asp:ListItem>15BC365A</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label16" runat="server" Text="Hour"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList8" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label17" runat="server" Text="Slip No"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label14" runat="server" Text="Description"></asp:Label>
</td>
<td class="style2">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="TextBox10" runat="server" Height="62px"
TextMode="MultiLine"
Width="180px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<br />
<asp:Button ID="Button1" runat="server" Height="38px" Text="ADD"
Width="104px" onclick="Button1_Click1" />
&nbsp;&nbsp;
<asp:Button ID="Button2" runat="server" Height="38px" Text="REPORTS"
Width="104px" onclick="Button2_Click" />
</td>
</tr>
</table>
</form>
</body>
</html>

Paper View

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaperView.aspx.cs"


Inherits="StaffDiary.PaperView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<div style="text-align: center">

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="#FF0066" style="text-align: center"
Text="STAFF DIARY"></asp:Label>

</div>
<p style="text-align: center">
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Medium"
ForeColor="#CC33FF" Text="PAPERS ALLOTED"></asp:Label>
</p>

</div>
<p style="text-align: center">
&nbsp;</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="id" DataSourceID="SqlDataSource1" Height="202px"
style="text-align: center" Width="622px">
<Columns>
<asp:BoundField DataField="id" HeaderText="id" InsertVisible="False"
ReadOnly="True" SortExpression="id" />
<asp:BoundField DataField="Staff_Name" HeaderText="Staff_Name"
SortExpression="Staff_Name" />
<asp:BoundField DataField="Department" HeaderText="Department"
SortExpression="Department" />
<asp:BoundField DataField="Class" HeaderText="Class" SortExpression="Class" />
<asp:BoundField DataField="Section" HeaderText="Section"
SortExpression="Section" />
<asp:BoundField DataField="Paper_Name" HeaderText="Name Of The Paper"
SortExpression="Paper_Name" />
<asp:BoundField DataField="Subject" HeaderText="Subject Code"
SortExpression="Subject" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:db %>"
SelectCommand="SELECT [id], [Staff_Name], [Department], [Class], [Section],
[Paper_Name], [Subject] FROM [paper]">
</asp:SqlDataSource>
</form>
</body>
</html>

Paper Alloted

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PapersAlloted.aspx.cs"


Inherits="StaffDiary.PapersAlloted" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
height: 26px;
}
#form1
{
text-align: center;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: center">

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="#FF0066" style="text-align: center"
Text="STAFF DIARY"></asp:Label>

<br />
<br />
<br />
<asp:LinkButton ID="LinkButton1" runat="server"
PostBackUrl="~/PapersAlloted.aspx">Paper Alloted</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
PostBackUrl="~/dayorder.aspx">Day Order</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton3" runat="server"
PostBackUrl="~/Login.aspx">Logout</asp:LinkButton>

</div>
<p>
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Medium"
ForeColor="#CC33FF" Text="PAPERS ALLOTED"></asp:Label>
</p>
<table align="center" class="style1">
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Department"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" Height="16px"
Width="121px">
<asp:ListItem>Master Of Computer Application</asp:ListItem>
<asp:ListItem>Master Of Computer Science</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Application</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Science</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Academic Year"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label4" runat="server" Text="Semester"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2" colspan="2">
<br />
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label5" runat="server" Text="Class"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList2" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1MCA</asp:ListItem>
<asp:ListItem>2MCA</asp:ListItem>
<asp:ListItem>3MCA</asp:ListItem>
<asp:ListItem>1MSC</asp:ListItem>
<asp:ListItem>2MSC</asp:ListItem>
<asp:ListItem>1BCA</asp:ListItem>
<asp:ListItem>2BCA</asp:ListItem>
<asp:ListItem>1BSC</asp:ListItem>
<asp:ListItem>2BSC</asp:ListItem>
<asp:ListItem>3BSC</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="Section"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label7" runat="server" Text="Staff Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label8" runat="server" Text="Paper Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label9" runat="server" Text="Subject Code"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<br />
<asp:Button ID="Button1" runat="server" Height="38px" Text="ADD"
Width="104px" onclick="Button1_Click1" />
&nbsp;&nbsp;
<asp:Button ID="Button2" runat="server" Height="38px" Text="REPORTS"
Width="104px" onclick="Button2_Click" />
</td>
</tr>
</table>
</form>
</body>
</html>

Login
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs"
Inherits="StaffDiary.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
table{border-collapse:collapse;
width: 535px;
height: 277px;
}*{text-shadow:none!important;box-shadow:none!important}*{box-sizing:border-box;
text-align: center;
margin-left: 0px;
}tr{page-break-inside:avoid}</style>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="#FF0066" style="text-align: center"
Text="STAFF DIARY"></asp:Label>

</div>
<p>
&nbsp;</p>
<p>
&nbsp;</p>
<p>
<table align="center" class="noborders">
<tr>
<td colspan="2">
<asp:Label ID="Label5" runat="server" Font-Size="X-Large"
ForeColor="#CC3300"
Text="LOGIN PAGE"></asp:Label>
</td>
</tr>
<tr>
<td class="style7">
</td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style5">
<asp:Label ID="Label2" runat="server" Text="Username"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server" BackColor="White"
BorderColor="Black"
ForeColor="Black" Height="28px" Width="146px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style5">
<asp:Label ID="Label3" runat="server" Text="Password"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" BackColor="White"
BorderColor="Black"
ForeColor="Black" Height="28px" TextMode="Password"
Width="146px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style5">
</td>
<td class="style2">
<asp:Button ID="Button1" runat="server" BackColor="#999999"
ForeColor="#333333"
Height="32px" onclick="Button1_Click" Text="Submit" Width="83px" />
</td>
</tr>
<tr>
<td class="style5">
&nbsp;</td>
<td>
<asp:Label ID="Label4" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="style5">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</p>
</form>
</body>
</html>

Day View
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DayView.aspx.cs"
Inherits="StaffDiary.DayView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<div style="text-align: center">

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="#FF0066" style="text-align: center"
Text="STAFF DIARY"></asp:Label>

</div>
<p style="text-align: center">
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Medium"
ForeColor="#CC33FF" Text="DAY ORDER"></asp:Label>
</p>
<p style="text-align: center">
&nbsp;</p>

</div>
<div style="text-align: left; margin-left: 120px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="id" DataSourceID="SqlDataSource1" Height="212px"
style="text-align: center" Width="668px">
<Columns>
<asp:BoundField DataField="id" HeaderText="id" InsertVisible="False"
ReadOnly="True" SortExpression="id" />
<asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" />
<asp:BoundField DataField="WorkDayNo" HeaderText="WorkDayNo"
SortExpression="WorkDayNo" />
<asp:BoundField DataField="DayOrder" HeaderText="DayOrder"
SortExpression="DayOrder" />
<asp:BoundField DataField="Hour" HeaderText="Hour"
SortExpression="Hour" />
<asp:BoundField DataField="Subject" HeaderText="Subject"
SortExpression="Subject" />
<asp:BoundField DataField="SubjectCode" HeaderText="SubjectCode"
SortExpression="SubjectCode" />
<asp:BoundField DataField="SlipNo" HeaderText="SlipNo"
SortExpression="SlipNo" />
<asp:BoundField DataField="Description" HeaderText="Description"
SortExpression="Description" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:db %>"
SelectCommand="SELECT [id], [Date], [WorkDayNo], [DayOrder], [Hour],
[Subject], [SubjectCode], [SlipNo], [Description] FROM [day]">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>

Staff end

Student dairy

Login

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs"


Inherits="StaffDiary.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
table{border-collapse:collapse;
width: 535px;
height: 277px;
}*{text-shadow:none!important;box-shadow:none!important}*{box-sizing:border-box;
text-align: center;
margin-left: 0px;
}tr{page-break-inside:avoid}</style>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="Blue" style="text-align: center"
Text="STUDENT DIARY"></asp:Label>

</div>
<p>
&nbsp;</p>
<p>
&nbsp;</p>
<p>
<table align="center" class="noborders">
<tr>
<td colspan="2">
<asp:Label ID="Label5" runat="server" Font-Size="X-Large"
ForeColor="#CC3300"
Text="LOGIN PAGE"></asp:Label>
</td>
</tr>
<tr>
<td class="style7">
</td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style5">
<asp:Label ID="Label2" runat="server" Text="Username"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server" BackColor="White"
BorderColor="Black"
ForeColor="Black" Height="28px" Width="146px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style5">
<asp:Label ID="Label3" runat="server" Text="Password"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" BackColor="White"
BorderColor="Black"
ForeColor="Black" Height="28px" TextMode="Password"
Width="146px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style5">
</td>
<td class="style2">
<asp:Button ID="Button1" runat="server" BackColor="#999999"
ForeColor="#333333"
Height="32px" onclick="Button1_Click" Text="Submit" Width="83px" />
</td>
</tr>
<tr>
<td class="style5">
&nbsp;</td>
<td>
<asp:Label ID="Label4" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="style5">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</p>
</form>
</body>
</html>

Day order

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dayorder.aspx.cs"


Inherits="StaffDiary.dayorder" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">

.style1
{
width: 100%;
}
.style2
{
height: 26px;
}
#form1
{
text-align: center;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="Blue" style="text-align: center"
Text="STUDENT DIARY"></asp:Label>

<br />
<br />
<br />
<asp:LinkButton ID="LinkButton1" runat="server"
PostBackUrl="~/PapersAlloted.aspx">Paper Alloted</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
PostBackUrl="~/dayorder.aspx">Day Order</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton3" runat="server"
PostBackUrl="~/Login.aspx">Logout</asp:LinkButton>
<p style="text-align: center">
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Larger"
ForeColor="#0066FF" Text="Day Order"></asp:Label>
</p>
<p style="text-align: center">
&nbsp;</p>

</div>
<table class="style1">
<tr>
<td class="style2">
<asp:Label ID="Label2" runat="server" Text="Department"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList1" runat="server" Height="16px"
Width="121px">
<asp:ListItem>Master Of Computer Application</asp:ListItem>
<asp:ListItem>Master Of Computer Science</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Application</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Science</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Academic Year"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label4" runat="server" Text="Semester"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2" colspan="2">
<br />
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label11" runat="server" Text="Date"></asp:Label>
</td>
<td class="style2">
&nbsp;
<asp:TextBox ID="TextBox7" runat="server" TextMode="Date"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label12" runat="server" Text="Work Day No"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList3" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label13" runat="server" Text="Dayorder"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList4" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label5" runat="server" Text="Class"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList2" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1MCA</asp:ListItem>
<asp:ListItem>2MCA</asp:ListItem>
<asp:ListItem>3MCA</asp:ListItem>
<asp:ListItem>1MSC</asp:ListItem>
<asp:ListItem>2MSC</asp:ListItem>
<asp:ListItem>1BCA</asp:ListItem>
<asp:ListItem>2BCA</asp:ListItem>
<asp:ListItem>1BSC</asp:ListItem>
<asp:ListItem>2BSC</asp:ListItem>
<asp:ListItem>3BSC</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="Section"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList5" runat="server" Height="16px"
Width="123px">
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>D</asp:ListItem>
<asp:ListItem>E</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label9" runat="server" Text="Subject"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList7" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1MCA</asp:ListItem>
<asp:ListItem>2MCA</asp:ListItem>
<asp:ListItem>3MCA</asp:ListItem>
<asp:ListItem>1MSC</asp:ListItem>
<asp:ListItem>2MSC</asp:ListItem>
<asp:ListItem>1BCA</asp:ListItem>
<asp:ListItem>2BCA</asp:ListItem>
<asp:ListItem>1BSC</asp:ListItem>
<asp:ListItem>2BSC</asp:ListItem>
<asp:ListItem>3BSC</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label15" runat="server" Text="Staff Name"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label16" runat="server" Text="Lesson Plan Hour"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList8" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label14" runat="server" Text="Description"></asp:Label>
</td>
<td class="style2">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="TextBox10" runat="server" Height="62px"
TextMode="MultiLine"
Width="180px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<br />
<asp:Button ID="Button1" runat="server" Height="38px" Text="ADD"
Width="104px" onclick="Button1_Click1" />
&nbsp;&nbsp;
<asp:Button ID="Button2" runat="server" Height="38px" Text="REPORTS"
Width="104px" onclick="Button2_Click" />
</td>
</tr>
</table>
</form>
</body>
</html>

Day View

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DayView.aspx.cs"


Inherits="StaffDiary.DayView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: center">

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="Blue" style="text-align: center"
Text="STUDENT DIARY"></asp:Label>

</div>
<p style="text-align: center">
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Larger"
ForeColor="#0066FF" Text="Day Order"></asp:Label>
</p>
<p style="text-align: center">
&nbsp;</p>

</div>
<div style="text-align: left; margin-left: 120px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" Height="212px"
style="text-align: center" Width="668px">
<Columns>
<asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" />
<asp:BoundField DataField="WorkDayNo" HeaderText="WorkDayNo"
SortExpression="WorkDayNo" />
<asp:BoundField DataField="DayOrder" HeaderText="DayOrder"
SortExpression="DayOrder" />
<asp:BoundField DataField="LessonPlanHour" HeaderText="LessonPlanHour"
SortExpression="LessonPlanHour" />
<asp:BoundField DataField="SubjectWithCode" HeaderText="SubjectWithCode"
SortExpression="SubjectWithCode" />
<asp:BoundField DataField="StaffName" HeaderText="StaffName"
SortExpression="StaffName" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:db %>"

SelectCommand="SELECT [Date], [WorkDayNo], [DayOrder], [LessonPlanHour],


[SubjectWithCode], [StaffName] FROM [day]">
</asp:SqlDataSource>
</div>
</form>
</body>
</html>

Papers Alloted
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PapersAlloted.aspx.cs"
Inherits="StaffDiary.PapersAlloted" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
height: 26px;
}
#form1
{
text-align: center;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: center">

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="Blue" style="text-align: center"
Text="STUDENT DIARY"></asp:Label>

<br />
<br />
<br />
<asp:LinkButton ID="LinkButton1" runat="server"
PostBackUrl="~/PapersAlloted.aspx">Paper Alloted</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton2" runat="server"
PostBackUrl="~/dayorder.aspx">Day Order</asp:LinkButton>
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:LinkButton ID="LinkButton3" runat="server"
PostBackUrl="~/Login.aspx">Logout</asp:LinkButton>

</div>
<p>
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Larger"
ForeColor="#0066FF" Text="Lesson Plan"></asp:Label>
</p>
<table align="center" class="style1">
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Department"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" Height="16px"
Width="121px">
<asp:ListItem>Master Of Computer Application</asp:ListItem>
<asp:ListItem>Master Of Computer Science</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Application</asp:ListItem>
<asp:ListItem>Bachelor Of Computer Science</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Academic Year"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label4" runat="server" Text="Semester"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2" colspan="2">
<br />
</td>
</tr>
<tr>
<td class="style2">
<asp:Label ID="Label5" runat="server" Text="Class"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="DropDownList2" runat="server" Height="16px"
Width="123px">
<asp:ListItem>1MCA</asp:ListItem>
<asp:ListItem>2MCA</asp:ListItem>
<asp:ListItem>3MCA</asp:ListItem>
<asp:ListItem>1MSC</asp:ListItem>
<asp:ListItem>2MSC</asp:ListItem>
<asp:ListItem>1BCA</asp:ListItem>
<asp:ListItem>2BCA</asp:ListItem>
<asp:ListItem>1BSC</asp:ListItem>
<asp:ListItem>2BSC</asp:ListItem>
<asp:ListItem>3BSC</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" Text="Section"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label7" runat="server" Text="Staff Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label8" runat="server" Text="Subject"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label9" runat="server" Text="Subject Code"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<br />
<asp:Button ID="Button1" runat="server" Height="38px" Text="ADD"
Width="104px" onclick="Button1_Click1" />
&nbsp;&nbsp;
<asp:Button ID="Button2" runat="server" Height="38px" Text="REPORTS"
Width="104px" onclick="Button2_Click" />
</td>
</tr>
</table>
</form>
</body>
</html>

Paper View

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaperView.aspx.cs"


Inherits="StaffDiary.PaperView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<div style="text-align: center">

<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True"


Font-Size="XX-Large" ForeColor="Blue" style="text-align: center"
Text="STUDENT DIARY"></asp:Label>

</div>
<p style="text-align: center">
<br />
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Larger"
ForeColor="#0066FF" Text="Lesson Plan"></asp:Label>
</p>

</div>
<p style="text-align: center">
&nbsp;</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" Height="202px"
style="text-align: center" Width="622px">
<Columns>
<asp:BoundField DataField="Department" HeaderText="Department"
SortExpression="Department" />
<asp:BoundField DataField="Academic_Year" HeaderText="Academic_Year"
SortExpression="Academic_Year" />
<asp:BoundField DataField="Semester" HeaderText="Semester"
SortExpression="Semester"></asp:BoundField>
<asp:BoundField DataField="Class" HeaderText="Class" SortExpression="Class" />
<asp:BoundField DataField="Section" HeaderText="Section"
SortExpression="Section" />
<asp:BoundField DataField="Subject" HeaderText="Subject Code"
SortExpression="Subject" />
<asp:BoundField DataField="Paper_Name" HeaderText="Subject"
SortExpression="Paper_Name" />
<asp:BoundField DataField="Staff_Name" HeaderText="Staff_Name"
SortExpression="Staff_Name" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:db %>"

SelectCommand="SELECT [Department], [Academic_Year], [Semester], [Class],


[Section], [Subject], [Paper_Name], [Staff_Name] FROM [paper]">
</asp:SqlDataSource>
</form>
</body>
</html>

You might also like