Online Amusement Park Booking Management

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 85

INDEX

1. INTRODUCTION

1.1 Introduction

1.2 Settlement of problem

1.3 Objectives of the study

1.4 Scope of the study

1.5 Feasibility study

2. SYSTEM STUDY

2.1 System development strategy

2.2 System development environment

2.3 Existing System

2.4 Limitations of existing system

2.5 System Analysis

3. SYSTEM DESIGN AND DEVELOPMENT

3.1 System design

3.2 E-R design

3.3 Low level design

4. DESIGN

4.1 System Design

4.2Login activity diagram

4.3 Admin activity diagram

4.4 Agent activity diagram


4.5 Employee activity diagram

4.6 Sequence diagram

5. SYSTEM IMPLEMENTATION

5.1 Introduction

5.2 Sample code

6. TESTING

6.1 System testing

6.2 Types of testing

6.3 Testing techniques

6.4 Unit testing

6.5 Integration testing

6.6 Acceptance testing

7. SAMPLE SCREENSHOTS

8. CONCLUSION

8.1 Future enhancement

8.2 Appendix

9. BIBLOGRAPHY
1.INTRODUCTION
1.1 Introduction

1.2 Objective
2. SYSTEM ANALYSIS

2.1 Existing System

2.2 Proposed System

2.3 Modules

3. REQUIREMENT
3.1 Software Requirements
Front End : Microsoft Visual studio 2008(ASP.NET)
Back End: Oracle 11G

Operating system : MS Windows XP, 7

Visual Studio 2008


Visual Studio 2008, and Visual Studio Team System 2008codenamed Orcas (a reference
to Orcas Island, also an island in Puget Sound, like Whidbey for the previous 2005 release),
were released to MSDN subscribers on 19 November 2007 alongside .NET Framework 3.5.
The source code for the Visual Studio 2008 IDE is available under a shared source license to
some of Microsoft's partners and ISVs Microsoft released Service Pack 1 for Visual Studio
2008 on 11 August 2008. The internal version number of Visual Studio 2008 is version 9.0
while the file format version is 10.0. Visual Studio 2008 is the last version to support
targeting Windows 2000 for C++ applications
Visual Studio 2008 is focused on development of Windows Vista, 2007 Office system, and
Web applications. For visual design, a new Windows Presentation Foundation visual designer and a
new HTML/CSS editor influenced by Microsoft Expression Web are included. J# is not included.
Visual Studio 2008 requires .NET 3.5 Framework and by default configures compiled assemblies to
run on .NET Framework 3.5, but it also supports multi-targeting which lets the developers choose
which version of the .NET Framework (out of 2.0, 3.0, 3.5, Silverlight Core CLR or .NET Compact
Framework) the assembly runs on. Visual Studio 2008 also includes new code analysis tools,
including the new Code Metrics tool (only in Team Edition and Team Suite Edition). For Visual C++,
Visual Studio adds a new version of Microsoft Foundation Classes (MFC 9.0) that adds support for
the visual styles and UI controls introduced with Windows Vista For native and managed code
interoperability, Visual C++ introduces the STL/CLR, which is a port of the C++Standard Template
Library (STL)

containers and algorithms to managed code. STL/CLR defines STL-like


containers, iterators and algorithms that work on C++/CLI managed objects.
Visual Studio 2008 features include an XAML-based designer (codenamed Cider), workflow
designer, LINQ to SQL designer (for defining the type mappings and object encapsulation for
SQL Server data), XSLT debugger, JavaScript Intelligence support, JavaScript Debugging
support, support for UAC manifests, a concurrent build system, among others. It ships with
an enhanced set of UI widgets, both for Windows Forms and WPF. It also includes a
multithreaded build engine (MS Build) to compile multiple source files (and build the
executable file) in a project across multiple threads simultaneously. It also includes support
for compiling icon resources in PNG format, introduced in Windows Vista. An updated XML
Schema designer was released separately sometime after the release of Visual Studio 2008.
Visual Studio Debugger includes features targeting easier debugging of multi-threaded
applications. In debugging mode, in the Threads window, which lists all the threads, hovering
over a thread displays the stack trace of that thread in tooltips. The threads can directly be
named and flagged for easier identification from that window itself. In addition, in the code
window, along with indicating the location of the currently executing instruction in the
current thread, the currently executing instructions in other threads are also pointed out.
The Visual Studio debugger supports integrated debugging of the .NET 3.5 Framework Base
Class Library (BCL) which can dynamically download the BCL source code and debug
symbols and allow stepping into the BCL source during debugging. As of 2010 a limited
subset of the BCL source is available, with more library support planned for later.

Oracle Database features

Apart from the clearly defined database options, Oracle databases may include many semi-
autonomous software sub-systems, which Oracle Corporation sometimes refers to as
"features" in a sense subtly different from the normal usage of the word. For example, Oracle
Data Guard counts officially as a feature, but the command-stack within SQL*Plus, though a
usability feature, does not appear in the list of "features" in Oracle's list Such "features" may
include (for example):

 Active Session History (ASH), the collection of data for immediate monitoring of very
recent database activity.

3.2 Hardware requirements


Processor : Intel core processor above Pentium IV
RAM: 2 GB /above

Storage: 50 GB/above

Input/Output Media: Standard-Monitor,Keyboard,Optical Mouse


4. System Design

4.1 Introduction
Design is the first step into the development phase for any engineered product or system.
Design is a creative process. A good design is the key to effective system. The term DESIGN
is defined as ‘the process of applying various techniques and principles for the purpose of
defining a process or a system in sufficient detail to permit its physical realization’.
It may be defined as a process of applying various techniques and principles for the purpose
of defining a device, a process or a system in sufficient detail to permit its physical
realization. Software design sits at the technical kernel of the software engineering process
and is applied regardless of the development paradigm that is used. The system develops the
architectural detail required to build a system or product.

4.2SYSTEM OVERVIEW
4.2.1 System Architecture:

Database Design

The general theme behind a database is to handle information as an integrated whole. A

database is a collection of interrelated data stored with minimum redundancy to serve many

users quickly and effectively. After designing the input and output, the analyst must

concentrate on database design or how data should be organized around user requirements.

The general objective is to make information access, easy, quick, inexpensive and flexible for

other users. During database design, the following objectives are concerned:-

• Controlled redundancy

• Easy to learn and use

• More information and low cost

• Accuracy

• Integrity
ER Diagram

Data flow diagram


4.3Database Data Tables
1. COLLEGE REGISTRATION TABLE

2. LOGIN TABLE

3. STUDENT TIPS TABLE

3. REVIEW TABLE
4. PROFESSOR REGISTRATION TABLE

5. STUDENT REGISTRATION TABLE`

4.4 Source code


1.HOME PAGE
1.1(ASPX.CS)
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.OleDb;

publicpartialclassHOMEPAGE : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid btnlogin_Click(object sender, EventArgs e)
{
{

OleDbConnection con =
newOleDbConnection(ConfigurationManager.ConnectionStrings["jobportal"].ConnectionString);
con.Open();
OleDbCommand cmd = newOleDbCommand("Select * from vhlogin2 where email='" + txtusername.Text + "'
and password ='" + txtpassword.Text + "' and usertype ='" + ddluser.SelectedItem.Text + "'", con);
OleDbDataAdapter da = newOleDbDataAdapter(cmd);
DataTable dt = newDataTable();
da.Fill(dt);
if (dt.Rows.Count > 0)
{
if (ddluser.SelectedItem.Text == "admin")
{
Response.Redirect("Adminpage.aspx");
}
else
{
Response.Redirect("user.aspx");
}

}
else
{

Response.Write("Please enter valid Username and Password");


clear();
}
}
clear();
}
protectedvoid clear()
{
txtusername.Text = "";
txtpassword.Text = "";
ddluser.SelectedItem.Text = "";
}
protectedvoid btncancel_Click(object sender, EventArgs e)
{
clear();
}
}

1.2(ASPX)

@PageLanguage="C#"AutoEventWireup="true"CodeFile="HOMEPAGE.aspx.cs"Inherits="HOMEPAGE"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Home</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">WELCOME TO Education Expo</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<li><ahref="reviewdisplay.aspx">Reviews</a></li>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About Project</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
<strong></strong></h1>
<h5>
<strong>Developed by Vishwanath S and Harshavardhana V</strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<tablealign="center">
<tr>
<td>
<asp:LabelID="Label2"runat="server"Font-Size="X-Large "
ForeColor="White"> LOGIN</asp:Label>
</td>
</tr>
</table>
<hr/>

<table>

<tr>
<td>
<asp:LabelID="lblusername"runat="server"Text="User Email"Font-Size="Medium"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtusername"runat="server"placeholder="Email"CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ErrorMessage="*should not be
empty"ControlToValidate="txtusername"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblusertype"runat="server"Text="User Type"Font-Size="Medium"></asp:Label>
</td>
<td>
<asp:DropDownListID="ddluser"runat="server"
Height="35px"Width="200px"CssClass="form-control ddl">
<asp:ListItem>select Usertype</asp:ListItem>
<asp:ListItem>admin</asp:ListItem>
<asp:ListItem>user</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblpassword"runat="server"Text="password"Font-Size="Medium"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtpassword"runat="server"placeholder="password"CssClass="form-
control"TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator2"runat="server"ErrorMessage="*should not be
empty"ControlToValidate="txtpassword"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:ButtonID="btnlogin"runat="server"Text="LOGIN"
CssClass="btn btn-primary"onclick="btnlogin_Click"/>
</td>
<td>
<asp:ButtonID="btncancel"runat="server"Text="CANCEL"
CssClass="btn btn-warning"onclick="btncancel_Click"/>
</td>
</tr>

<tr>
<td>
<asp:HyperLinkID="hprlnk"runat="server"NavigateUrl="~/index.aspx"Font-Size="12"Width="180px">New
Register Click Here</asp:HyperLink>
</td>
</tr>
</table>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

2.ADMINE PAGE

2.1(ASPX.CS)

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

publicpartialclassAdminpage : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{

}
}

2.2(ASPX)

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Adminpage.aspx.cs"Inherits="Adminpage"%>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<metacharset="utf-8">
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Admin</title>
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">Admin page</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="Adminpage.aspx">Home</a></li>
<li><ahref="collegereg.aspx">college registration</a></li>
<li><ahref="professorreg.aspx">Professor registration</a></li>
<li><ahref="pfnotesupload.aspx">Notes Upload</a></li>
<li><ahref="Addstudentstips.aspx">Add Students Tips
</a></li>
<li><ahref="HOMEPAGE.aspx">logout</a></li>

</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
<strong>Education Expo</strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<asp:ImageMapID="ImageMap1"runat="server"ImageUrl="img/2016-03-30-21-46-57-715.jpg"
Width="470px"Height="500">
</asp:ImageMap>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

3.USER PAGE

3.1(ASPX.CS)

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

publicpartialclassuser : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{
}
}

3.2(ASPX)

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="user.aspx.cs"Inherits="user"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>vm</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">User Page</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="user.aspx">Home</a></li>

<%--<li><a href="collegesearchpage.aspx">College Search</a></li>--%>


<li><ahref="new_review_complaint.aspx">Review/complaint</a></li>
<li><ahref="notes_download.aspx">Notes download</a></li>
<%--<li><a href="student_tips.aspx">Student tips</a></li>--%>
<li><ahref="HOMEPAGE.aspx">Logout</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
<strong>STUDENTS MIRROR</strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<asp:ImageMapID="ImageMap1"runat="server"ImageUrl="~/img/2016-03-19-21-07-09-348.jpg"
Width="471px">
</asp:ImageMap>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

4.COLLEGE SEARCH PAGE

4.1(ASPX.CS)

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;

using System.Collections.Generic;

using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Data.ProviderBase;
using System.Data.OleDb;

publicpartialclasscollegesearchpage : System.Web.UI.Page
{
BAL bal = newBAL();
DataSet ds = newDataSet();

protectedvoid Page_Load(object sender, EventArgs e)


{
if (!IsPostBack)
{
FillDropDownList_combination();
FillDropDownList_area();
FillDropDownList_college();
}
}

protectedvoid btnsearch_Click1(object sender, EventArgs e)


{
BindData();
//{
// try
// {
// if (cbArea.SelectedItem.Text == "" && cbcourse.SelectedItem.Text == "" &&
cbdistrict.SelectedItem.Text == "")
// {
// Response.Write("Enter the data in either of the fields.");
// }
// else if (cbArea.SelectedItem.Text != "" && cbcourse.SelectedItem.Text != "" &&
cbdistrict.SelectedItem.Text != "")
// {
// ds = bal.search1(cbdistrict.SelectedItem.Text);

// if (ds.Tables.Count > 0)
// {
// //if (ds.Tables[0].Rows.Count > 0)
// //{
// gvJobs.DataSource = ds;
// gvJobs.DataBind();
// }
// else
// {
// Response.Write(" not found. Search with different keyword.");
// }
// }

// }

// catch (Exception ex)


// {
// // ErrorMessage.Text = ex.Message;
// }
//}

//protected void BindDatasearch()


//{

// string area;
// area = cbcourse.SelectedItem.Text;

// // if (txtusername.Text != "" && txtpassword.Text != "")


// {
// //string search;
// // search = Convert.ToInt32(txtusername.Text);
// // search = int.Parse(txtusername.Text);

// ds = bal.search1(area);

// gvJobs.DataSource = ds;
// gvJobs.DataBind();
// Response.Write("hi:");
// gvJobs.Visible = true;
// }
//}

protectedvoid BindData()
{

// if (txtusername.Text != "" && txtpassword.Text != "")


//{
//string search = txtusername.Text;
ds = bal.TextboxSearch(cbcourse.SelectedItem.Text);

gvJobs.DataSource = ds;
gvJobs.DataBind();
// }
}

privatevoid FillDropDownList_area()
{
OleDbConnection con =
newOleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["jobportal"].ToString())
;

OleDbCommand cmd = newOleDbCommand ("Select distinct * from colreg", con);


OleDbDataAdapter da = newOleDbDataAdapter(cmd);

DataSet ds = newDataSet();
da.Fill(ds);

cbArea.DataTextField = ds.Tables[0].Columns["area"].ToString();
// cbArea.DataValueField = ds.Tables[0].Columns["area"].ToString();

cbArea.DataSource = ds.Tables[0];
cbArea.DataBind();
}
privatevoid FillDropDownList_combination()
{
OleDbConnection con =
newOleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["jobportal"].ToString())
;

OleDbCommand cmd = newOleDbCommand("Select distinct * from colreg", con);

OleDbDataAdapter da = newOleDbDataAdapter(cmd);

DataSet ds = newDataSet();
da.Fill(ds);

cbcourse.DataTextField = ds.Tables[0].Columns["c1"].ToString();
//cbcourse.DataValueField = ds.Tables[0].Columns["cname"].ToString();
// cbcourse.DataTextField = ds.Tables[0].Columns["c2"].ToString();
// cbcourse.DataTextField = ds.Tables[0].Columns["c3"].ToString();

cbcourse.DataSource = ds.Tables[0];
cbcourse.DataBind();
}
privatevoid FillDropDownList_college()
{
OleDbConnection con =
newOleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["jobportal"].ToString())
;

OleDbCommand cmd = newOleDbCommand("Select distinct * from colreg", con);

OleDbDataAdapter da = newOleDbDataAdapter(cmd);

DataSet ds = newDataSet();
da.Fill(ds);

cbdistrict.DataTextField = ds.Tables[0].Columns["cname"].ToString();
//cbdistrict.DataValueField = ds.Tables[0].Columns["cname"].ToString();

cbdistrict.DataSource = ds.Tables[0];
cbdistrict.DataBind();
}

protectedvoid btnregister123_Click(object sender, EventArgs e)


{
try
{

Response.AddHeader("content-disposition", "attachment; filename=College_Details.xlsx");


Response.ContentType = "application/ms-excel";
StringWriter swriter = newStringWriter();
HtmlTextWriter htextwriter = newHtmlTextWriter(swriter);
HtmlForm frm = newHtmlForm();
gvJobs.Parent.Controls.Add(frm);
frm.Attributes["runat"] = "server";
frm.Controls.Add(gvJobs);
//frm.RenderControl(htextwriter);
// frm.RenderControl(htextwriter);
Response.Write(swriter.ToString());
Response.End();

}
catch (Exception ex)
{
//error.Text = ex.Message;
}
}

protectedvoid gvJobs_SelectedIndexChanged(object sender, EventArgs e)


{

}
}

4.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="collegesearchpage.aspx.cs"Inherits="collegesearc
hpage"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>VM</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
<styletype="text/css">
.style1
{
width: 101px;
}
</style>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">Search for colleges</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<%--<li><a href="new_review_complaint.aspx">Review/complaint</a></li>
<li><a href="notes_download.aspx">Notes download</a></li>--%>
<li><ahref="reviewdisplay.aspx">Reviews</a></li>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About us</a></li>
</ul>

</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<%--<div id="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong>Developed by Ajay and Harshavardhana</strong></h5>
</div>--%>
</div>
<%--<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">--%>
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel1"runat="server">
<tablealign="center">
<tr>
<td>
<asp:LabelID="lblname2"runat="server"Text="Search College Details"Font-Size="X-Large"></asp:Label>
</td>
</tr>
</table>
<hr/>

<table>
<tr>
<tdclass="style1">
<asp:LabelID="Label1"runat="server"Font-Size="12"Width="120px">Search by Area</asp:Label></td>
<td>
<asp:DropDownListID="cbdistrict"runat="server"Height="35px"Width="150px"CssClass="form-control ddl">

</asp:DropDownList>
</td>
<td>
<asp:LabelID="Label2"runat="server"Font-Size="12"Width="180px">Search by Combination</asp:Label>
</td>
<td>
<asp:DropDownListID="cbArea"runat="server"Height="35px"Width="150px"CssClass="form-control ddl">

</asp:DropDownList>
</td>
<td>
<asp:LabelID="Label3"runat="server"Font-Size="12"Width="150px">Search by College</asp:Label>
</td>
<td>
<asp:DropDownListID="cbcourse"runat="server"Height="35px"Width="150px"CssClass="form-control ddl">

</asp:DropDownList>
</td>
<td>
<asp:ButtonID="btnsearch"runat="server"Text="Search"
CssClass="btn btn-warning"onclick="btnsearch_Click1"/>
</td>
</tr>

</table>

</asp:Panel>
<hr/>
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel19"runat="server">
<asp:GridViewID="gvJobs"runat="server"AutoGenerateColumns="false"
GridLines="None"ShowHeader="False"Width="1000px"onselectedindexchanged="gvJobs_SelectedIndexChan
ged"
>
<Columns>
<asp:TemplateFieldItemStyle-Font-Size="Large">
<ItemTemplate>
<asp:PanelID="pnltotal"runat="server">
<%--<div style="background-color: ThreeDShadow;">--%>
<asp:PanelID="pnlhead"runat="server">
<div>
<table>
<tr>
<td>
<asp:LabelID="lbltitle"Font-Bold="true"Font-Size="X-Large"
runat="server"ForeColor="#0033CC"><%# Eval("cname")%></asp:Label>
</td>
<td>
<%-- <asp:Button ID="btndetails" CommandName="details" CommandArgument='<%# Eval("cnum")%>'
CssClass="css2" runat="server" Text="Details" />--%>
</td>
</tr>
</table>
</div>
</asp:Panel>
</div>
<div>
<asp:LabelID="lbljob_location"CssClass="css1"runat="server"Font-Size="18px"Font-Names="Times New
Roman"
Font-Bold="true"Text="E-Mail:"></asp:Label>
<asp:LabelID="lbljob_location1"Font-Size="15px"Font-Names="Times New Roman"runat="server"><%#
Eval("email")%></asp:Label>
<br/>
<asp:LabelID="lbl_Designation"runat="server"Font-Size="18px"Font-Names="Times New Roman"
Font-Bold="true"Text="Registration Fees :"></asp:Label>
<asp:LabelID="lbl_Designation1"Font-Size="15px"Font-Names="Times New Roman"runat="server"><%#
Eval("regfee")%></asp:Label>
<br/>
<asp:LabelID="lbl_Job_Description"runat="server"Font-Size="18px"Font-Names="Times New Roman"
Font-Bold="true"Text="Contact No:"></asp:Label>
<asp:LabelID="lbl_Job_Description1"Font-Size="15px"Font-Names="Times New Roman"
runat="server"><%# Eval("cnum")%></asp:Label>
<br/>
</div>
<divstyle="text-align: center;">
<asp:ButtonID="btnregistr123"runat="server"Text="Export to Excel Sheet"
CssClass="btn btn-primary"onclick="btnregister123_Click"/>
</div>
</asp:Panel>
<hr/>
<br/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

</asp:Panel>

</div>
</div>
</div>
</div>

</div>

<%--<table>
<tr>
<td>--%>
<%--<asp:GridView ID="gvBusinessList" runat="server" Height="100px" Width="355px"
AutoGenerateColumns="False"
BackColor="White" BorderColor="#CCCCCC"
BorderStyle="None" BorderWidth="1px" CssClass="Grid" AlternatingRowStyle-CssClass="alt"
PagerStyle-CssClass="pgr"
>
<Columns>
<asp:BoundField HeaderText="user_id" DataField="cname" />
<asp:BoundField HeaderText="username" DataField="cadd" />

<asp:BoundField HeaderText="created_by" DataField="c1" />


<asp:BoundField HeaderText="created_date" DataField="email" />

</Columns>
<FooterStyle BackColor="White" ForeColor="#000066" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />

<AlternatingRowStyle CssClass="alt"></AlternatingRowStyle>
</asp:GridView>
</td>
</tr>
</table>--%>

<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

5.NOTES DOWNLOADING PAGE

5.1(ASPX.CS)

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text.RegularExpressions;

publicpartialclassnotes_download : System.Web.UI.Page
{
BAL bal = newBAL();
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid btnregister_Click(object sender, EventArgs e)
{
int num;
bool isnum = int.TryParse(txtcontactnumber.Text.Trim(), out num);
if (!isnum)
{
Response.Write("enter only number");
}
else
{
if (IsValidEmailId(txtemailid.Text))
{

bal.createstdreg(txtstudentname.Text, txtcollegename.Text, txtclass.Text, txtcontactnumber.Text,


txtemailid.Text);
Session["UserId"] = txtstudentname.Text;
Response.Redirect("notesdownload2.aspx");
}

else
{
Response.Write(" is not valid email");
}

}
}
privatebool IsValidEmailId(string InputEmail)
{
Regex regex = newRegex(@"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$");
Match match = regex.Match(InputEmail);
if (match.Success)
returntrue;
else
returnfalse;
}
}

5.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="notes_download.aspx.cs"Inherits="notes_downlo
ad"%>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>REGISTER TO DOWNLOAD</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">WELCOME TO STUDENTS MIRROR</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="user.aspx">Home</a></li>
<%--<li><a href="collegesearchpage.aspx">College Search</a></li>--%>
<li><ahref="new_review_complaint.aspx">Review/complaint</a></li>
<li><ahref="notes_download.aspx">Notes download</a></li>
<%--<li><a href="student_tips.aspx">Student tips</a></li>--%>
<li><ahref="HOMEPAGE.aspx">Logout</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<tablealign="center">
<tr>
<td>
<asp:LabelID="Label1"runat="server"Text="NOTES DOWNLOAD"Font-Size="15pt"
Width="300px"></asp:Label>
</td>
</tr>
</table>
<hr/>

<table>
<tr>
<td>
<asp:LabelID="Label2"runat="server"
Text=" Note:Please Register the Student Information to download"Font-Bold="True"
Font-Size="12pt"ForeColor="#000066"Width="500px"></asp:Label>
</td>
</tr>
</table>
<hr/>

<table>
<tr>
<td>
<asp:LabelID="lblstudentname"runat="server"Text="studentname"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtstudentname"runat="server"CssClass="form-control"
Width="250px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ErrorMessage="enter a
username"ControlToValidate="txtstudentname"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcollegename"runat="server"Text="collegename"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcollegename"runat="server"CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator2"runat="server"ErrorMessage="enter the college
name"ControlToValidate="txtcollegename"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblclass"runat="server"Text="class"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtclass"runat="server"CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator3"runat="server"ErrorMessage="shoul not be
empty"ControlToValidate=
"txtclass"></asp:RequiredFieldValidator>

</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcontactnumber"runat="server"Text="contactnumber"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcontactnumber"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblemailid"runat="server"Text="emailid"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtemailid"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:ButtonID="btnregister"runat="server"Text="Register"
onclick="btnregister_Click"CssClass="btn btn-warning"/>
</td>
</tr>

</table>
</asp:Panel>

</asp:Panel>
</asp:Panel>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

6.NEW REVIEW PAGE

6.1(ASPX.CS)

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text.RegularExpressions;
publicpartialclassnew_review_complaint : System.Web.UI.Page
{
BAL bal = newBAL();
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid Btnsubmit_Click(object sender, EventArgs e)
{

int num;
bool isnum = int.TryParse(txtno.Text.Trim(), out num);
if (!isnum)
{
Response.Write("enter only number");
}
else
{

if (IsValidEmailId(txtmail.Text))
{

bal.Creat_Review(txtname.Text, Convert.ToInt32(txtno.Text), txtmail.Text, txtcollege.Text,


ddlrating.SelectedItem.Text, txtreview.Text);
Response.Write("Review/Complaints are registred");
}
else
{
Response.Write("enter valid email id");

}
}
}

privatebool IsValidEmailId(string InputEmail)


{
//Regex To validate Email Address
Regex regex = newRegex(@"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$");
Match match = regex.Match(InputEmail);
if (match.Success)
returntrue;
else
returnfalse;
}
}

6.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="new_review_complaint.aspx.cs"Inherits="new_re
view_complaint"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Review page</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="HOMEPAGE.aspx">WELCOME TO STUDENTS MIRROR</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="user.aspx">Home</a></li>
<%-- <li><a href="collegesearchpage.aspx">College Search</a></li>--%>
<li><ahref="new_review_complaint.aspx">Review/complaint</a></li>
<li><ahref="notes_download.aspx">Notes download</a></li>
<%-- <li><a href="student_tips.aspx">Student tips</a></li>--%>
<li><ahref="HOMEPAGE.aspx">Logout</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<tablealign="center">
<tr>
<td>
<asp:LabelID="Label1"runat="server"Text="New Review/Complaints"
Font-Size="X-Large"Width="435px"></asp:Label>
</td>
</tr>
</table>
<hr/>

<table>
<tr>
<td>
<asp:LabelID="lblpersonname"runat="server"Text="personname"Font-Size="Medium"></asp:Label>
</td>
<td>

<asp:TextBoxID="txtname"runat="server"CssClass="form-control"Width="225px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ErrorMessage="This field can't be
empty"ControlToValidate="txtname"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblpersontactnumber"runat="server"Text="contact number"Font-Size="Medium"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtno"runat="server"CssClass="form-control"></asp:TextBox>

</td>
</tr>
<tr>
<td>
<asp:LabelID="lblemail"runat="server"Text="E_Mail Id"Font-Size="Medium"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtmail"runat="server"CssClass="form-control"></asp:TextBox>

</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcllgnme3"runat="server"Text="college name"Font-Size="Medium"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcollege"runat="server"CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator2"runat="server"ErrorMessage="Should not be
empty"ControlToValidate="txtcollege"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblratings"runat="server"Text="Ratings"Font-Size="Medium"></asp:Label>
</td>
<td>

<asp:DropDownListID="ddlrating"runat="server"CssClass="form-control ddl">
<asp:ListItem>one</asp:ListItem>
<asp:ListItem>two</asp:ListItem>
<asp:ListItem>three</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcmplnts"runat="server"Text="complaints/Reviews"Font-Size="Medium"></asp:Label>
</td>

</tr>

<tr>
<tdcolspan="2">

<asp:TextBoxID="txtreview"runat="server"CssClass="form-control"
TextMode="MultiLine"BorderColor="White"BorderStyle="Dotted"BorderWidth="2px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator3"runat="server"ErrorMessage="should not be
empty"ControlToValidate="txtreview"></asp:RequiredFieldValidator>

<br/>
</td>
<td></td>
</tr>
<tr>
<td>
<asp:ButtonID="Btnsubmit"runat="server"Text="Submit"
CssClass="btn btn-warning"onclick="Btnsubmit_Click"
/>
</td>
<td></td>
</tr>

</table>
</asp:Panel>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

7.COLLEGE REGISTRATION PAGE

7.1(ASPX.CS)

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

publicpartialclasscollegereg : System.Web.UI.Page
{
BAL bal = newBAL();

protectedvoid Page_Load(object sender, EventArgs e)


{

}
protectedvoid btnregister_Click(object sender, EventArgs e)
{
bal.Creat_clgreg(txtclgnme.Text, txtaddress1.Text,txtcontctno.Text,txtcntctprsnme.Text, txtarea.Text,
txtemail.Text, txtregfes.Text, ddlpg.SelectedItem.Text, ddlcampus.SelectedItem.Text,
ddlnaac.SelectedItem.Text, txtusernme.Text, txtpassword.Text);
Response.Write("registered succesfully");
}
}
7.2(ASPX)
<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="collegereg.aspx.cs"Inherits="collegereg"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>College registration</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
<styletype="text/css">
.style1
{
width: 124px;
}
.fontstyle
{
font-size:15;

}
</style>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">WELCOME TO STUDENTS MIRROR</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="Adminpage.aspx">Home</a></li>
<li><ahref="collegereg.aspx">college registration</a></li>
<li><ahref="professorreg.aspx">Professor registration</a></li>
<li><ahref="pfnotesupload.aspx">Notes Upload</a></li>
<li><ahref="Addstudentstips.aspx">Add Students Tips
</a></li>
<li><ahref="HOMEPAGE.aspx">logout</a></li>

</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel1"runat="server">

<tablealign="center">
<tr>
<td>
<asp:LabelID="Label1"runat="server"Text="COLLEGE REGISTRATION"Font-Size="X-
Large"></asp:Label>
</td>
</tr>
</table>
<hr/>
<table>
<tr>
<tdclass="style1">
<asp:LabelID="lblname"runat="server"Text="College Name"Font-Size="12pt"></asp:Label>

</td>
<td>
<asp:DropDownListID="cbclgnme"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem>DSBA</asp:ListItem>
</asp:DropDownList>
</td>
<td>
<asp:ButtonID="Btnsearch"runat="server"Text="Search"CssClass="btn btn-warning"/>
</td>
</tr>

</table>
<hr/>
<table>
<tr>
<td>
<asp:LabelID="lblclgnme"runat="server"Text="College Name"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtclgnme"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lbladress"runat="server"Text="College Address"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtaddress1"runat="server"CssClass="form-control"
TextMode="MultiLine"BorderColor="White"BorderStyle="Dotted"BorderWidth="2px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcourse"runat="server"Text="course offered"Font-Size="12pt"></asp:Label>
</td>

<td>
<asp:CheckBoxID="chkc1"runat="server"Text="BBM"/>
<asp:CheckBoxID="chkc2"runat="server"Text="BCOM"/>
<asp:CheckBoxID="chkc3"runat="server"Text="BCA"/>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcontactno"runat="server"Text="Contact No"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcontctno"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcntctprsnnme"runat="server"Text="contact person name"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcntctprsnme"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblarea"runat="server"Text="Area"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtarea"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblemail"runat="server"Text="Email-id"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtemail"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblregfees"runat="server"Text="Registration fees"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtregfes"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblpgavble"runat="server"Text="PG Available"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:DropDownListID="ddlpg"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem>YES</asp:ListItem>
<asp:ListItem>NO</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcmpsintrview"runat="server"Text="Campus interview"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:DropDownListID="ddlcampus"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem>YES</asp:ListItem>
<asp:ListItem>NO</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<%--<tr>
<td>
<asp:Label ID="lblcmpnynme" runat="server" Text="company's name" Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtcmpnynme" runat="server" CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>--%>
<tr>
<td>
<asp:LabelID="lblgrade"runat="server"Text="NAAC Grade"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:DropDownListID="ddlnaac"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem>A+</asp:ListItem>
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B+</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C+</asp:ListItem>
<asp:ListItem>C</asp:ListItem>

</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblusernme"runat="server"Text="Username"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtusernme"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblpassword"runat="server"Text="Password"Font-Size="12pt"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtpassword"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:ButtonID="btnregister"runat="server"Text="Register"ForeColor="Black"
CssClass="btn btn-primary"onclick="btnregister_Click"/>
</td>
</tr>
</table>
</asp:Panel>

</div>
</div>
</div>
</div>

<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

8.PROFFESSOR REGISTRATION PAGE

8.1(ASPX.CS)

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

publicpartialclassprofessorreg : System.Web.UI.Page
{
BAL bal=newBAL();

protectedvoid Page_Load(object sender, EventArgs e)


{

}
protectedvoid Button1_Click(object sender, EventArgs e)
{
bal.Creat_prof(txtpfname.Text, txtcllgnme.Text, Convert.ToInt64(txtcntctno1.Text), txtaddress1.Text,
txtemail.Text);
Response.Write("registered successfully");
}
}

8.2(ASPX)

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="professorreg.aspx.cs"Inherits="professorreg"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Professor registrations</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">WELCOME TO STUDENTS MIRROR</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="Adminpage.aspx">Home</a></li>
<li><ahref="collegereg.aspx">college registration</a></li>
<li><ahref="professorreg.aspx">Professor registration</a></li>
<li><ahref="pfnotesupload.aspx">Notes Upload</a></li>
<li><ahref="Addstudentstips.aspx">Add Students Tips
</a></li>
<li><ahref="HOMEPAGE.aspx">logout</a></li>

</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel1"runat="server">
<tablealign="center">
<tr>
<td>
<asp:LabelID="Label1"runat="server"Text="Professor Registration Form"Font-
Size="17"Width="300"></asp:Label>
</td>
</tr>
</table>
<hr/>
<table>
<tr>
<td>
<asp:LabelID="lblpfnme"runat="server"Text="professor name"Width="200"></asp:Label>
</td>
<td>
<asp:DropDownListID="cbpfid"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
<td>

</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcllgnme"runat="server"Text="college name"Width="200"></asp:Label>
</td>
<td>
<asp:DropDownListID="cbcllgnme"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
<td>
<asp:ButtonID="Btnsearch1"runat="server"Text="Search"CssClass="btn btn-primary"
Height="28px"Width="90px"/>
</td>
</tr>
</table>
<hr/>
<asp:PanelID="Panel2"runat="server">
<table>
<tr>
<td>
<asp:LabelID="lblpfname1"runat="server"Text="professor name"Width="200"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtpfname"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcllgnme1"runat="server"Text="college name"Width="200"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcllgnme"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblcntctno1"runat="server"Text="contact no"Width="200"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtcntctno1"runat="server"CssClass="form-control"Width="272px"
></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ErrorMessage="should not be
empty"ControlToValidate="txtcntctno1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lbladdress1"runat="server"Text="Address"Width="200"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtaddress1"runat="server"CssClass="form-control"
TextMode="MultiLine"BorderColor="White"BorderStyle="Dotted"BorderWidth="2px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="Label2"runat="server"Text="E_Mail_Id"Width="200"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtemail"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:ButtonID="Button1"runat="server"Text="Register"CssClass="btn btn-primary"
Height="28px"Width="90px"onclick="Button1_Click"/>
</td>
</tr>

</table>
</asp:Panel>

</asp:Panel>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

9.PROFFESSOR NOTES UPLOAD PAGE

9.1(ASPX.CS)

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

publicpartialclasspfnotesupload : System.Web.UI.Page
{
BAL bal = newBAL();
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid Btnupload_Click(object sender, EventArgs e)
{
string filename=fupload.PostedFile.FileName;

string fpath = Server.MapPath("~/notes/" + filename);


bal.createupload(txtpfname2.Text, ddlsubj.SelectedItem.Text,txttopicname.Text , fpath);
fupload.PostedFile.SaveAs(fpath);
Response.Write("uploaded successfully");
}
}

9.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="pfnotesupload.aspx.cs"Inherits="pfnotesupload"
%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Upload notes</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">WELCOME TO STUDENTS MIRROR</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="Adminpage.aspx">Home</a></li>
<li><ahref="collegereg.aspx">college registration</a></li>
<li><ahref="professorreg.aspx">Professor registration</a></li>
<li><ahref="pfnotesupload.aspx">Notes Upload</a></li>
<li><ahref="Addstudentstips.aspx">Add Students Tips
</a></li>
<li><ahref="HOMEPAGE.aspx">logout</a></li>

</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong>Developed by Ajay and Harshavardhana</strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel1"runat="server">
<tablealign="center">
<tr>
<td>
<asp:LabelID="Label1"runat="server"Text=" Notes Upload"Font-Size="X-Large"></asp:Label>
</td>
</tr>
</table>
<hr/>
<table>
<tr>
<td>
<asp:LabelID="lblpfname2"runat="server"Text="professsor name"></asp:Label>
</td>
<td>
<asp:TextBoxID="txtpfname2"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="lblsub2"runat="server"Text="Subject"></asp:Label>
</td>
<td>
<asp:DropDownListID="ddlsubj"runat="server"Height="30px"
Width="148px"CssClass="form-control ddl">
<asp:ListItem>BBM</asp:ListItem>
<asp:ListItem>BCA</asp:ListItem>
<asp:ListItem>BCOM</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:LabelID="Label3"runat="server"Text="Topic Name"></asp:Label>
</td>
<td>
<asp:TextBoxID="txttopicname"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="Label2"runat="server"Text="professsor name"></asp:Label>
</td>
<td>
<asp:TextBoxID="TextBox1"runat="server"CssClass="form-control"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:LabelID="C"runat="server"Text="Upload Notes"></asp:Label>
</td>
<td>

<asp:FileUploadID="fupload"runat="server"ForeColor="Black"/>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ErrorMessage="should not be
empty"ControlToValidate="fupload"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:ButtonID="Btnupload"runat="server"Text="Upload"
CssClass="btn btn-primary"onclick="Btnupload_Click"/>
</td>
<td>
<asp:ButtonID="Btncancel"runat="server"Text="Cancel"CssClass="btn btn-primary"/>
</td>
</tr>
</table>
</asp:Panel>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

10.NOTES DOWNLOADING PAGE

10.1(ASPX.CS)

using System;
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;

using System.Collections.Generic;

using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Data.ProviderBase;
using System.Data.OleDb;
publicpartialclassnotesdownload2 : System.Web.UI.Page
{
BAL bal = newBAL();
DataSet ds = newDataSet();
protectedvoid Page_Load(object sender, EventArgs e)
{
Label1.Text="Welcome ! Mr . " + Session["UserId"];
}
protectedvoid ddluser_SelectedIndexChanged(object sender, EventArgs e)
{
// string a = ddluser.SelectedValue.ToString ;
//if (ddluser.SelectedIndex == 1)
// pnlbbm.Visible = "true";

}
protectedvoid LinkButton1_Click(object sender, EventArgs e)
{
string filename = "cg.docx";
if (filename != "")
{
string path = Server.MapPath("~//notes//cg.docx");
System.IO.FileInfo file = new System.IO.FileInfo(path);
if (file.Exists)
{
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(file.FullName);
Response.End();
}
else
{
Response.Write("This file does not exist.");
}
}
}

protectedvoid LinkButton2_Click(object sender, EventArgs e)


{
string filename = "dbms.docx";
if (filename != "")
{
string path = Server.MapPath("~//notes//dbms.docx");
System.IO.FileInfo file = new System.IO.FileInfo(path);
if (file.Exists)
{
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(file.FullName);
Response.End();
}
else
{
Response.Write("This file does not exist.");
}
}
}

protectedvoid BindData1()
{

// if (txtusername.Text != "" && txtpassword.Text != "")


//{
//string search = txtusername.Text;
//string path = Server.MapPath("~//notes//dbms.docx");
ds = bal.TextboxSearchreview1(ddlclass.SelectedItem.Text);

gvJobs.DataSource = ds;
gvJobs.DataBind();
// }
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
BindData1();
}
protectedvoid LinkButton2_Click1(object sender, EventArgs e)
{

}
protectedvoid gvJobs_RowCommand(object sender, GridViewCommandEventArgs e)
{
if(e.CommandName=="view")
{
LinkButton LinkButton1 = (LinkButton)e.CommandSource;
string dealid = LinkButton1.CommandArgument;

string filename = "cg.docx";


if (filename != "")
{
string path = Server.MapPath("~//notes//cg.docx");
System.IO.FileInfo file = new System.IO.FileInfo(path);
if (file.Exists)
{
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(file.FullName);
Response.End();
}
else
{
Response.Write("This file does not exist.");
}
}
}
}
}

10.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="notesdownload2.aspx.cs"Inherits="notesdownloa
d2"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Register for downloading notes</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">
<asp:LabelID="Label1"runat="server"Text="Label"></asp:Label></a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<%--<li><a href="new_review_complaint.aspx">Review/complaint</a></li>
<li><a href="notes_download.aspx">Notes download</a></li>--%>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About Project</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
<strong>STUDENTS MIRROR</strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
<fieldset>
<legend>Notes Download <iclass="fa fa-pencil pull-right"></i></legend>
<hr / width="500px">

<divclass="form-group">
<%--<asp:Label ID="Label5" runat="server" Text="Class" CssClass="col-lg-2 control-label"></asp:Label> --
%>
<divclass="col-lg-10">
<asp:DropDownListID="ddlclass"runat="server"CssClass="form-control ddl"
Height="50px"Width="228px">
<asp:ListItem>Select Class to Download</asp:ListItem>
<asp:ListItem>BBM</asp:ListItem>
<asp:ListItem>BCOM</asp:ListItem>
<asp:ListItem>BCA</asp:ListItem>
</asp:DropDownList>
<asp:ButtonID="Button1"runat="server"Text="search"
CssClass="btn btn-warning"onclick="Button1_Click"/>
<hr / width="500px">
<%-- </div>
</div>

<div class="form-group">

<hr />
<div class="registrationform">
<div class="form-horizontal">--%>

<asp:GridViewID="gvJobs"runat="server"AutoGenerateColumns="false"
GridLines="None"ShowHeader="False"width="40px"OnRowCommand="gvJobs_RowCommand"
>
<Columns>
<asp:TemplateFieldItemStyle-Font-Size="Large">
<ItemTemplate>

<%--<div style="background-color: ThreeDShadow;">--%>

<div>
<table>
<tr>
<td>
<asp:LinkButtonID="LinkButton1"runat="server"OnClick="LinkButton1_Click"CommandName="view"PostB
ackUrl='<%# Eval("path")%>'Text='<%# Eval("topicname")%>'></asp:LinkButton>
</td>

</tr>
</table>
</div>

<hr / width="500px">
<br/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

</div>
</div>
</div>
</div>

</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

11.DISPLAYING REVIEW PAGE

11.1(ASPX.CS)

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;

using System.Collections.Generic;

using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Data.ProviderBase;
using System.Data.OleDb;

publicpartialclassreviewdisplay : System.Web.UI.Page
{
BAL bal = newBAL();
DataSet ds = newDataSet();
protectedvoid Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
FillDropDownList_area1();
}
}

protectedvoid BindData1()
{
// if (txtusername.Text != "" && txtpassword.Text != "")
//{
//string search = txtusername.Text;
ds = bal.TextboxSearchreview(cbcourse.SelectedItem.Text);

gvJobs.DataSource = ds;
gvJobs.DataBind();
// }
}

privatevoid FillDropDownList_area1()
{
OleDbConnection con =
newOleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["jobportal"].ToString())
;

OleDbCommand cmd = newOleDbCommand("Select distinct * from vhreview", con);

OleDbDataAdapter da = newOleDbDataAdapter(cmd);

DataSet ds = newDataSet();
da.Fill(ds);

cbcourse.DataTextField = ds.Tables[0].Columns["collegename"].ToString();
cbcourse.DataValueField = ds.Tables[0].Columns["collegename"].ToString();

cbcourse.DataSource = ds.Tables[0];
cbcourse.DataBind();
}
protectedvoid btnsearch_Click1(object sender, EventArgs e)
{
BindData1();
}
}

11.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="reviewdisplay.aspx.cs"Inherits="reviewdisplay"
%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>VM</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
<styletype="text/css">
.style1
{
width: 101px;
}
</style>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">Display reviews</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only"></span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<%--<li><a href="new_review_complaint.aspx">Review/complaint</a></li>
<li><a href="notes_download.aspx">Notes download</a></li>--%>
<li><ahref="reviewdisplay.aspx">Reviews</a></li>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About us</a></li>
</ul>

</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<%--<div id="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong>Developed by Ajay and Harshavardhana</strong></h5>
</div>--%>
</div>
<%--<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">--%>
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel1"runat="server">
<tablealign="center">
<tr>
<td>
<asp:LabelID="lblname2"runat="server"Text="Search Reviews"Font-Size="X-Large"></asp:Label>
</td>
</tr>
</table>
<hr/>

<table>
<tr>
<%--<td class="style1">
<asp:Label ID="Label1" runat="server" Font-Size="12" Width="120px">Search by Area</asp:Label></td>
<td>
<asp:DropDownList ID="cbdistrict" runat="server" Height="35px" Width="150px" CssClass="form-control
ddl">

</asp:DropDownList>
</td>
<td>
<asp:Label ID="Label2" runat="server" Font-Size="12" Width="180px">Search by Combination</asp:Label>
</td>
<td>
<asp:DropDownList ID="cbArea" runat="server" Height="35px" Width="150px" CssClass="form-control
ddl">

</asp:DropDownList>
</td>--%>
<td>
<asp:LabelID="Label3"runat="server"Font-Size="12"Width="150px">Search by College</asp:Label>
</td>
<td>
<asp:DropDownListID="cbcourse"runat="server"Height="35px"Width="150px"CssClass="form-control ddl">

</asp:DropDownList>
</td>
<td>
<asp:ButtonID="btnsearch"runat="server"Text="Search"
CssClass="btn btn-warning"onclick="btnsearch_Click1"/>
</td>
</tr>

</table>

</asp:Panel>
<hr/>
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel19"runat="server">
<asp:GridViewID="gvJobs"runat="server"AutoGenerateColumns="false"
GridLines="None"ShowHeader="False"Width="1000px"
>
<Columns>
<asp:TemplateFieldItemStyle-Font-Size="Large">
<ItemTemplate>
<asp:PanelID="pnltotal"runat="server">
<%--<div style="background-color: ThreeDShadow;">--%>
<asp:PanelID="pnlhead"runat="server">
<div>
<table>
<tr>
<td>
<asp:LabelID="lbltitle"Font-Bold="true"Font-Size="X-Large"
runat="server"ForeColor="#0033CC"><%# Eval("collegename")%></asp:Label>
</td>
<td>
<%-- <asp:Button ID="btndetails" CommandName="details" CommandArgument='<%# Eval("cnum")%>'
CssClass="css2" runat="server" Text="Details" />--%>
</td>
</tr>
</table>
</div>
</asp:Panel>
</div>
<div>
<asp:LabelID="lbljob_location"CssClass="css1"runat="server"Font-Size="18px"Font-Names="Times New
Roman"
Font-Bold="true"Text="Rview:"></asp:Label>
<asp:LabelID="lbljob_location1"Font-Size="15px"Font-Names="Times New Roman"runat="server"><%#
Eval("ratings")%></asp:Label>
<br/>
<asp:LabelID="lbl_Designation"runat="server"Font-Size="18px"Font-Names="Times New Roman"
Font-Bold="true"Text="Review :"></asp:Label>
<asp:LabelID="lbl_Designation1"Font-Size="15px"Font-Names="Times New Roman"runat="server"><%#
Eval("review")%></asp:Label>
<br/>
<asp:LabelID="lbl_Job_Description"runat="server"Font-Size="18px"Font-Names="Times New Roman"
Font-Bold="true"Text="E-Mail:"></asp:Label>
<asp:LabelID="lbl_Job_Description1"Font-Size="15px"Font-Names="Times New Roman"
runat="server"><%# Eval("mailid")%></asp:Label>
<br/>
</div>

</asp:Panel>
<hr/>
<br/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

</asp:Panel>

</div>
</div>
</div>
</div>

</div>

<%--<table>
<tr>
<td>--%>
<%--<asp:GridView ID="gvBusinessList" runat="server" Height="100px" Width="355px"
AutoGenerateColumns="False"
BackColor="White" BorderColor="#CCCCCC"
BorderStyle="None" BorderWidth="1px" CssClass="Grid" AlternatingRowStyle-CssClass="alt"
PagerStyle-CssClass="pgr"
>
<Columns>
<asp:BoundField HeaderText="user_id" DataField="cname" />
<asp:BoundField HeaderText="username" DataField="cadd" />

<asp:BoundField HeaderText="created_by" DataField="c1" />


<asp:BoundField HeaderText="created_date" DataField="email" />

</Columns>
<FooterStyle BackColor="White" ForeColor="#000066" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />

<AlternatingRowStyle CssClass="alt"></AlternatingRowStyle>
</asp:GridView>
</td>
</tr>
</table>--%>

<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

12.SEARCH BY COLLEGE NAME PAGE

12.1(ASPX.CS)

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

publicpartialclasssearch_by_college_name : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{

}
}

12.2(ASPX)

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="search by college
name.aspx.cs"Inherits="search_by_college_name"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<body>
<%--<form id="form1" runat="server">--%>
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">Colleges</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<%-- <li><a href="new_review_complaint.aspx">Review/complaint</a></li>
<li><a href="notes_download.aspx">Notes download</a></li>--%>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About Project</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
EDUCATION EXPO <strong></strong></h1>
<h5>
<strong>Developed by Vishwanath and Harshavardhana</strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
13.ADDING STUDENT TIPS PAGE

13.1(ASPX.CS)

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

publicpartialclassAddstudentstips : System.Web.UI.Page
{
BAL bal = newBAL();
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid btnsave_Click(object sender, EventArgs e)
{
bal.Creat_Tips(txttip.Text);
Response.Write("Student Tips saved.");

}
}

13.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Addstudentstips.aspx.cs"Inherits="Addstudentsti
ps"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Student tips</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="HOMEPAGE.aspx">Education Expo</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="Adminpage.aspx">Home</a></li>
<li><ahref="collegereg.aspx">college registration</a></li>
<li><ahref="professorreg.aspx">Professor registration</a></li>
<li><ahref="pfnotesupload.aspx">Notes Upload</a></li>
<li><ahref="Addstudentstips.aspx">Add Students Tips
</a></li>
<li><ahref="HOMEPAGE.aspx">logout</a></li>

</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
<strong></strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
<asp:PanelID="Panel1"runat="server">

<tablealign="center">
<tr>
<td>
<asp:LabelID="Label1"runat="server"Text="ADD STUDENTS TIPS"
Font-Size="X-Large"Width="300px"></asp:Label>
</td>
</tr>
</table>
<hr/>

<table>
<tr>
<td>
<asp:LabelID="Lbltips"runat="server"Text="Enter Student Tips"
Font-Size="Medium"Width="170px"></asp:Label>
</td>
<td>
<asp:TextBoxID="txttip"runat="server"CssClass="form-control"
TextMode="MultiLine"BorderColor="White"BorderStyle="Dotted"
BorderWidth="2px"Height="95px"Width="300px"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ErrorMessage="should not be
empty"ControlToValidate="txttip"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:ButtonID="btnsave"runat="server"Text="Save"CssClass="btn btn-warning"
onclick="btnsave_Click"/>
</td>
<td></td>
</tr>

</table>
</asp:Panel>
</div>

</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

14.REVIEWING STUDENT TIPS PAGE

14.1(ASPX.CS)
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;

using System.Collections.Generic;

using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Data.ProviderBase;
using System.Data.OleDb;

publicpartialclassstudent_tips : System.Web.UI.Page
{
BAL bal = newBAL();
DataSet ds = newDataSet();

protectedvoid Page_Load(object sender, EventArgs e)


{
BindData();
}
protectedvoid BindData()
{

ds = bal.TextboxSearchtips();

gvJobs.DataSource = ds;
gvJobs.DataBind();
// }
}
}

14.2(ASPX)

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="student_tips.aspx.cs"Inherits="student_tips"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


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

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Tips for Students</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">Students tips</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<%--<li><a href="new_review_complaint.aspx">Review/complaint</a></li>
<li><a href="notes_download.aspx">Notes download</a></li>--%>
<li><ahref="reviewdisplay.aspx">Reviews</a></li>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About Project</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
STUDENTS MIRROR <strong></strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<asp:PanelID="Panel19"runat="server">
<h4><fontcolor="white">STUDENT TIPS</font></h4>
<hr/>
<asp:GridViewID="gvJobs"runat="server"AutoGenerateColumns="false"
GridLines="None"ShowHeader="False"Width="1000px">
<Columns>
<asp:TemplateFieldItemStyle-Font-Size="Large">
<ItemTemplate>
<%--<asp:Panel ID="pnltotal" runat="server" >
<%--<div style="background-color: ThreeDShadow;">--%>
<%-- <asp:Panel ID="pnlhead" runat="server" >--%>
---------------------------------------------------------------------------
<table>
<tr>
<td>
<asp:LabelID="lbltitle"Font-Bold="true"Font-Size="14"
runat="server"><%# Eval("tips")%></asp:Label>
</td>

</tr>
</table>

</ItemTemplate>
</asp:TemplateField>
</Columns>

</asp:GridView>

</asp:Panel>
<hr/>

</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

15.STUDENT REGISTRATION PAGE


15.1(ASPX.CS)

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net.Mail;
using System.IO;
using System.Net;

using System.Text.RegularExpressions;

publicpartialclasspreview_dotnet_templates_registration_Form_index : System.Web.UI.Page
{
BAL bal = newBAL();
protectedvoid Page_Load(object sender, EventArgs e)
{

}
protectedvoid btnSubmit_Click(object sender, EventArgs e)
{
if (IsValidEmailId(txtemail.Text))
{
bal.Creat_User(txtemail.Text, txtpassword.Text, txtaddress.Text, rdbgender.SelectedItem.Text,
ddlcountry.SelectedItem.Text);
SendEmail();
Response.Write("Registered.....Password sent to the mail_id.....");

}
else
{
Response.Write(" is not valid email");
}

}
protectedvoid SendEmail()
{

MailMessage mm = newMailMessage("krishnac.aldi@gmail.com", txtemail.Text);


{
string s="Welcome To Students Mirror";
string b=" Thank You for registering ! Your Password is :'" + txtpassword.Text +" '" ;
mm.Subject = s;
mm.Body = b;
mm.IsBodyHtml = false;
SmtpClient smtp = newSmtpClient();
smtp.Host = "smtp.gmail.com";
smtp.EnableSsl = true;
NetworkCredential NetworkCred = newNetworkCredential("vishwas.2617@gmail.com", "vishwa9916");
smtp.UseDefaultCredentials = true;
smtp.Credentials = NetworkCred;
smtp.Port = 587;

smtp.Send(mm);
ClientScript.RegisterStartupScript(GetType(), "alert", "alert(Registered Sucessfully.....Password sent to
the mail_id.');", true);
}
}

privatebool IsValidEmailId(string InputEmail)

{
//Regex To validate Email Address
Regex regex = newRegex(@"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$");
Match match = regex.Match(InputEmail);
if (match.Success)
returntrue;
else
returnfalse;
}

15.2(ASPX)

<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="index.aspx.cs"Inherits="preview_dotnet_template
s_registration_Form_index"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9 oldie" lang="en"><![endif]-->
<metacharset="utf-8">
<!-- Set the viewport width to device width for mobile -->
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>Student Registration</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">WELCOME TO STUDENTS MIRROR</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<%--<li><a href="new_review_complaint.aspx">Review/complaint</a></li>
<li><a href="notes_download.aspx">Notes download</a></li>--%>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="Default.aspx">About Project</a></li>
</ul>
</div>
</div>
</div>
<divclass="container">
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center">
<divid="banner">
<h1>
<strong>STUDENTS MIRROR</strong></h1>
<h5>
<strong></strong></h5>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">
<fieldset>
<legend>Registration Form <iclass="fa fa-pencil pull-right"></i></legend>
<divclass="form-group">
<asp:LabelID="Label1"runat="server"Text="Email"CssClass="col-lg-2 control-label"></asp:Label>
<divclass="col-lg-10">
<asp:TextBoxID="txtemail"runat="server"placeholder="Email"CssClass="form-control"></asp:TextBox>
</div>
</div>
<divclass="form-group">
<asp:LabelID="Label2"runat="server"Text="Password"CssClass="col-lg-2 control-label"></asp:Label>
<divclass="col-lg-10">
<asp:TextBoxID="txtpassword"runat="server"placeholder="Password"CssClass="form-control"
TextMode="Password"></asp:TextBox>
<%-- <div class="checkbox">
<label>
<asp:CheckBox ID="CheckBox1" runat="server" Text="Remember Me" />
</label>
</div>--%>
</div>
</div>
<divclass="form-group">
<asp:LabelID="Label3"runat="server"Text="Address"CssClass="col-lg-2 control-label"></asp:Label>
<divclass="col-lg-10">
<asp:TextBoxID="txtaddress"runat="server"TextMode="MultiLine"Rows="3"CssClass="form-control"></
asp:TextBox>
</div>
</div>
<divclass="form-group">
<asp:LabelID="Label4"runat="server"Text="Gender"CssClass="col-lg-2 control-label"></asp:Label>
<divclass="col-lg-10">
<divclass="radio">
<label>
<asp:RadioButtonListID="rdbgender"runat="server">
<asp:ListItemSelected="True">Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:RadioButtonList>
</label>
</div>
</div>
</div>
<divclass="form-group">
<asp:LabelID="Label5"runat="server"Text="Country"CssClass="col-lg-2 control-label"></asp:Label>
<divclass="col-lg-10">
<asp:DropDownListID="ddlcountry"runat="server"CssClass="form-control ddl">
<asp:ListItem>INDIA</asp:ListItem>
<asp:ListItem>USA</asp:ListItem>
<asp:ListItem>UK</asp:ListItem>
</asp:DropDownList>
</div>
</div>
<divclass="form-group">
<divclass="col-lg-10 col-lg-offset-2">
<asp:ButtonID="btnSubmit"runat="server"CssClass="btn btn-primary"
Text="Submit"onclick="btnSubmit_Click"/>
<asp:ButtonID="btnCancel"runat="server"CssClass="btn btn-warning"Text="Cancel"/>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';

/* ========================== */
/* ::::::: Backstrech ::::::: */
/* ========================== */
// You may also attach Backstretch to a block-level element
$.backstretch(
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>

16.ABOUT PROJECT

16.1(ASPX.CS)

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;

using System.Collections.Generic;

using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Net;
using System.Net.Mail;

publicpartialclass_Default : System.Web.UI.Page
{

protectedvoid Page_Load(object sender, EventArgs e)


{
//lblname.Text = "Welcome to FreeDial Job Portal ! Mr . " + Session["UserId"];
//ErrorMessage.Text = string.Empty;
}

16.2(ASPX)

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default.aspx.cs"Inherits="_Default"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0


Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">
<headid="Head1"runat="server">
<metaname="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<metaname="description"content="Coming soon, Bootstrap, Bootstrap 3.0, Free Coming Soon, free coming
soon, free template, coming soon template, Html template, html template, html5, Code lab, codelab, codelab
coming soon template, bootstrap coming soon template">
<title>EE</title>
<!-- ============ Google fonts ============ -->
<linkhref='http://fonts.googleapis.com/css?family=EB+Garamond'rel='stylesheet'
type='text/css'/>
<linkhref='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,800'
rel='stylesheet'type='text/css'/>
<!-- ============ Add custom CSS here ============ -->
<linkhref="css/bootstrap.min.css"rel="stylesheet"type="text/css"/>
<linkhref="css/style.css"rel="stylesheet"type="text/css"/>
<linkhref="css/font-awesome.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<formid="form1"runat="server">
<divid="custom-bootstrap-menu"class="navbar navbar-default "role="navigation">
<divclass="container">
<divclass="navbar-header">
<aclass="navbar-brand"href="#">Education Expo</a>
<buttontype="button"class="navbar-toggle"data-toggle="collapse"data-target=".navbar-menubuilder">
<spanclass="sr-only">Toggle navigation</span><spanclass="icon-bar"></span><span
class="icon-bar"></span><spanclass="icon-bar"></span>
</button>
</div>
<divclass="collapse navbar-collapse navbar-menubuilder">
<ulclass="nav navbar-nav navbar-right">
<li><ahref="HOMEPAGE.aspx">Home</a></li>
<li><ahref="collegesearchpage.aspx">College Search</a></li>
<li><ahref="student_tips.aspx">Student tips</a></li>
<li><ahref="reviewdisplay.aspx">Reviews</a></li>
<li><ahref="Default.aspx">About Project</a></li>
</ul>
</div>
</div>
</div>
<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<divclass="registrationform">
<divclass="form-horizontal">

<asp:ImageMapID="ImageMap1"runat="server"ImageUrl="~/img/2016-03-30-22-21-34-138.jpg"
Width="580px"Height="600">
</asp:ImageMap>

</div>
<h4><fontcolor="white"> Developed by VISHWANATH S and Harsha Vardhan V</font></h4>

</div>
</div>

<divclass="col-lg-6 col-md-6 col-sm-6 col-xs-12">


<divclass="registrationform">
<divclass="form-horizontal">

<table>
<tr>
<td>

</td>
</tr>
</table>
<hr/>

<table>
<tr>
<td>
<asp:LabelID="Label1"runat="server"ForeColor="White"Font-Size="18"Width="300px">ABOUT
PROJECT</asp:Label>
</td>
</tr>
</table>
<hr/>
<p>

“Education Expo” is an online student oriented project which mainly help the students for selecting
and obtaining admissions in proper college in a new environment(Bangalore).

This project provides information to the students regarding the college information including the name of the
college,courses offered ,fee structure based on searching key as an area in Bangalore.It is specially implemented
to cover up all the colleges of Bangalore and also provides contact information and students notes based on
different combinations available and also it provides tips for examinations.This project provides the facilities to
the professors of all colleges in Bangalore to register their information and upload the notes on the basis of
subjects for students.Also contains the reviews about organisations.

</p>

</div>
</div>
</div>
<scriptsrc="js/jquery.js"type="text/javascript"></script>
<scriptsrc="js/bootstrap.min.js"type="text/javascript"></script>
<scriptsrc="js/jquery.backstretch.js"type="text/javascript"></script>
<scripttype="text/javascript">
'use strict';
[
"img/44.jpg",
"img/colorful.jpg",
"img/34.jpg",
"img/images.jpg"
],

{
duration: 4500,
fade: 1500
}
);
</script>
</form>
</body>
</html>
5. Screen shots
6. Testing
6.1 SYSTEM TESTING
The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the
functionality of components, subassemblies, assemblies and/or a finished product It is
the process of exercising software with the intent of ensuring that the proper system.

Software system meets its requirements and user expectations and does not fail in an
unacceptable manner. There are various types of test. Each test type addresses a
specific testing requirement.

6.1 TYPES OF TESTS


6.1.1 Unit testing

Unit testing involves the design of test cases that validate that the internal program
logic is functioning properly, and that program inputs produce valid outputs. All
decision branches and internal code flow should be validated. It is the testing of
individual software units of the application .it is done after the completion of an
individual unit before integration. This is a structural testing, that relies on knowledge
of its construction and is invasive. Unit tests perform basic tests at component level and
test a specific business process, application, and/or system configuration. Unit tests
ensure that each unique path of a business process performs accurately to the
documented specifications and contains clearly defined inputs and expected results.

6.1.2 Integration testing

Integration tests are designed to test integrated software components to determine if


they actually run as one program. Testing is event driven and is more concerned with
the basic outcome of screens or fields. Integration tests demonstrate that although the
components were individually satisfaction, as shown by successfully unit testing, the
combination of components is correct and consistent. Integration testing is specifically
aimed at exposing the problems that arise from the combination of components.

6.1.3 Functionaltest
Functional tests provide systematic demonstrations that functions tested are available
as specified by the business and technical requirements, system documentation, and
user manuals.

Functional testing is centred on the following items:

Valid Input: identified classes of valid input must be accepted.

Invalid Input: identified classes of invalid input must be rejected.

Functions: identified functions must be exercised.

Output : identified classes of application outputs must be exercised.

Systems/Procedures: interfacing systems or procedures must be invoked.

Organization and preparation of functional tests is focused on requirements, key


functions, or special test cases. In addition, systematic coverage pertaining to identify
Business process flows; data fields, predefined processes, and successive processes
must be considered for testing. Before functional testing is complete, additional tests
are identified and the effective value of current tests is determined.

6.1.4 System Test


System testing ensures that the entire integrated software system meets requirements. It
tests a configuration to ensure known and predictable results. An example of system
testing is the configuration oriented system integration test. System testing is based on
process descriptions and flows, emphasizing pre-driven process links and integration
points.

6.2 TESTING TECHNIQUES


6.2.1 White Box Testing
White Box Testing is a testing in which in which the software tester has
knowledge of the inner workings, structure and language of the software, or at least its
purpose. It is purpose. It is used to test areas that cannot be reached from a black box
level.

6.2.2 Black Box Testing


Black Box Testing is testing the software without any knowledge of the inner workings,
structure or language of the module being tested. Black box tests, as most other kinds of
tests, must be written from a definitive source document, such as specification or
requirements document, such as specification or requirements document. It is a testing
in which the software under test is treated, as a black box .you cannot “see” into it. The
test provides inputs and responds to outputs without considering how the software
works.

6.3 UNIT TESTING


Unit testing is usually conducted as part of a combined code and unit test phase of the
software lifecycle, although it is not uncommon for coding and unit testing to be
conducted as two distinct phases.

Test strategy and approach

Field testing will be performed manually and functional tests will be written in detail.

Test objectives
All field entries must work properly.
Pages must be activated from the identified link.
The entry screen, messages and responses must not be delayed.
Features to be tested
Verify that the entries are of the correct format
No duplicate entries should be allowed
All links should take the user to the correct page.

6.4 INTEGRATION TESTING


Software integration testing is the incremental integration testing of two or more
integrated software components on a single platform to produce failures caused by
interface defects.
The task of the integration test is to check that components or software
applications, e.g. components in a software system or – one step up – software
applications at the company level – interact without error.

Test Results: All the test cases mentioned above passed successfully. No defects
encountered.

6.5 ACCEPTANCE TESTING


User Acceptance Testing is a critical phase of any project and requires
significant participation by the end user. It also ensures that the system meets the
functional requirements.

Test Results: All the test cases mentioned above passed successfully. No defects
encountered.

6.6 TEST CASES


Test cases can be divided in to two types. First one is Positive test cases and second one
is negative test cases. In positive test cases are conducted by the developer intention is
to get the output. In negative test cases are conducted by the developer intention is to
don’t get the output.

6.6.1 Positive Test Cases


S Test case Actual value Expected value Result
. Description

No

1 User Registration Enter Correct Enter All user True


Login id , Information Should
Password, Location be Valid
and Mail Id

2 Enter LoginId and Enter Correct LoginID and True


Password Login ID and Password Should be
Password valid

3 Create The Cloud Name of the file, Enter All True


Server port no, Virtual Information Should
IP ,index be Valid

Port and Region

4 Create User Search Create Form It should be Perform True


Form any no of Users

5 Upload the File to Select Text File by Only text files are True
Cloud server the data owner mandatory

6.6.2 Negative Test Cases

S . Test case Actual value Expected Result


No Description value

1 User Registration Enter Correct Enter All user False


Loginid , Information Should
Password, not be Valid
Location and
MailId

2 Enter LoginId and Enter Correct Login ID and False


Password Login ID and Password Should be
Password not valid

3 Create The Cloud Name of the file, Enter All False


Server port no, Virtual Information not
IP, index Should be Valid

Port and Region

4 Create User Create Form It should not be False


Search Form Perform any number
of Users

5 Upload the File to Select Text File Only text files False
Cloud server by the data owner are not given

7. Conclusion and Future


Enhancement

7.1 Conclusion
The total span of the project during which we got a chance to contribute to this development was 4
months. We were involved in the various aspects of the system development i.e., system study,
analysis and other developments phases to have better understanding of the project.

In the limited period of time, we have not dedicated as much time as we would have
wanted to spend on this project. Despite all limitation, this project gave us an opportunity to
understand and learn the various activities related to software development life cycle.

It was a good opportunity for us to learn about the various phases in depth, by means of
documents, System study and interaction with system users and clarification of doubts with the
guides.

7.2 Future Enhancement


The project “Education Expo” gives much scope for further enhancement such as

 The project has a huge potential for expansion with 3D images .


 We can make the GUI much more clear and interactive by customization.
 We can make this application globally unique by providing integrated information of each
institution with the use of large database and powerful web browsers.

8. Bibliography
 Visual studio: https://en.wikipedia.org/wiki/Microsoft_Visual_Studio
 Oracle database: https://en.wikipedia.org/wiki/Oracle_Database
 C#:Andrew Troelsen: Pro C# with .Net 3.0, 4th Edition, Wiley India, 2009.
 Herbert Schildt: C# the complete reference, Tata McGraw Hill, 2004.
 Matthew MacDonald: Pro ASP.Net 4 in C# 2010

You might also like