Professional Documents
Culture Documents
Online Amusement Park Booking Management
Online Amusement Park Booking Management
Online Amusement Park Booking Management
1. INTRODUCTION
1.1 Introduction
2. SYSTEM STUDY
4. DESIGN
5. SYSTEM IMPLEMENTATION
5.1 Introduction
6. TESTING
7. SAMPLE SCREENSHOTS
8. CONCLUSION
8.2 Appendix
9. BIBLOGRAPHY
1.INTRODUCTION
1.1 Introduction
1.2 Objective
2. SYSTEM ANALYSIS
2.3 Modules
3. REQUIREMENT
3.1 Software Requirements
Front End : Microsoft Visual studio 2008(ASP.NET)
Back End: Oracle 11G
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.
Storage: 50 GB/above
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
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
• Accuracy
• Integrity
ER Diagram
2. LOGIN TABLE
3. REVIEW TABLE
4. PROFESSOR REGISTRATION TABLE
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
{
1.2(ASPX)
@PageLanguage="C#"AutoEventWireup="true"CodeFile="HOMEPAGE.aspx.cs"Inherits="HOMEPAGE"%>
<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"%>
<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>
<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.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();
// 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.");
// }
// }
// }
// string area;
// area = cbcourse.SelectedItem.Text;
// ds = bal.search1(area);
// gvJobs.DataSource = ds;
// gvJobs.DataBind();
// Response.Write("hi:");
// gvJobs.Visible = true;
// }
//}
protectedvoid BindData()
{
gvJobs.DataSource = ds;
gvJobs.DataBind();
// }
}
privatevoid FillDropDownList_area()
{
OleDbConnection con =
newOleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings["jobportal"].ToString())
;
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())
;
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())
;
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();
}
}
catch (Exception ex)
{
//error.Text = ex.Message;
}
}
}
}
4.2(ASPX)
<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="collegesearchpage.aspx.cs"Inherits="collegesearc
hpage"%>
<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" />
</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.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))
{
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.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))
{
}
}
}
6.2(ASPX)
<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="new_review_complaint.aspx.cs"Inherits="new_re
view_complaint"%>
<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.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 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"%>
<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.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 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"%>
<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.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;
9.2(ASPX)
<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="pfnotesupload.aspx.cs"Inherits="pfnotesupload"
%>
<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.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 BindData1()
{
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;
10.2(ASPX)
<
%@PageLanguage="C#"AutoEventWireup="true"CodeFile="notesdownload2.aspx.cs"Inherits="notesdownloa
d2"%>
<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>
<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.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())
;
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"
%>
<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" />
</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.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"%>
<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"%>
<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.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();
ds = bal.TextboxSearchtips();
gvJobs.DataSource = ds;
gvJobs.DataBind();
// }
}
}
14.2(ASPX)
<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="student_tips.aspx.cs"Inherits="student_tips"%>
<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>
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()
{
smtp.Send(mm);
ClientScript.RegisterStartupScript(GetType(), "alert", "alert(Registered Sucessfully.....Password sent to
the mail_id.');", true);
}
}
{
//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"%>
/* ========================== */
/* ::::::: 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
{
16.2(ASPX)
<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default.aspx.cs"Inherits="_Default"%>
<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>
<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.
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.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.
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.
Test Results: All the test cases mentioned above passed successfully. No defects
encountered.
Test Results: All the test cases mentioned above passed successfully. No defects
encountered.
No
5 Upload the File to Select Text File by Only text files are True
Cloud server the data owner mandatory
5 Upload the File to Select Text File Only text files False
Cloud server by the data owner are not given
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.
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