Вы находитесь на странице: 1из 68

Aboutus.

aspx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="Aboutus.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm3"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style3
{
width: 80%;
border: 3px solid #c0c0c0;
margin:0px auto;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style3">
<tr>

<td align="center" colspan="2">


<img alt="txt-url"
src="Administrator/image/new_icon.gif"
style="width: 47px; height: 24px" /><img
alt="txt-url"
src="Administrator/image/blinking_new.gif" style="width: 40px; height: 20px"
/><marquee>WELCOME&nbsp;&nbsp;&nbsp; TO&nbsp;&nbsp;&nbsp;
STUDENT</td></marquee>
</tr>
<tr>
<td align="center" colspan="2">
WELCOME</td>
</tr>
<tr align="center" valign="top">
<td height="300">
Today, in this computer era,DS COLLEGE&nbsp;
KATIHAR Computer Education
providing all types of computer&#39;s ShortTerms, Long- Terms, Programming Learning
Packages Under a single roof. We are
providing our computer learning services
from last 3 yrs. We upgrade our Hardware as
well as Software system time to
time. Also upgrade the teaching staff with
latest technology according to
today&#39;s demands. Our Organization
provides the best learning envir ment as per
institution level. Our business is not only
to provide computer learning, it&#39;s
also our passion to mentain quality and sat
isfaction. We understand the entire
process, from top-level assessments through
learning management. In this way, we
can offer solutions that fit our
student&#39;s need and satisfaction. We also give

the best way to use their investments in

learning and education in our

</td>
<td height="100" width="100">
<img alt="TXT-URL"
src="Administrator/image/1e3adc38d979adaada613795bf2bdf9b.gif"
style="width: 100px; height: 100px" />
</td>
</tr>
</table>
</asp:Content>

Collegelist.apx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="collegelist.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm7"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style3
{
width: 100%;
border: 3px solid #c0c0c0;
}
.style13
{
width: 100%;
border: 3px solid #c0c0c0;
}
</style>
</asp:Content>
<asp:Content ID="Content2" runat="server"
contentplaceholderid="ContentPlaceHolder1">
<table cellpadding="2" class="style13" width="300">
<tr>
<td height="50" width="300">
We are associate with main in India&nbsp; ,and&nbsp; an we
provide&nbsp; and&nbsp;
to focus&nbsp; to that&nbsp; college&nbsp; ,our&nbsp;
list&nbsp; is:-</td>
<td width="300">
</td>
<td width="300">
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>

<td>

</td>

</tr>
</table>
</asp:Content>

Contactus.apx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="Contactus.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm1"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style3
{
width: 651px;
border: 3px solid #c0c0c0;
height: 200px;
margin:0px*0px*0px*0px;
}
.style5
{
width: 651px;
border:3px solid #c0c0c0;
height:200px;
margin:0px*0px*0px*0px;
}
.style6
{
width: 847px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style3" align="center" style="height: 463px">
<tr>

<td align="center"

style="text-decoration: underline; font-family: 'Bookman Old


Style'; font-size: medium; font-weight: bold; font-style: italic; fontvariant: normal; text-transform: capitalize; color: #000000"
height="200" valign="middle" class="style6">
CONTACT&nbsp;&nbsp;&nbsp; INFORMATION&nbsp;&nbsp;&nbsp;
<br />
<br />
<br />
Monday&nbsp; -Saturday :9:30 Am to 6:30 pm<br />
<br />
Address : D.S&nbsp; College&nbsp;&nbsp; Road ,Katihar854105<br />

<br />
phone:+91-98112211828, +91-9873177078<br />
<br />
Fax:+91--11-26388387, 88,89<br />
<br />
<a
href="mailto:Email:info@dscollege.in">Email:info@dscollege.in</a>,
<a
href="mailto:student@dscollege.in">student@dscollege.in</a><br />
<br />
</td>
<td align="center"
style="text-decoration: underline; font-family: 'Bookman Old
Style'; font-size: medium; font-weight: bold; font-style: italic; fontvariant: normal; text-transform: capitalize; color: #000000"
height="200" valign="middle" class="style5">
<br />
Contact&nbsp;&nbsp;&nbsp; us<br />
<br />
Leave&nbsp; Us&nbsp; a&nbsp; message<br />
<br />
&nbsp;<asp:TextBox ID="TextBox1" runat="server" Height="20px"
Width="200px">Name:</asp:TextBox>
<br />
<br />
<asp:TextBox ID="TextBox2" runat="server" Height="20px"
Width="200px">Email:</asp:TextBox>
<br />
<br />
<asp:TextBox ID="TextBox3" runat="server" Height="20px"
Width="200px">Phone No:</asp:TextBox>
<br />
<br />
<asp:TextBox ID="TextBox4" runat="server" Height="30px"
TextMode="MultiLine"
Width="200px">Message:</asp:TextBox>
<br />
<br />
<asp:Button ID="Button1" runat="server" Height="20px"
Text="SEND Message"
Width="200px" />
<br />
<br />
</td>
</tr>
</table>
</asp:Content>

Default.apx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="FINALONLINETESTPORTAL.Default"
Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr style="color: #FFFFFF; background-color: #000000;">
<td class="style2" align="center" height="200">
<asp:Login ID="lgnstudent" runat="server"
onauthenticate="lgnstudent_Authenticate"
TitleText="Student login"
Font-Bold="True" Height="203px">
<TextBoxStyle BorderColor="#400020"
BorderWidth="4px" />
<LoginButtonStyle BackColor="#004284"
BorderColor="#400020" />
<InstructionTextStyle Font-Size="15pt" FontStrikeout="False"
Font-Underline="False" />
<LabelStyle Font-Size="15pt" />
<FailureTextStyle Font-Size="15pt" />
<TitleTextStyle BackColor="#004284"
BorderColor="#400020" BorderStyle="Solid"
Font-Bold="True" Font-Size="15pt"
Height="30px" Wrap="True" />
<HyperLinkStyle Font-Size="15pt" />
</asp:Login>
</td>
<td class="style2" align="center" height="150">
<asp:Login ID="lgnfaculty" runat="server"
TitleText="Faculty Login"
onauthenticate="lgnfaculty_Authenticate"
Height="203px">
<TextBoxStyle BackColor="White"
BorderColor="#400020" BorderStyle="Solid"
BorderWidth="4px" />
<LoginButtonStyle BackColor="#004284"
BorderColor="#400020" />
<LabelStyle Font-Size="15pt" />
<TitleTextStyle BackColor="#004284"
BorderColor="#400020" BorderStyle="Solid"
Font-Bold="True" Font-Size="15pt"
Height="30px" />
</asp:Login>
</td>
<td class="style2" align="center" height="150">
<asp:Login ID="lgnadmin" runat="server"
TitleText="Admin Login"
onauthenticate="admin_Authenticate"
Height="203px">
<TextBoxStyle BorderColor="#400020"
BorderWidth="4px" />
<LoginButtonStyle BackColor="#004284"
BorderColor="#400020" />
<LabelStyle Font-Size="16pt" />
<TitleTextStyle BackColor="#004284"
BorderColor="#400020" BorderStyle="Solid"

Font-Bold="True" Font-Size="15pt"

Height="30px" />

</asp:Login>
</td>
</tr>
</table>
</asp:Content>

Gridviewclass1.aspx
<%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="Gridviewclass1.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Gridviewclass1" %>
<!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>Untitled Page</title>
<style type="text/css">
.style1
{
width: 100%;
border: 3px solid #c0c0c0;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False"
onselectedindexchanged="GridView1_SelectedIndexChanged">
<Columns>
<asp:TemplateField HeaderText="Question Detail ">
<ItemTemplate>
<table cellpadding="2" class="style1">
<tr>
<td>
<asp:Label ID="lblEnterName"
runat="server" Text='<%#Bind("EnterName") %>'></asp:Label>
</td>
<td>
<asp:Label ID="Label2" runat="server"
Text="Label"></asp:Label>
</td>
<td>
<asp:Label ID="Label3" runat="server"
Text="Label"></asp:Label>
</td>
<td>
<asp:Label ID="Label4" runat="server"
Text="Label"></asp:Label>

Text="Label"></asp:Label>

Text="Label"></asp:Label>

Text="Label"></asp:Label>

onclick="btnshownow_Click"

</td>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server"
</td>
<td>
<asp:Label ID="Label6" runat="server"
</td>
<td>
<asp:Label ID="Label7" runat="server"
</td>
<td>
<asp:Button ID="btnshownow" runat="server"

</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

Text="Shownow" />

</div>
</form>
</body>
</html>

Home1.Master
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Home1.master.cs"
Inherits="FINALONLINETESTPORTAL.Home1" %>
<!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>Online Test Home Page</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>

<style type="text/css">
.style1
{
width:100%;
border:3px solid #c0c0c0;

}
#menu1 ul

margin: 0px;
padding: 0px;
height: 50px;
width: 100%;
background-color:black ;

}
#menu1 ul li
{
list-style-type: none;
float: left;
height: 50px;
margin: 0px;
padding: 0px;
}
#menu1 ul li a
{
display: block;
text-decoration: none;
line-height: 20px;
padding: 15px 10px;
color: white;
font-family: Iskoola Pota;
font-weight: bold;
border-right:solid 2px red;
}
#menu1 ul li ul
{
display: none;
width: 150px;
height: auto;
position:relative;
z-index:1000;
}
#menu1 ul li:hover ul
{
display: block;
height:auto;
}
#menu1 ul li ul li
{
height:50px;
background-color:Teal;
width:150px;
}
#menu1 ul li a:hover
{
background:white;
color: Black;
}
.style1
{
width: 1314px;

.style3
{
height: 115px;
}

</style>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<table cellpadding="2" class="style1">
<tr>
<td>
<table cellpadding="2" class="style1">
<tr bgcolor="#8080FF">
<td width="200" style="border: medium solid #000000"
class="style3"
bgcolor="#79A5FF">
<img alt="txt-url"
src="Administrator/image/dslogo.png"
style="width: 200px; height: 115px" /></td>
<td
style="border-top-style: solid; border-bottomstyle: solid; border-top-width: thick;
border-bottom-width: thick; border-top-color:
#000000; border-bottom-color: #000000;"
class="style3">
<img alt="txt-url"
src="Administrator/image/slide1.png"
style="width: 1078px; height: 150px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="60px" id="menu1" bgcolor="#996633">
<ul>
<li><a href="Default.aspx">Home </a></li>
<li><a href="StudentRegistration.aspx">Registration</a>
<ul>
<li><a href="#">Faculty</a></li>
<li><a href="StudentRegistration.aspx">Student</a></li>
</ul>
</li>
<li><a href="Aboutus.aspx">About Us </a>
<ul>
<li><a href="#">Profile</a></li>
<li><a href="#">MissionVission</a></li>
</ul>
</li>

<li><a href="Notification.aspx">Notification </a></li>


<li><a href="Result.aspx">Result </a></li>
<li><a href="#">Topper List </a></li>
<li><a href="collegelist.aspx">Listed College</a></li>
<li><a href="imagegallery.aspx">Image Gallery </a></li>
<li><a href="Latestnotice.aspx">Latest Notice </a></li>
<li><a href="Contactus.aspx">Contact Us</a>
</li>
</ul>
</td>
</tr>
<tr>
<td height="150">
&nbsp;&nbsp;
<!--<img alt="txt-url" src="Administrator/image/slide4.jpg"
style=" margin:0px auto; width: 1300px; height: 400px";
/>-->
<!-- Start cssSlider.com -->
<!-- Generated by cssSlider.com 2.0 -->
<link rel="stylesheet"
href="cssslider_files/csss_engine1/style.css">
<!--[if IE]><link rel="stylesheet"
href="cssslider_files/csss_engine1/ie.css"><![endif]-->
<!--[if lte IE 9]><script type="text/javascript"
src="cssslider_files/csss_engine1/ie.js"></script><![endif]-->
<div class="csslider1 autoplay ">
<input name="cs_anchor1" id="cs_slide1_0" type="radio"
class="cs_anchor slide">
<input name="cs_anchor1" id="cs_slide1_1" type="radio"
class="cs_anchor slide">
<input name="cs_anchor1" id="cs_slide1_2" type="radio"
class="cs_anchor slide">
<input name="cs_anchor1" id="cs_slide1_3" type="radio"
class="cs_anchor slide">
<input name="cs_anchor1" id="cs_play1" type="radio"
class="cs_anchor" checked="">
<input name="cs_anchor1" id="cs_pause1_0" type="radio"
class="cs_anchor pause">
<input name="cs_anchor1" id="cs_pause1_1" type="radio"
class="cs_anchor pause">
<input name="cs_anchor1" id="cs_pause1_2" type="radio"
class="cs_anchor pause">
<input name="cs_anchor1" id="cs_pause1_3" type="radio"
class="cs_anchor pause">
<ul>
<li class="cs_skeleton"><img
src="cssslider_files/csss_images1/slide1.jpg" style="width: 100%;"></li>
<li class="num0 img slide"> <img
src="cssslider_files/csss_images1/slide1.jpg" alt="slide1"
title="slide1"></li>
<li class="num1 img slide"> <img
src="cssslider_files/csss_images1/slide3.jpg" alt="slide3"
title="slide3"></li>

<li class="num2 img slide"> <img


src="cssslider_files/csss_images1/slide4.jpg" alt="slide4"
title="slide4"></li>
<li class="num3 img slide"> <img
src="cssslider_files/csss_images1/slide5.jpg" alt="slide5"
title="slide5"></li>
</ul><div class="cs_engine"><a href="http://cssslider.com">angular
carousel</a> by cssSlider.com v2.0</div>
<div class="cs_description">
<label class="num0"><span class="cs_title"><span
class="cs_wrapper">slide1</span></span></label>
<label class="num1"><span class="cs_title"><span
class="cs_wrapper">slide3</span></span></label>
<label class="num2"><span class="cs_title"><span
class="cs_wrapper">slide4</span></span></label>
<label class="num3"><span class="cs_title"><span
class="cs_wrapper">slide5</span></span></label>
</div>
<div class="cs_play_pause">
<label class="cs_play"
for="cs_play1"><span><i></i><b></b></span></label>
<label class="cs_pause num0"
for="cs_pause1_0"><span><i></i><b></b></span></label>
<label class="cs_pause num1"
for="cs_pause1_1"><span><i></i><b></b></span></label>
<label class="cs_pause num2"
for="cs_pause1_2"><span><i></i><b></b></span></label>
<label class="cs_pause num3"
for="cs_pause1_3"><span><i></i><b></b></span></label>
</div>
<div class="cs_arrowprev">
<label class="num0"
for="cs_slide1_0"><span><i></i><b></b></span></label>
<label class="num1"
for="cs_slide1_1"><span><i></i><b></b></span></label>
<label class="num2"
for="cs_slide1_2"><span><i></i><b></b></span></label>
<label class="num3"
for="cs_slide1_3"><span><i></i><b></b></span></label>
</div>
<div class="cs_arrownext">
<label class="num0"
for="cs_slide1_0"><span><i></i><b></b></span></label>
<label class="num1"
for="cs_slide1_1"><span><i></i><b></b></span></label>
<label class="num2"
for="cs_slide1_2"><span><i></i><b></b></span></label>
<label class="num3"
for="cs_slide1_3"><span><i></i><b></b></span></label>
</div>
<div class="cs_bullets">
<label class="num0" for="cs_slide1_0"> <span
class="cs_point"></span>
<span class="cs_thumb"><img
src="cssslider_files/csss_tooltips1/slide1.jpg" alt="slide1"
title="slide1"></span></label>

<label class="num1" for="cs_slide1_1"> <span


class="cs_point"></span>
<span class="cs_thumb"><img
src="cssslider_files/csss_tooltips1/slide3.jpg" alt="slide3"
title="slide3"></span></label>
<label class="num2" for="cs_slide1_2"> <span
class="cs_point"></span>
<span class="cs_thumb"><img
src="cssslider_files/csss_tooltips1/slide4.jpg" alt="slide4"
title="slide4"></span></label>
<label class="num3" for="cs_slide1_3"> <span
class="cs_point"></span>
<span class="cs_thumb"><img
src="cssslider_files/csss_tooltips1/slide5.jpg" alt="slide5"
title="slide5"></span></label>
</div>
</div>
<!-- End cssSlider.com -->

</td>
</tr>
<tr>
<td height="150" bgcolor="#8080FF">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td height="50" style="font-family: Arial; font-size: 20px; fontstyle: italic; color: #FFFFFF;
background-color: #000000">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="mailto:coyright@2015..Desigend">coyright@2015..Desigend</a>&nbsp; and
developed by Team:&#39;H&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;
<td><marquee scrollamount = "4</td> Online Test Home Page
Developed by Team H&nbsp;
</td>

</tr>
</table>
</form>
</body>
</html>

imagegallery.aspx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="imagegallery.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm6"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
</asp:Content>

Latestnotice.aspx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="Latestnotice.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm9"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style4
{
width: 100%;
border: 3px solid #c0c0c0;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style4">
<tr>
<td align="center">
D.S College
<br />
NOTICE<br />
13 June 2015....<br />
COLLEGE&nbsp; HOLIDAY<br />
The&nbsp; College&nbsp; will&nbsp; remain&nbsp; closed&nbsp;
for&nbsp; a week&nbsp;
from&nbsp; 18 June...to 24 June ...for&nbsp;&nbsp; the&nbsp;
Commonwealth&nbsp;&nbsp;
Games&nbsp; in&nbsp; New&nbsp; Delhi.<br />
Dr.Pawan Kr. Jha<br />
Principal</td>
</tr>
</table>
</asp:Content>

Notification.aspx

<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"


CodeBehind="Latestnotice.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm9"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style4
{
width: 100%;
border: 3px solid #c0c0c0;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style4">
<tr>
<td align="center">
D.S College
<br />
NOTICE<br />
13 June 2015....<br />
COLLEGE&nbsp; HOLIDAY<br />
The&nbsp; College&nbsp; will&nbsp; remain&nbsp; closed&nbsp;
for&nbsp; a week&nbsp;
from&nbsp; 18 June...to 24 June ...for&nbsp;&nbsp; the&nbsp;
Commonwealth&nbsp;&nbsp;
Games&nbsp; in&nbsp; New&nbsp; Delhi.<br />
Dr.Pawan Kr. Jha<br />
Principal</td>
</tr>
</table>
</asp:Content>

Onlinetest.cs
using
using
using
using
using
using
using
using
using
using
using

System;
System.Data;
System.Configuration;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.HtmlControls;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Xml.Linq;

using System.Data.SqlClient;
namespace FINALONLINETESTPORTAL
{
public class onlinetest
{
public String pqr()

String path = @"Data Source = .\SQLEXPRESS;" + @"AttachDbFilename


=C:\Users\Ints\Desktop\bcaaaaaaaaaaaaa\TEAM
H\FINALONLINETESTPORTAL\App_Data\Alluser.mdf; Integrated Security = True; User
Instance=True";
return path;
}
}
}

Results.apx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="Result.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm8"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style4
{
width: 100%;
border: 3px solid #c0c0c0;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style4">
<tr>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Student_registration_slip.aspx
<%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="Student_registration_slip.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student_registration_slip" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div style="height: 347px">

<table align="center" cellpadding="2" class="style1">


<tr>
<td colspan="2">
Great You are registered Successfully to participate in
online Test.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Kindly Keep
following Details for future Use..<br />
</td>
</tr>
<tr>
<td class="style3">
Your&nbsp; Name</td>
<td>
<asp:Label ID="lblname" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="style3">
Your UserId</td>
<td>
<asp:Label ID="lbluid" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="style3">
Your Password</td>
<td>
<asp:Label ID="lblpwd" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="style2">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</div>
</form>
</body>
</html>

StudentRegistration.aspx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="StudentRegistration.aspx.cs"
Inherits="FINALONLINETESTPORTAL.WebForm2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">

.style3
{
font-size: x-large;
font-weight: bold;
}

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1" align="center" bgcolor="#33CCFF"
frame="border"
style="border-style: none; border-width: medium; height: 595px; width:
863px;"
border="1">
<tr>
<td align="center" colspan="4" class="style3">
Student registration form..</td>
</tr>
<tr>
<td align="center" style="font-size: large" colspan="4">
Personal Details of Students&nbsp; :-</td>
</tr>
<tr>
<td style="font-size: large"align="right">
<asp:Label ID="lblname" runat="server" Text="Enter Your
Name"></asp:Label>
: </td>
<td style="font-size: large; left: auto;"align="left">
<asp:TextBox ID="txtname0" runat="server"
ontextchanged="txtname_TextChanged"></asp:TextBox>
</td>
<td style="font-size: large"align="right">
<asp:Label ID="lblfathername0" runat="server" Text="Enter
Father's Name"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtfathername0" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lbladdress0" runat="server"
Text="Address"></asp:Label>
</td>
<td style="font-size: large">
<asp:TextBox ID="txtaddress0" runat="server"></asp:TextBox>
</td>
<td style="font-size: large" align="right">

<asp:Label ID="lblGender0" runat="server"


Text="Gender"></asp:Label>
</td>
<td align="left">
<asp:DropDownList ID="ddlGender0" runat="server">
<asp:ListItem>Female</asp:ListItem>
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lblDOB0" runat="server">Date of
Birth</asp:Label>
</td>
<td style="font-size: large">
<asp:DropDownList ID="ddldate0" runat="server">
<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:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="ddlmonth0" runat="server">
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>mar</asp:ListItem>
<asp:ListItem>apr</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>

<asp:ListItem>july</asp:ListItem>
<asp:ListItem>aug</asp:ListItem>
<asp:ListItem>sep</asp:ListItem>
<asp:ListItem>oct</asp:ListItem>
<asp:ListItem>nov</asp:ListItem>
<asp:ListItem>dec</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="ddlyear0" runat="server">
<asp:ListItem>2000</asp:ListItem>
<asp:ListItem>2001</asp:ListItem>
<asp:ListItem>2002</asp:ListItem>
<asp:ListItem>2003</asp:ListItem>
<asp:ListItem>2004</asp:ListItem>
<asp:ListItem>2005</asp:ListItem>
<asp:ListItem>2006</asp:ListItem>
<asp:ListItem>2008</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem>1996</asp:ListItem>
<asp:ListItem>1997</asp:ListItem>
<asp:ListItem>1998</asp:ListItem>
<asp:ListItem>1999</asp:ListItem>
<asp:ListItem>2000</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
<td style="font-size: large" align="right">
<asp:Label ID="lblmobileno0" runat="server"
Text="mobileno"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtmobileno" runat="server"
ontextchanged="txtmobileno_TextChanged"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator
ID="RegularExpressionValidator1"
runat="server" ControlToValidate="txtmobileno"
Display="Dynamic"
ErrorMessage="Not in Formate"
ValidationExpression="^([0]|\+91)?\d{10}"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td style="font-size: large"align="right">
EmailId</td>
<td style="font-size: large"align="left">
<asp:TextBox ID="txtemailid0" runat="server"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator
ID="RegularExpressionValidator2"
runat="server" ControlToValidate="txtemailid0"
Display="Dynamic"
ErrorMessage="Not in Formate"

ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+
([-.]\w+)*"></asp:RegularExpressionValidator>
</td>
<td style="font-size: large"align="center">
&nbsp;</td>
<td align="left">
&nbsp;</td>
</tr>
<tr>
<td style="font-size: large">
</td>
<td style="font-size: large">
</td>
<td style="font-size: large">
</td>
<td align="left">
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td style="font-size: large" align="center" colspan="4">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Educational&nbsp;&nbsp; Details of
Student:-</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lblstudies0" runat="server" Text="Are you
Studies in"></asp:Label>
</td>
<td style="font-size: large">
<asp:TextBox ID="txtstudies" runat="server"></asp:TextBox>
</td>
<td style="font-size: large" align="right">
<asp:Label ID="lblcollege1" runat="server"
Text="College/School Name"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtcollege0" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lblcollege2" runat="server"
Text="UploadResume"></asp:Label>
</td>
<td style="font-size: large">
<asp:FileUpload ID="Filemypicture" runat="server" />
</td>
<td style="font-size: large">
Upload Image</td>
<td align="left">
<asp:FileUpload ID="UploadImage" runat="server" />
</td>
</tr>
<tr>

<td style="font-size: large">


&nbsp;</td>
<td style="font-size: large">
&nbsp;</td>
<td style="font-size: large">
&nbsp;</td>
<td align="left">
&nbsp;</td>
</tr>
<tr>
<td align="center" style="font-size: large" colspan="4">
Contact Address Details&nbsp; :-</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lblcountery" runat="server" Text="Country
Name"></asp:Label>
</td>
<td style="font-size: large">
<asp:TextBox ID="txtcontryname0" runat="server"></asp:TextBox>
&nbsp;</td>
<td style="font-size: large" align="right">
<asp:Label ID="lblstatename0" runat="server" Text="State
Name"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtstatename0" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lbldistricname0" runat="server" Text="District
Name"></asp:Label>
</td>
<td style="font-size: large">
<asp:TextBox ID="txtdstname" runat="server"></asp:TextBox>
</td>
<td style="font-size: large" align="right">
<asp:Label ID="lblpsname" runat="server" Text="P.S
Name"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtps" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-size: large" align="right">
<asp:Label ID="lblpo" runat="server" Text="P.O"></asp:Label>
</td>
<td style="font-size: large">
<asp:TextBox ID="txtpo" runat="server"></asp:TextBox>
</td>
<td style="font-size: large" align="right">
<asp:Label ID="lblpincode" runat="server" Text="Pin
Code"></asp:Label>
</td>
<td align="left">

<asp:TextBox ID="txtpincode" runat="server"></asp:TextBox>


</td>
</tr>
<tr>
<td style="font-size: large">
&nbsp;</td>
<td style="font-size: large">
&nbsp;</td>
<td style="font-size: large">
&nbsp;</td>
<td align="left">
&nbsp;</td>
</tr>
<tr>
<td align="center" style="font-size: large" colspan="4">
Login Details of Student&nbsp; :-</td>
</tr>
<tr>
<td style="font-size: large" align="right">
Userid</td>
<td style="font-size: large">
<asp:TextBox ID="txtuid" runat="server"></asp:TextBox>
</td>
<td style="font-size: large" align="right">
Password</td>
<td align="left">
<asp:TextBox ID="txtpwd" runat="server"
TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-size: large">
&nbsp;</td>
<td style="font-size: large">
&nbsp;</td>
<td style="font-size: large">
Date</td>
<td align="left">
<asp:TextBox ID="txtdate" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right">
<asp:Button ID="btnsubmit" runat="server" Text="Submit"
onclick="btnsubmit_Click" />
</td>
<td align="right">
&nbsp;</td>
<td align="right">
&nbsp;</td>
<td>
<asp:Label ID="lblsubmit" runat="server"
Text="submit"></asp:Label>
</td>
</tr>
</table>
</asp:Content>

Topperlisted.apx
<%@ Page Language="C#" MasterPageFile="~/Home1.Master" AutoEventWireup="true"
CodeBehind="Topperlisted.aspx.cs" Inherits="FINALONLINETESTPORTAL.WebForm5"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
</asp:Content>

Web.config
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting"
type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization"
type="System.Web.Configuration.ScriptingJsonSerializationSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="Everywhere"/>
<section name="profileService"
type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<section name="authenticationService"
type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<section name="roleService"
type="System.Web.Configuration.ScriptingRoleServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,

PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings/>
<connectionStrings/>
<system.web>
<!-Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.DataSetExtensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!-The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!-The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp"
namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpHandlers>

<remove verb="*" path="*.asmx"/>


<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs"
warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<!-The system.webServer section is required for running ASP.NET AJAX
under Internet
Information Services 7.0. It is not necessary for previous version of
IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*"
path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode"
verb="GET,HEAD" path="ScriptResource.axd"

type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions"
publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0"
newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design"
publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0"
newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Admin

Addstaff.apx

<%@ Page Language="C#" MasterPageFile="~/Head.Master" AutoEventWireup="true"


CodeBehind="WebForm1.aspx.cs"
Inherits="Taslima_Nasrin_ONLINE_JOB_PORTAL.WebForm1" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
</asp:Content>

Admin.master

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="ADMIN.master.cs"


Inherits="FINALONLINETESTPORTAL.Administrator.ADMIN" %>
<!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>Admin section</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>

<style type="text/css">
.style1
{
width: 100%;
border: 3px solid #c0c0c0;
}

#menu1 ul
{
margin: 0px;
padding: 0px;
height: 50px;
width: 100%;
background-color:black ;
}
#menu1 ul li
{
list-style-type: none;
float: left;
height: 50px;
margin: 0px;
padding: 0px;
}
#menu1 ul li a
{
display: block;
text-decoration: none;
line-height: 20px;
padding: 15px 10px;
color: white;
font-family: Iskoola Pota;
font-weight: bold;
border-right:solid 2px red;
}
#menu1 ul li ul
{
display: none;
width: 150px;
height: auto;
position:relative;
z-index:1000;
}
#menu1 ul li:hover ul
{
display: block;
height:auto;
}
#menu1 ul li ul li
{
height:50px;
background-color:Teal;
width:150px;

}
#menu1 ul li a:hover
{
background:white;
color: Black;
}

#menu1 ul
{
margin: 0px;
padding: 0px;
height: 50px;
width: 100%;
background-color:black ;
}
#menu1 ul li
{
list-style-type: none;
float: left;
height: 50px;
margin: 0px;
padding: 0px;
}
#menu1 ul li a
{
display: block;
text-decoration: none;
line-height: 20px;
padding: 15px 10px;
color: white;
font-family: Iskoola Pota;
font-weight: bold;
border-right:solid 2px red;
}
#menu1 ul li ul
{
display: none;
width: 150px;
height: auto;
position:relative;
z-index:1000;
}
#menu1 ul li:hover ul
{
display: block;
height:auto;
}
#menu1 ul li ul li
{
height:50px;
background-color:Teal;
width:250px;

}
#menu1 ul li a:hover
{
background:white;
color: Black;
}
</style>
</head>
<body >
<form id="form1" runat="server">
<div>
</div>
<table cellpadding="2" class="style1" style="border: medium solid
#000000">
<tr>
<td width="50" bgcolor="Black">
&nbsp;
</td>
<td style="border-style: solid; border-width: inherit; bordercolor: #000000">
<table cellpadding="2" class="style1">
<tr>
<td style="background-color: #000000;" height="70">
<table cellpadding="2" class="style1">
<tr style="height: 70px">
<td height="60" width="150" style="border:
medium solid #330000; height: 70px;">
&nbsp;<img alt="TXT-URL"
src="image/dslogo.png" style="width: 100px; height: 70px" /></td>
<td align="center" height="60"
style="border-top-style: solid;
border-bottom-style: solid; border-top-width: thin; border-bottom-width: thin;
border-color: #002B00; font-size: 20px; font-weight: bold; font-style: italic;
color: #FFFFFF;">
<img alt="txt-url" src="image/slide1.png"
style="width: auto; height: 70px" /></td>
<td align="center" height="60" width="150"
style="border: medium solid #330000">
<asp:Button ID="btnlogout"
runat="server" Text="logout" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="60" color="pink" id="menu1"
bgcolor="#996633"
style="border: medium solid #2B0015">
<ul>
<li><a href="Home.aspx">Home </a></li>
<li><a href="editStudentSection.aspx">Edit
</a></li>
<li><a href="#">Add</a>

<ul>
<li><a href="Addstaff.aspx">Add Staff
</a></li>
</ul>
</li>
<li><a href="ViewResult.aspx">ViewResult
</a></li>

Student</a></li>
Question</a></li>
Answer</a></li>
</a></li>

<li><a href="#">Report </a>


<ul>
<li><a href="allstaff.aspx">All
Faculty </a></li>
<li><a href="allstudent.aspx">All Registered
<li><a href="allquestion.aspx">All Uploaded
<li><a href="allanswer.aspx">All Uploaded
<li><a href="testreport.aspx">Test Report
</ul>

</li>
<li><a href="TestHistory.aspx">Test
History</a>

</li>
<li><a
href="Uploadnotice.aspx">Uploadnotice</a></li>
</ul>
</td>
</tr>
<tr>
<td height="300" bgcolor="#538CC6" style="border:
medium solid #2B0015">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
<p>
&nbsp;</p>
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td height="50" bgcolor="Black"
style="border: medium solid #2B0015; color:
#FFFFFF;">
&nbsp;<marque>Copyreight&nbsp; @
2015&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;
Desigend&nbsp;&nbsp; and&nbsp;&nbsp;
developed&nbsp;&nbsp; by&nbsp; Team&nbsp;
H.</marque>
</td>
</tr>

</table>
</td>
<td width="50" bgcolor="Black">
&nbsp;
</td>
</tr>
</table>
</form>
</body>
</html>

Allanswer.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="allanswer.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.WebForm8" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:GridView ID="GridView1" runat="server"
onselectedindexchanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</asp:Content>

Allquestion.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="allquestion.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.WebForm4" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:GridView ID="GridView1" runat="server"
onselectedindexchanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</asp:Content>

Allstaff.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="allstaff.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.allstaff" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:GridView ID="GridView1" runat="server"
onselectedindexchanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</asp:Content>

Allstudent.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="allstudent.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.WebForm2" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:GridView ID="GridView1" runat="server"
onselectedindexchanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</asp:Content>

editStudentSection.aspx

<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"


AutoEventWireup="true" CodeBehind="editStudentSection.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.editStudentSection"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="margin-left: 40px">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" BackColor="White"
BorderColor="#3366CC" BorderStyle="None"
BorderWidth="1px" CellPadding="4" Width="459px"

AutoGenerateDeleteButton="True"
AutoGenerateEditButton="True" AutoGenerateSelectButton="True"
OnRowCancelingEdit="GridView1_RowCancelingEdit"
OnRowDeleting="GridView1_RowDeleting"
OnRowEditing="GridView1_RowEditing"
OnRowUpdating="GridView1_RowUpdating"
OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
<Columns>
<asp:TemplateField HeaderText="Name">
<EditItemTemplate>
<asp:TextBox ID="txtname" runat="server"
Text='<%#Bind("EnterName") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblname" runat="server"
Text='<%#Bind("EnterName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="FatherName">
<EditItemTemplate>
<asp:TextBox ID="txtFatherName"
runat="server" Text='<%#Bind("EnterYourFatherName") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblFatherName"
runat="server" Text='<%#Bind("EnterYourFatherName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="userId">
<ItemTemplate>
<asp:Label ID="lbluserId" runat="server"
Text='<%#Bind("userId") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Address">
<EditItemTemplate>
<asp:TextBox ID="txtAddress"
runat="server" Text='<%#Bind("Address") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblAddress" runat="server"
Text='<%#Bind("Address") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DOB">
<EditItemTemplate>
<asp:TextBox ID="txtDOB" runat="server"
Text='<%#Bind("DOB") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblDOB" runat="server"
Text='<%#Bind("DOB") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="MobileNo">

<EditItemTemplate>
<asp:TextBox ID="txtMobileNo"
runat="server" Text='<%#Bind("MobileNo") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblMobileNO" runat="server"
Text='<%#Bind("MobileNo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="email">
<EditItemTemplate>
<asp:TextBox ID="txtemail" runat="server"
Text='<%#Bind("email") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblemail" runat="server"
Text='<%#Bind("email") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="StateName">
<EditItemTemplate>
<asp:TextBox ID="txtStateName"
runat="server" Text='<%#Bind("StateName") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblStateName"
runat="server" Text='<%#Bind("StateName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DistrictName">
<EditItemTemplate>
<asp:TextBox ID="txtDistrictName"
runat="server" Text='<%#Bind("DistrictName") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblDistrictName"
runat="server" Text='<%#Bind("DistrictName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ps">
<EditItemTemplate>
<asp:TextBox ID="txtps" runat="server"
Text='<%#Bind("ps") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblps" runat="server"
Text='<%#Bind("ps") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#99CCCC" ForeColor="#003399"
/>
<HeaderStyle BackColor="#003399" Font-Bold="True"
ForeColor="#CCCCFF" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399"
HorizontalAlign="Left" />
<RowStyle BackColor="White" ForeColor="#003399" />

ForeColor="#CCFF99" />
</td>
</tr>
</table>
</asp:Content>

<SelectedRowStyle BackColor="#009999" Font-Bold="True"


</asp:GridView>

Home.apx

<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"


AutoEventWireup="true" CodeBehind="Home.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.Home" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
</asp:Content>

Testhistoty.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="TestHistory.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.TestHistory" Title="Untitled
Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectclass" runat="server"
onselectedindexchanged="ddlselectclass_SelectedIndexChanged" Height="17px"
Width="122px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lblselectsubject" runat="server" Text="Select
Subject"></asp:Label>
&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectsubject" runat="server"
onselectedindexchanged="DropDownList2_SelectedIndexChanged"

style="height: 22px" Height="29px" Width="125px">


</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lblexamid" runat="server" Text="Exam
Id"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlexamid" runat="server"
onselectedindexchanged="ddlexamid_SelectedIndexChanged"
Height="16px"
Width="117px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Button ID="btnfind" runat="server"
onclick="btnfind_Click" Text="find"
Width="87px" />
</td>
</tr>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>

Testreport.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="testreport.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.testreport" Title="Untitled
Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:GridView ID="GridView1" runat="server"
onselectedindexchanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</asp:Content>

Uploadimage.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="Uploadimage.aspx.cs"

Inherits="FINALONLINETESTPORTAL.Administrator.WebForm6" Title="Untitled Page"


%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
</asp:Content>

Uploadnoticee.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="Uploadnotice.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.WebForm7" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style2
{
width: 961px;
text-align: left;
}
.style3
{
width: 468px;
text-align: right;
}
.style4
{
width: 961px;
text-align: left;
}
.style5
{
width: 468px;
text-align: left;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1" align="center"
style="height: 196px; width: 70%; margin-left: 277px; margin-bottom:
0px">
<tr>
<td class="style3">
<asp:Label ID="lblenterheadingname" runat="server" Text="Enter
heading Name"></asp:Label>
</td>
<td class="style4">
<asp:TextBox ID="txtenterheadingname" runat="server"
Width="196px"></asp:TextBox>
</td>

</tr>
<tr>
<td class="style3">
Enter date</td>
<td class="style4">
<asp:TextBox ID="txtdate" runat="server"
Width="196px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
<asp:Label ID="lblenterdiscriptionname" runat="server"
Text="Enter discription Name"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td class="style4">
<asp:TextBox ID="txtenterdiscriptionname" runat="server"
Height="104px"
TextMode="MultiLine" Width="312px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" class="style5">
&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="lblupdate" runat="server"
Text="Update"></asp:Label>
</td>
<td align="center" class="style2">
<asp:Button ID="btnfind" runat="server" onclick="btnfind_Click"
Text="Upload Notice" style="text-align: left" Width="156px" />
</td>
</tr>
</table>
</asp:Content>

Viewresult.apx
<%@ Page Language="C#" MasterPageFile="~/Administrator/ADMIN.Master"
AutoEventWireup="true" CodeBehind="ViewResult.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Administrator.WebForm3" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td>
<table cellpadding="2" class="style1">
<tr align="center">
<td style="font-size: large">
<asp:Label ID="lbldate" runat="server"
Text="Select date"></asp:Label>
</td>

<td>

<asp:DropDownList ID="DropDownList1"

runat="server">

&nbsp;&nbsp;&nbsp;
runat="server">

<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></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2"
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>march</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>
<asp:ListItem>july</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>

&nbsp;
runat="server">

<asp:DropDownList ID="DropDownList3"

<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="2" class="style1">
<tr align="center">
<td style="font-size: large">
<asp:Label ID="lblselectclass" runat="server"
Text="Select Class"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList4"
runat="server">
<asp:ListItem>BCA</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem>BBA</asp:ListItem>
<asp:ListItem>MBA</asp:ListItem>
<asp:ListItem></asp:ListItem>

<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="2" class="style1">
<tr align="center">
<td style="font-size: large">
<asp:Label ID="lblselectsubject" runat="server"
Text="Select Subject"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1"
runat="server"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnfind" runat="server" Text="Find"
onclick="btnfind_Click" />
</td>
</tr>
<tr>
<td align="center" height="200">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None">
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<Columns>
<asp:TemplateField HeaderText="Examid">
<EditItemTemplate>
<asp:TextBox ID="txtExamid" runat="server"
Text='<%#Bind("Examid") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblExamid" runat="server"
Text='<%#Bind("Examid") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Qid">
<EditItemTemplate>
<asp:TextBox ID="txtQid" runat="server"
Text='<%#Bind("Qid") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblQid" runat="server" Text='<
%#Bind("Qid") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ans">

<EditItemTemplate>
<asp:TextBox ID="txtAns" runat="server"
Text='<%#Bind("Ans") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblAns" runat="server" Text='<
%#Bind("Ans") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="Navy" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Faculty
AllUploadAnswer2.aspx
<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"
AutoEventWireup="true" CodeBehind="AllUploadAnswer2.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm6" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center">
<asp:Label ID="lblSelectClass" runat="server"
Text="SelectClass"></asp:Label>
<asp:DropDownList ID="ddlselectclass" runat="server"
AutoPostBack="True"
Height="20px"
onselectedindexchanged="ddlselectclass_SelectedIndexChanged"
Width="200px">
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>

<td align="center">
<asp:Label ID="lblSelectSubject" runat="server"
Text="SelectSubject"></asp:Label>
<asp:DropDownList ID="ddlselectsubject" runat="server"
onselectedindexchanged="ddlselectsubject_SelectedIndexChanged"
Height="20px" Width="200px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnfind" runat="server"
onclick="btnfind_Click" Text="find"
Height="20px" Width="100px" />
</td>
</tr>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>

AllUploadqQuestion.aspx

<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"


AutoEventWireup="true"
CodeBehind="AllUploadqQuestion.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm1"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center" height="50">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
&nbsp;:-&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectclass" runat="server"
AutoPostBack="True" Height="20px"
OnSelectedIndexChanged="ddlselectclass_SelectedIndexChanged" Width="131px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center" height="50">

<asp:Label ID="lblselectsubject" runat="server"


Text="selectsubject"></asp:Label>
&nbsp;:-&nbsp;&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectsubject" runat="server"
Height="20px" OnSelectedIndexChanged="ddlselectsubject_SelectedIndexChanged"
Width="138px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center" height="50">
<asp:Button ID="btnfind" runat="server"
OnClick="Button1_Click" Text="Find" Width="68px" />
</td>
</tr>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server"
OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
</table>
</asp:Content>

Class.apx

<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"


AutoEventWireup="true" CodeBehind="Class.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1" width="50">
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblenterclass" runat="server" Text="Enter
Class"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtenterclass" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>

&nbsp;</td>

<td>

<asp:Button ID="btnadd0" runat="server" Text="ADD"


onclick="btnadd_Click" />
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="left">
<asp:Label ID="lbladd" runat="server" Text="Add"></asp:Label>
</td>
</tr>
</table>
</asp:Content>

Home.apx
<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"
AutoEventWireup="true" CodeBehind="Home.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.Home" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
Welcome to Faculty Secssion</p>
</asp:Content>

Subject.apx
<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"
AutoEventWireup="true" CodeBehind="Subject.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm3" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
</td>

<td align="left">
<asp:DropDownList ID="ddlselectclass" runat="server">
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>BCA</asp:ListItem>
<asp:ListItem>BBA</asp:ListItem>
<asp:ListItem>MCA</asp:ListItem>
<asp:ListItem>MBA</asp:ListItem>
<asp:ListItem>BSCIT</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblentersubject" runat="server" Text="Enter
Subject"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtentersubject"
runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Button ID="btnadd0" runat="server" Text="Add"
onclick="btnadd_Click1" />
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="left" style="font-size: xx-large">
<asp:Label ID="lbladd" runat="server" Text="Add"></asp:Label>
</td>
</tr>
</table>
</asp:Content>

Testhistory.apx
<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"
AutoEventWireup="true" CodeBehind="FStudentHistory.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm7" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>

<td align="center">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectclass" runat="server"
onselectedindexchanged="ddlselectclass_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lblselectsubject" runat="server" Text="Select
Subject"></asp:Label>
&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectsubject" runat="server"
onselectedindexchanged="DropDownList2_SelectedIndexChanged"
style="height: 22px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lblexamid" runat="server" Text="Exam
Id"></asp:Label>
&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlexamid" runat="server"
onselectedindexchanged="ddlexamid_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnfind" runat="server"
onclick="btnfind_Click" Text="find"
Width="55px" />
</td>
</tr>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>

Uploadanswer.apx
<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"
AutoEventWireup="true" CodeBehind="UploadAnswer.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm5" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">

.style2
{
text-align: center;
}
.style3
{
text-align: left;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1" align="center" style="width: 62%">
<tr>
<td style="font-size: large" class="style2" colspan="2">
Kindly Fill Following Details very carefully</td>
</tr>
<tr>
<td style="font-size: large" class="style2">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
</td>
<td class="style3">
<asp:DropDownList ID="ddlselectclass" runat="server"
Height="23px"
Width="135px" AutoPostBack="True"
onselectedindexchanged="ddlselectclass_SelectedIndexChanged">
<asp:ListItem>MCA</asp:ListItem>
<asp:ListItem>MBA</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" class="style2">
<asp:Label ID="lblselectsubject" runat="server" Text="Select
Subject"></asp:Label>
</td>
<td class="style3">
<asp:DropDownList ID="ddlselectsubject" runat="server"
Height="23px"
Width="133px" AutoPostBack="True"
onselectedindexchanged="ddlselectsubject_SelectedIndexChanged">
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>c++</asp:ListItem>
<asp:ListItem>VB</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" class="style2">

ExamId</td>
<td class="style3">
<asp:DropDownList ID="ddlexamid" runat="server" Height="26px"
Width="133px"
AutoPostBack="True"
onselectedindexchanged="ddlexamid_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" class="style2">
<asp:Label ID="lblselectquestion" runat="server" Text="Select
QuestionID"></asp:Label>
</td>
<td class="style3">
<asp:DropDownList ID="ddlselectquestionid" runat="server"
AutoPostBack="True"
onselectedindexchanged="ddlselectquestionid_SelectedIndexChanged"
Height="24px" Width="131px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" class="style2">
Question Details are:-</td>
<td class="style3">
<asp:TextBox ID="txtquestionname" runat="server" Height="58px"
Width="259px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="font-size: large" class="style2">
<asp:Label ID="lblselectans" runat="server" Text="Select
Ans"></asp:Label>
</td>
<td class="style3">
<asp:DropDownList ID="ddlanswer" runat="server" Height="23px"
Width="109px">
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>D</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Button ID="btnadd0" runat="server"
onclick="Button1_Click" Text="Add"
Width="116px" />
</td>
</tr>

<tr>

<td>

&nbsp;</td>
<td align="center">
<asp:Label ID="lbladd" runat="server" Text="ADD"></asp:Label>
</td>
</tr>
</table>
</asp:Content>

Uploadquestion.apx
<%@ Page Language="C#" MasterPageFile="~/Faculty/FacultyDesign.Master"
AutoEventWireup="true" CodeBehind="UploadQuestion.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Faculty.WebForm4" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1" align="center" border="1"
style="width: 52%">
<tr>
<td align="center" style="font-size: large">
Exam id</td>
<td align="left">
<asp:TextBox ID="txtexamid" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
</td>
<td align="left">
<asp:DropDownList ID="ddlselectclass" runat="server"
Height="33px"
Width="141px" AutoPostBack="True"
onselectedindexchanged="ddlselectclass_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblselectsubject" runat="server" Text="
Subject"></asp:Label>
</td>
<td align="left">
<asp:DropDownList ID="ddlselectsubject" runat="server"
Height="23px"
Width="142px"
onselectedindexchanged="ddlselectsubject_SelectedIndexChanged">

Select

</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
Enter Chapter Name</td>
<td align="left">
<asp:TextBox ID="txtexamname" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblenterquestion" runat="server" Text="Enter
question"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtenterquestion" runat="server"
TextMode="MultiLine"
Height="72px" Width="201px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblans1" runat="server" Text="Enter
Ans1"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtans1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblans2" runat="server"
Text="Ans2"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtans2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" style="font-size: large">
<asp:Label ID="lblans3" runat="server"
Text="Ans3"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtans3" runat="server"></asp:TextBox>
</td>
</tr>
<tr align="center">
<td style="font-size: large">
<asp:Label ID="lblans4" runat="server"
Text="Ans4"></asp:Label>
</td>
<td align="left">
<asp:TextBox ID="txtans4" runat="server"></asp:TextBox>
</td>
</tr>

<tr>

<td>

<asp:Label ID="lbladd" runat="server" Text="add"></asp:Label>


</td>
<td align="left">
<asp:Button ID="Button1" runat="server" Text="Add"
onclick="Button1_Click" />
</td>
</tr>
</table>
</asp:Content>

Student
Finalsubmit.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="FinalSubmit.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.WebForm4" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center" style="font-size: large">
Your&nbsp;&nbsp; Result</td>
</tr>
<tr>
<td align="center" height="200">
<asp:GridView ID="GridView1" runat="server" BackColor="White"
BorderColor="#999999" BorderStyle="Solid"
BorderWidth="1px" CellPadding="3"
ForeColor="Black" GridLines="Vertical"
onselectedindexchanged="GridView1_SelectedIndexChanged">
<FooterStyle BackColor="#CCCCCC" />
<PagerStyle BackColor="#999999" ForeColor="Black"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#000099" Font-Bold="True"
ForeColor="White" />
<HeaderStyle BackColor="Black" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="#CCCCCC" />
</asp:GridView>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

Home.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="Home.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.Home" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
Welcome to Student Secssion</p>
</asp:Content>

Questionname.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="QuestionName.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.WebForm3" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center" style="font-size: large">
1.Question&nbsp; Name</td>
</tr>
<tr>
<td>
<table cellpadding="2" class="style1">
<tr>
<td align="center">
A.<asp:TextBox ID="txta"
runat="server"></asp:TextBox>
</td>
<td align="center">
B.<asp:TextBox ID="txtb"
runat="server"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellpadding="2" class="style1">

<tr>

<td align="center">
C.<asp:TextBox ID="txtc"
runat="server"></asp:TextBox>
</td>
<td align="center">
D.<asp:TextBox ID="txtd"
runat="server"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lbladd" runat="server" Text="add"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Button ID="btnnext0" runat="server" Text="Next"
onclick="btnnext_Click" />
</td>
</tr>
</table>
</asp:Content>

Registration.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="Registration.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.WebForm1" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"


runat="server">
</asp:Content>

Startyourtest.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="StartYourTest.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.StartYourTest" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style2
{
width: 106px;
}

.style3
{
text-align: left;
}
.style4
{
width: 823px;
text-align: center;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table>
<tr>
<td class="style4">
&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label1" runat="server"
Text="Student Name:-"></asp:Label>
<asp:Label ID="lblname" runat="server"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label5" runat="server" Text="Selected Class:-"></asp:Label>
<asp:Label ID="lblselectedclass" runat="server"></asp:Label>
</td>
<td valign="top">
&nbsp;</td>
</tr>
<tr>
<td class="style4">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label4" runat="server" Text="Your Userid:-"></asp:Label>
&nbsp;
<asp:Label ID="lbluid" runat="server"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<asp:Label ID="Label6" runat="server" Text="Selected
Subject:-"></asp:Label>
<asp:Label ID="lblselectedsubject" runat="server"></asp:Label>
</td>
<td valign="top">
&nbsp;</td>
</tr>
<tr>
<td class="style4">

Selected Chapter:-<asp:Label ID="lblexamname" runat="server"></asp:Label>


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Selected Level:-<asp:Label ID="lblexamlevel"
runat="server"></asp:Label>
</td>
<td valign="top">
&nbsp;</td>
</tr>
<tr>
<td class="style4">
<asp:Label ID="lblmessage" runat="server"></asp:Label>
</td>
<td valign="top">
&nbsp;</td>
</tr>
<tr>
<td class="style4">
<asp:Panel ID="Panel1" runat="server" style="text-align: center"
Width="870px">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False"
onselectedindexchanged="GridView1_SelectedIndexChanged"
BackColor="White"
BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px"
CellPadding="4"
Width="632px">
<RowStyle BackColor="White" ForeColor="#330099" />
<Columns>
<asp:TemplateField HeaderText="Question Details">
<ItemTemplate>
<table cellpadding="2" class="style1">
<tr>
<td class="style3" colspan="2">
Question Id:-<asp:Label ID="lblqid" runat="server"
Text='<%# Bind("QuestionId") %>'></asp:Label>
</td>
</tr>
<tr>
<td class="style3" colspan="2">
Q.<asp:Label ID="lblquestion"
runat="server" Text='<%#Bind("Question")%>'></asp:Label>
</td>
</tr>
<tr>
<td class="style2">

AutoPostBack="True"

<asp:RadioButton ID="rdA" runat="server" Text="A"

GroupName="a" oncheckedchanged="rdA_CheckedChanged"
</td>
<td class="style3">
<asp:Label ID="lblansA" runat="server" Text='<
%#Bind("EnterAns1")%>'></asp:Label>
</td>
</tr>
<tr>
<td class="style2">
<asp:RadioButton ID="rdB" runat="server" Text="B"
AutoPostBack="True"
GroupName="a" oncheckedchanged="rdB_CheckedChanged"
</td>
<td class="style3">
<asp:Label ID="lblansB" runat="server" Text='<
%#Bind("EnterAns2")%>'></asp:Label>
</td>
</tr>
<tr>
<td class="style2">
<asp:RadioButton ID="rdC" runat="server" Text="C"
AutoPostBack="True"
GroupName="a" oncheckedchanged="rdC_CheckedChanged"
</td>
<td class="style3">
<asp:Label ID="lblansC" runat="server" Text='<
%#Bind("EnterAns3")%>'></asp:Label>
</td>
</tr>
<tr>
<td class="style2">
<asp:RadioButton ID="rdD" runat="server" Text="D"
AutoPostBack="True"
GroupName="a" oncheckedchanged="rdD_CheckedChanged"
</td>
<td class="style3">
<asp:Label ID="lblansD" runat="server" Text='<
%#Bind("EnterAns4")%>'></asp:Label>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="#663399" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="#FFFFCC" />
</asp:GridView>

/>

/>

/>

/>

</asp:Panel>
</td>
<td valign="top">
<asp:GridView ID="GridView2" runat="server" CaptionAlign="Top"
CellPadding="4"
ForeColor="#333333" GridLines="None">
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="Navy" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</td>
</tr>
<tr>
<td class="style4">
<asp:Button ID="btnsubmit" runat="server" onclick="btnsubmit_Click"
Text="Final Submit" />
</td>
<td valign="top">
&nbsp;</td>
</tr>
</table>
</asp:Content>

Studentdesign.master
<%@ Master Language="C#" AutoEventWireup="true"
CodeBehind="StudentDesign.master.cs"
Inherits="FINALONLINETESTPORTAL.Student.StudentDesign" %>
<!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>Student section</title>

<asp:ContentPlaceHolder ID="head" runat="server">


</asp:ContentPlaceHolder>
<style type="text/css">
.style1
{
width: 100%;
border: 3px solid #c0c0c0;
}
#menu1
{
margin: 0px;
padding: 0px;
height: 60px;
width: 100%;
}
#menu1 ul
{
margin: 0px;
padding: 0px;
height: 60px;
width: 100%;
background-color: Black;
}
#menu1 ul li
{
list-style-type: none;
float: left;
height: 60px;
margin: 0px;
padding: 0px;
}
#menu1 ul li a
{
display: block;
text-decoration: none;
line-height: 30px;
padding: 15px 20px;
color: white;
font-family: @FangSong;
font-weight: bold;
border-right: solid 2px maroon;
}
#menu1 ul li ul
{
display: none;
width: 250px;
height: auto;
}
#menu1 ul li:hover ul
{
display: block;
}
#menu1 ul li ul li
{
height: 60px;
background-color: Teal;
width: 250px;

}
#menu1 ul li a:hover
{
background: pink;
color: Black;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<table cellpadding="2" class="style1">
<tr>
<td bgcolor="Black" width="50">
&nbsp;
</td>
<td>
<table cellpadding="2" class="style1">
<tr>
<td bgcolor="#3366FF">
<table cellpadding="2" class="style1">
<tr>
<td height="70" width="200">
<img alt="txt-url"
src="../Administrator/image/dslogo.png"
style="width: 200px; height: 70px"
/></td>
<td align="center" height="70">
<img alt="txt-url"
src="../Administrator/image/slide1.png"
style="width: auto; height: 70px"
/><asp:Button ID="btnlogout" runat="server" Text="logout" />
</td>
<td align="center" height="70"
width="150">
<asp:Image ID="Image1" runat="server"
Height="100px" Width="100px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="6color="pink" id="menu1"
bgcolor="#996633">
<ul>
<li><a href="Home.aspx"> Home</a></li>
<li><a href="TakeTest.aspx">TakeTest </a>
<li><a href="TestHistory.aspx">TestHistory</a></li>
<li><a
href="ViewStdProfile.aspx">ViewStdProfile</a></li>
</li>
</li>
<li><a href="Viewresult.aspx">View Result</a></li>

</ul>
</td>
</tr>
<tr>
<td height="300" bgcolor="#0456FF">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">

</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td height="50" bgcolor="#000011" style="color:

#FFFFFF">

Copyright
2015.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;
Desigend and&nbsp; developed by&nbsp; Team&nbsp;
H;</td>
</tr>
</table>
</td>
<td bgcolor="Black" width="50">
&nbsp;
</td>
</tr>
</table>
</form>
</body>
</html>

Taketest.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="TakeTest.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.WebForm2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.style2
{
height: 28px;
text-align: right;
}
.style3
{
text-align: left;
}
.style4
{
height: 28px;
text-align: left;
}
.style5
{
text-align: right;
}

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td style="font-size: large" class="style5">
You Are :-</td>
<td class="style3">
<asp:Label ID="lblname" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td style="font-size: large" class="style5">
<asp:Label ID="lblselect" runat="server" Text="Select
Date"></asp:Label>
</td>
<td class="style3">
<asp:DropDownList ID="ddlselectdate" runat="server">
<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:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
&nbsp;
<asp:DropDownList ID="ddlselectmonht" runat="server">

<asp:ListItem>01</asp:ListItem>
<asp:ListItem>02</asp:ListItem>
<asp:ListItem>03</asp:ListItem>
<asp:ListItem>04</asp:ListItem>
<asp:ListItem>05</asp:ListItem>
<asp:ListItem>06</asp:ListItem>
<asp:ListItem>07</asp:ListItem>
<asp:ListItem>08</asp:ListItem>
<asp:ListItem>09</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
</asp:DropDownList>
&nbsp;
<asp:DropDownList ID="ddlselectyear" runat="server">
<asp:ListItem>2000</asp:ListItem>
<asp:ListItem>2016</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" class="style2">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
</td>
<td class="style4">
<asp:DropDownList ID="ddlselectclass" runat="server"
Height="16px"
Width="158px" AutoPostBack="True"
onselectedindexchanged="ddlselectclass_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="font-size: large" class="style5">
<asp:Label ID="lblselectsubject" runat="server" Text="Select
Subject"></asp:Label>
</td>
<td class="style3">
<asp:DropDownList ID="ddlselectsubject" runat="server"
Height="18px"
style="margin-left: 0px" Width="159px" AutoPostBack="True"
onselectedindexchanged="ddlselectsubject_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="text-align: right">
<b>Select Exam Name</b></td>
<td class="style3">

Height="18px"

<asp:DropDownList ID="ddlexamname" runat="server"


style="margin-left: 0px" Width="159px" AutoPostBack="True"
onselectedindexchanged="ddlexamname_SelectedIndexChanged">
</asp:DropDownList>

</td>
</tr>
<tr>
<td style="text-align: right; font-weight: 700">
Select Exam level</td>
<td class="style3">
<asp:DropDownList ID="ddlexamlevel" runat="server"
Height="18px"
style="margin-left: 0px" Width="159px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="center" style="text-align: left">
<asp:Button ID="btnstart" runat="server" Text="Start"
onclick="btnstart_Click" Width="81px" />
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</asp:Content>

testcompleted.aspx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="testcompleted.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.testcompleted" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:Button ID="Button1" runat="server"
Text="Your Test has been Submitted Successfully.Click to generate
Result"
onclick="Button1_Click" Width="348px" />
<br />
<br />

<asp:GridView ID="GridView1" runat="server" BackColor="White"


ForeColor="#0000CC" Width="850px">
</asp:GridView>
</asp:Content>

Testhistory.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true"
CodeBehind="Testhistory.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.Testhistory"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center">
<asp:Label ID="lblselectclass" runat="server" Text="Select
Class"></asp:Label>
&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectclass" runat="server"
OnSelectedIndexChanged="ddlselectclass_SelectedIndexChanged"
AutoPostBack="True" Height="26px" Width="147px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="ddlselectcl" runat="server" Text="Select
Subject"></asp:Label>
&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="ddlselectsubject" runat="server"
AutoPostBack="True"
Height="23px"
onselectedindexchanged="ddlselectsubject_SelectedIndexChanged"
Width="162px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
Select Exam ID<asp:DropDownList ID="ddlexamid" runat="server"
Height="23px"
onselectedindexchanged="ddlexamid_SelectedIndexChanged"
Width="156px">
</asp:DropDownList>
</td>
</tr>
<tr>

<td align="center">
&nbsp;&nbsp;&nbsp;
<asp:Button ID="btnfind" runat="server"
OnClick="btnfind_Click" Text="Find" />
&nbsp;
</td>
</tr>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>

Viewresults.apx
<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"
AutoEventWireup="true" CodeBehind="Viewresult.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.WebForm5" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table cellpadding="2" class="style1">
<tr>
<td align="center">
<asp:Label ID="lblenteruid" runat="server" Text="Enter
Uid"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="txtuid" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnfind" runat="server" onclick="btnfind_Click"
Text="Find" />
</td>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateSelectButton="True"
onselectedindexchanging="GridView1_SelectedIndexChanging"
AutoGenerateColumns="False"
onselectedindexchanged="GridView1_SelectedIndexChanged">
<Columns>
<asp:TemplateField HeaderText="userid">
<EditItemTemplate>
<asp:TextBox ID="txtuserid" runat="server" Text='<
%#Bind("userid") %>'></asp:TextBox>
</EditItemTemplate>

<ItemTemplate>
<asp:Label ID="lbluserid" runat="server" Text='<
%#Bind("userid") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="StudentName">
<EditItemTemplate>
<asp:TextBox ID="txtStudentName" runat="server"
Text='<%#Bind("StudentName") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblStudentName" runat="server"
Text='<%#Bind("StudentName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Class">
<EditItemTemplate>
<asp:TextBox ID="txtClass" runat="server" Text='<
%#Bind("Class") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblClass" runat="server" Text='<
%#Bind("Class") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Subject">
<EditItemTemplate>
<asp:TextBox ID="txtSubject" runat="server"
Text='<%#Bind("Subject") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblSubject" runat="server" Text='<
%#Bind("Subject") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Examname">
<EditItemTemplate>
<asp:TextBox ID="txtExamname" runat="server"
Text='<%#Bind("Examname") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblExamname" runat="server" Text='<
%#Bind("Examname") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Examid">
<EditItemTemplate>
<asp:TextBox ID="txtExamid" runat="server" Text='<
%#Bind("Examid") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblExamid" runat="server" Text='<
%#Bind("Examid") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="date">
<EditItemTemplate>

<asp:TextBox ID="txtdate" runat="server" Text='<


%#Bind("date") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lbldate" runat="server" Text='<
%#Bind("date") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="rowid">
<EditItemTemplate>
<asp:TextBox ID="txtrowid" runat="server" Text='<
%#Bind("rowid") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblrowid" runat="server" Text='<
%#Bind("rowid") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>

</tr>
</tr>
<tr>
<td align="center">
<br />
<br />
<asp:GridView ID="GridView2" runat="server"
onselectedindexchanging="GridView1_SelectedIndexChanging">
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>

ViewStdProfile.aspx

<%@ Page Language="C#" MasterPageFile="~/Student/StudentDesign.Master"


AutoEventWireup="true" CodeBehind="ViewStdProfile.aspx.cs"
Inherits="FINALONLINETESTPORTAL.Student.ViewStdProfile" Title="Untitled Page"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<asp:GridView ID="GridView1" runat="server"
onselectedindexchanged="GridView1_SelectedIndexChanged">
</asp:GridView>
</asp:Content>

Вам также может понравиться