Professional Documents
Culture Documents
SUBMITTED AT
SHRI JAIN KANYA P.G. MAHADHYALYA, BIKANER
AFFILIATED TO
MAHARAJA GANGA SINGH UNIVERSITY, BIKANER
1
2
ACKNOWLEDGEMENT
Student signature
3
CERTIFICATE
Principal
Date Shree Jain Kanya P.G. Mahavidhyalya,
Bikaner
4
CERTIFICATE
TABLE OF CONTENTS
Team Structure
Development schedule
( Screens)
Future recommendations
8 Source code 26
9 Requirement Specificaton 136
10 Bibliography 139
6
P For Planning: - Planning is the most to start a work of scheme. If planning is good any
impressive half work is done.
R for Reliable: - Practical & theory vertical material & able guidance & assistance are
achieved from different source to prompt the function of planning area.
J for Join Efforts: - join efforts are much necessary for programming and result and
project many times some problems as books etc. are solved from external source.
E for Economic Time Feasibility: - It is important that the planned scheme is how
much economic time feasible. It is must to analyze estimate for complain of the project.
C for Construction: - After analyzing the program complete project report work is done
to give logical existence of planned scheme.
T for Testing: - Programmer is done before submitting the project after the gadget is ok for
use.
8
A. Overview
B. System Development Phases
a. Information Planning
b. Requirement Gathering And Analysis
c. Design
d. Coding
e. Testing
C. Feasibility Study
a. Technology Feasibility
b. Economic Feasibility
c. Legal Feasibility
d. Operational Feasibility
e. Schedule Feasibility
f. Market and Real State Feasibility
g. Resource Feasibility
h. Cultural Feasibility
A. Overview:-
Systems Development Life Cycle (SDLC) is any logical process used by a systems
analyst to develop an information system, including requirements, validation, training, and
user ownership. A SDLC should result in a high quality system that meets or exceeds
customer expectations, reaches completion within time and cost estimates, works effectively
and efficiently in the current and planned Information Technology infrastructure, and is
inexpensive to maintain and cost-effective to enhance.
between 4 and 7. There is no definitively correct Systems Development Life Cycle model,
but the steps can be characterized and divided in several steps.
a. Information Planning:-
To generate a high-level view of the intended project and
determine the goals of the project. The feasibility study is sometimes used to
present the project to upper management in an attempt to gain funding.
Projects are typically evaluated in three areas of feasibility: economical,
operational, and technical.
c. Design:-
In systems design functions and operations are described in detail,
including screen layouts, business rules, process diagrams and other
documentation. The output of this stage will describe the new system as a
collection of modules or subsystems.
d. Coding:-
Modular and subsystem programming code will be accomplished
during this stage. Unit testing and module testing are done in this stage by the
developers. This stage is intermingled with the next in that individual modules
will need testing before integration to the main project. Planning in software life
cycle involves setting goals, defining targets, establishing schedules, and
estimating budgets for an entire software project.
e. Testing:-
The code is tested at various levels in software testing. Unit,
system and user acceptance testing are often performed. This is a grey area as
many different opinions exist as to what the stages of testing are and how much if
any iteration occurs. Iteration is not generally part of the waterfall model, but
usually some occurs at this stage.
10
C. Feasibility Study:-
b. Economic feasibility:-
Economic analysis is the most frequently used method for
evaluating the effectiveness of a new system. More commonly known as cost/benefit
analysis, the procedure is to determine the benefits and savings that are expected from a
candidate system and compare them with costs. If benefits outweigh costs, then the
decision is made to design and implement the system.
Legal feasibility:-
Determines whether the proposed system conflicts with legal
requirements, e.g. a data processing system must comply with the local Data Protection
Acts.
Operational feasibility:-
Is a measure of how well a proposed system solves the problems,
and takes advantages of the opportunities identified during scope definition and how it
satisfies the requirements identified in the requirements analysis phase of system
development.
c. Schedule feasibility:-
A project will fail if it takes too long to be completed before it is
useful. Typically this means estimating how long the system will take to develop, and if it can
be completed in a given time period using some methods like payback period. Schedule
feasibility is a measure of how reasonable the project timetable is. Given our technical
11
expertise, are the project deadlines reasonable? Some projects are initiated with specific
deadlines.
e. Resource feasibility:-
This involves questions such as how much time is available
to build the new system, when it can be built, whether it interferes with normal business
operations, type and amount of resources required, dependencies, etc. Contingency and
mitigation plans should also be stated here.
f. Cultural feasibility:-
In this stage, the project's alternatives are evaluated for their
impact on the local and general culture. For example, environmental factors need to be
considered and these factors are to be well known. Further an enterprise's own culture can
clash with the results of the project.
12
System requirements:-
HARDWARE REQUIREDMENT:-
RAM 512 MB
HARDDISK 97gb
SOFTWARE REQUIREMENT :-
Web server IIS 7.5
Framework .NET 4.0 with c#
Database Server SQL Server 2008
Web browser Chrome
Project plan
Team Structure
Surbhi Maheshwari
Development schedule
1) Synopsis-August 2017
2) G.U.I-September-2017
3) Designing-November-2017
14
4) Database Connectivity-January-2018
Programming lang. and development tools (front end and back end
languages)
1) Front end : Asp.net 4.0
2) Back end : MS Sql Server
INTRODUCTION TO FRONT END APPLICATION:
ASP.NET-
i. Overview-
.NET framework is an essential component of the windows operating system,
which helps in creating applications by integrating different programming
languages, such as c#, Visual Basic, j#, Visual C++. This framework consists of a
virtual execution system called the common language Runtime (CLR) and a set of
class libraries. CLR is a Microsoft product of the common language Infrastructure
(CLI), which are an international standard and a basis for creating execution and
development environments in which language and libraries work together.
Microsoft introduced .NET to bridge the gap and ensure interoperability
between applications created in different languages. The .NET framework is used
to integrate the business logic of an application implemented in various
programming languages and services.
ii. History-
Earlier java was gaining popularity because of its platform-independent
approach. Later Microsoft released the first version of .NET framework 1.0 on Feb.
13, 2002 IDE. The second revised version of .NET took nearly a year to release and
was known as .NET Framework 1.1 Microsoft Visual Studio .NET, better known as
Visual Studio .NET 2003, was also a part of the second release. The next version
of .NET framework, .NET framework 2.0, was released with Visual Studio.NET 2005
on November 07, 2005. .NET Framework 3.0, formerly called WinFX, was then
15
released on November 06, 2006. FRAMEWORK 3.5, was released with Visual Studio
.NET 2008 on November 19, 2007.
iii. Features-
ASP.NET is not just a simple upgrade or the latest version of ASP. ASP.NET
combines unprecedented developer productivity with performance, reliability, and
deployment. Below are the features of ASP.NET.
a) Easy Programming Model- ASP.NET makes building real world Web
applications dramatically easier. ASP.NET server controls enable an HTML-like style
of declarative programming that let you build great pages with far less code than with
classic ASP.
b) Flexible Language Options - ASP.NET lets you leverage your current
programming language skills. Unlike classic ASP, which supports only interpreted
VBScript and JScript, ASP.NET now supports more than 25 .NET languages (built-in
support for VB.NET,
C#, and JScript.NET), giving you unprecedented flexibility in your choice of
language.
c) Great Tool Support – We can harness the full power of ASP.NET using any text
editor, even Notepad. The Enterprise versions of Visual Studio .NET deliver life-cycle
features to help organizations plan, analyze, design, build, test, and coordinate teams
that develop ASP.NET Web applications.
d) Rich Class Framework – Application features that used to be hard to
implement, or required a 3rd-party component, can now be added in just a few lines
of code using the .NET Framework. The .NET Framework offers over 4500 classes
that encapsulate rich functionality like XML, data access, file upload, transactions,
message queuing, SMTP mail, and much more.
e) Compiled execution- ASP.NET is much faster than classic ASP, while
preserving the "just hit save" update model of ASP.ASP.NET will automatically detect
any changes, dynamically compile the files if needed, and store the compiled results
to reuse for subsequent requests.
f) Rich output caching – ASP.NET output caching can dramatically improve
the performance and scalability of your application. When output caching is enabled
on a page, ASP.NET executes the page just once, and saves the result in memory in
16
addition to sending it to the user. When another user requests the same page,
ASP.NET serves the cached result from memory without re-executing the page.
g) Web-Farm Session State – ASP.NET session state lets you share session data
user-specific state values across all machines in your Web farm. Now a user can hit
different servers in the Web farm over multiple requests and still have full access to
her session. Framework are free-threaded, you no longer need to worry about thread
affinity.
h) Easy Deployment – ASP.NET takes the pain out of deploying server
applications. "No touch" application deployment. ASP.NET dramatically simplifies
installation of your application. With ASP.NET, you can deploy an entire application
as easily as an HTML page; just copy it to the server.
i) Dynamic update of running application – ASP.NET update compiled
components without restarting the web server. In the past with classic COM
components, the developer would have to restart the web server each time he
deployed an update. With ASP.NET, you simply copy the component over the
existing DLL; ASP.NET will automatically detect the change and start using the new
code.
iv. Design Goals-
C# is intended to be a simple, modern, general-purpose, object-oriented programming
language. Because software robustness, durability and programmer productivity are
important, the language should include strong type checking, array bounds checking,
and detection of attempts to use uninitialized variables, code portability, and
automatic garbage collection. The language is intended for use in developing software
components that can take advantage of distributed environments. Programmer
portability is very important, especially for those programmers already familiar with
C and C++.
Server Management Studio uses .NET Sqlclient to execute Sqlcmd script, this can
lead to different results in certain cases. (If you have an example of this, please let me
know. I will post it here.)Sqlcmd is an enhanced version of the isql and osql and it
provides way more functionality than the other two options. In other words, Sqlcmd is
a better replacement of isql (which will be deprecated eventually) and osql (not
included in SQL Server 2008 RTM). Sqlcmd can work two modes:
*Batch
*interactive
Indexes and Partitioning
Database administrators are familiar with hard drive partitioning, and database
partitioning is the same concept. Partitioning a database segments several parts of the
table object. This makes sorting and accessing table information when retrieving the
data using a SQL query easier. Indexes also help sort the table information. Indexes
are placed on a table column. They are used on commonly queried columns, so each
time the user retrieves information, the database can quickly find the information.
Both these SQL Server 2008 attributes facilitate faster queries and less wait time for
the user when search information from an application.
Backups and Mirroring
Backups are an essential part of any database management. Backups save the tables,
stored procedures and security information in case of an emergency. Backups are a
part of disaster recovery, which restores database information quickly and reduces the
amount of downtime after a hard drive crash or computer failure. Mirroring backups
is a part of SQL Server 2008. Mirroring backups provides administrators with the
tools needed to backup information across several media devices. Administrators can
automate backups and set them to store to external devices such as an external hard
drive, CD-ROM, DVD or even a network drive.
Scalability
SQL Server 2008 is able to scale with a business's computer hardware needs.
Scalability means the database is able to support business growth, including
expanding hardware design on the network. The SQL Server 2008 database software
is able to support older computer hardware, and it works well with newer hardware
designs. This means the business does not need to upgrade even when buying brand
new server computers. SQL Server 2008 supports 32-bit and 64-bit server operating
18
systems. Additionally, the SQL Server 2008 software requires fewer reboots, so
changes to the software architecture do not need to bring down the server during core
business hours.
Design
Detailed DFD’s and structure diagram
1.Overview
2. Symbols
3. Physical Data Flow Diagram
4. Logical Data Flow Diagram
Arrows or dataflow: - It shows the direction in which particular data is moving e.g.
Open ended boxes or data store: - The destination where the processed input
data is to be store is known as the data store e.g.
Square or external entities: - The entities which are not a part of the System
organization e.g.
19
Logical data flow diagram: - This is based on the requirements of the currently
existing system or it represents the newly proposed system.There are seven rules
govern construction data flow diagram:
(1) Arrows should not cross each other.
(2) Squares, circles and file must bear names.
(3) Decomposed data flow must be balanced.
(4) No two data flows, squares or circle can have the same name.
(5) Draw all data flows around the outside of the diagram.
Choose the meaningful names of data flows, processes and data store. Use strong
verbs followed by nouns
an overall database system. Principally, and most correctly, it can be thought of as the logical
design of the base data structures used to store the data. In the relational model these are the
tables and views. In an object database the entities and relationships map directly to object
classes and named relationships.
2. Design Process:-
The process of doing database design generally consists of a number of steps which will be
carried out by the database designer. Not all of these steps will be necessary in all cases.
Usually, the designer must:
Determine the relationships between the different data elements
Superimpose a logical structure upon the data on the basis of these relationships.
Within the relational model the final step can generally be broken down into two further steps
that of determining the grouping of information within the system, generally determining
what are the basic objects about which information is being stored, and then determining the
relationships between these groups of information, or objects. This step is not necessary with
an Object database.The tree structure of data may enforce a hierarchical model organization,
with a parent-child relationship table. An Object database will simply use a one-to-many
relationship between instances of an object class. It also introduces the concept of a
hierarchical relationship between object classes, termed inheritance.
Database Tables:-
Project Legacy
Current status of project:-
24
In our project customer can reserve hotel rooms. User can check the status
of rooms and facilities. The administrator will know the details of the reservations.
Administrator can maintain daily updates in the hotel records. Administrator is must bean authorized
user. He can further change the password. There is the facility for passwordrecovery, logout etc.
Source code:-
Master Page:-
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs"
Inherits="MasterPage" %>
26
}
/* Dropdown button */
.dropdown .dropbtn {
font-size: 15px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
}
/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
background-color:transparent;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
display: none;
position: absolute;
background-color:Maroon;
min-width: 80px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;}
/* Links inside the dropdown */
.dropdown-content a {
float: none;
color: black;
padding: 12px 12px;
text-decoration: none;
display: block;
text-align: left;
}
background-color:Maroon;
}
.image {
display: block;
width: 100%;
height: 90px;
}
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
.container:hover .overlay {
opacity: 1;
}
29
.text {
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
</style>
<script language="javascript" type="text/javascript">
</script>
</head>
<body id="page1" onload="new ElementMaxHeight();">
<div id="main">
<!-- header -->
<div id="header">
<div class="row-1">
<div class="wrapper">
<div class="logo">
<h1><a href="#">Five Star</a></h1>
<em>Hotel</em> <strong>True Luxury</strong> </div>
<div class="phones"> 1-800-412-45-56<br />
1-800-542-64-48 </div>
</div>
</div>
<div class="row-2">
<div class="indent">
<!-- header-box begin -->
<div class="header-box">
<div class="inner">
<ul class="nav">
<li><a href="home.aspx">Home page</a></li>
30
<li><a href="services.aspx">Services</a></li>
<li><a href="gallery.aspx">Gallery</a></li>
<li class="dropdown"><a href="#">Log-In</a>
<ul class="dropdown-content">
<li> <a href="ulogin.aspx">User Login</a></li>
<li><a href="alogin.aspx">Admin Login</a></li>
</ul></li>
<li><a href="feedback.aspx">Feedback</a></li>
<li><a href="contact.aspx">Contact us</a></li>
<li><a href="aboutus.aspx">About Us</a></li>
</ul>
</div>
</div>
<!-- header-box end -->
</div>
</div>
</div>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
<div id="footer">
<ul class="nav">
<li><a href="home.aspx">Home</a>|</li>
<li><a href="services.aspx">Services</a>|</li>
<li><a href="gallery.aspx">Gallery</a>|</li>
<li><a href="alogin.aspx">Admin Login</a>|</li>
<li><a href="ulogin.aspx">User Login</a></li>
<li><a href="reg.aspx">Register</a></li>
</ul>
<div class="wrapper">
<div class="fleft">
31
Home.aspx page
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="home.aspx.cs" Inherits="home" %>
</div>
<div class="field">
<label>Check Out:</label>
<asp:TextBox ID="TextBox1" runat="server" ReadOnly="True"/>
</div>
<div class="field"> Persons:
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>Select Person</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Plzz enter NO. OF person"
ControlToValidate="DropDownList1"></asp:RequiredFieldValidator><br /><br/>
Rooms:
<asp:DropDownList ID="DropDownList2" runat="server">
33
<h3>Special Offers</h3>
<ul>
<li>FREE wide-screen TV</li>
<li>50% Discount for Restaraunt service</li>
<li>30% Discount for 3 days+ orders</li>
<li>FREE drinks and beverages in rooms</li>
<li>Exclusive souvenirs</li>
</ul>
<div class="button"><span><span><a href="#">Order Now!
</a></span></span></div>
</div>
<div class="col-2">
<h3>Location</h3>
<p>We are located in the center of Prague surrounded by malls and boutiques.</p>
<dl class="contacts-list">
<dt>Gazek st., 210</dt>
<dd>1-800-412-4556</dd>
<dd>1-800-542-6448</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>
Home.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
35
using System.Web.UI.WebControls;
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
Calendar1.Visible = true;
}
protected void Calendar1_SelectionChanged1(object sender, EventArgs e)
{
TextBox3.Text = Calendar1.SelectedDate.ToShortDateString();
Calendar1.Visible = false;
}
protected void Calendar2_SelectionChanged1(object sender, EventArgs e)
{
TextBox1.Text = Calendar1.SelectedDate.ToShortDateString();
Calendar2.Visible = false;
}
protected void ImageButton2_Click(object sender, ImageClickEventArgs e)
{
Calendar2.Visible = true;
}
protected void Button1_Click(object sender, EventArgs e)
{
if (Page.IsValid)
{
Response.Redirect("ulogin.aspx");
}
}
}
36
Style.css
* { margin:0; padding:0;}
html, body { height:100%;}
body { background:url(images/body-bg.gif) center top #37271c; font-family:Tahoma,
Geneva, sans-serif; font-size:100%; line-height:1.125em; color:#bca695;}
.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}
.alignright { text-align:right;}
.aligncenter { text-align:center;}
p { margin-bottom:18px;}
/*==================forms====================*/
input, select { vertical-align:middle; font-weight:normal;}
img {border:0; vertical-align:top; text-align:left;}
object { vertical-align:top; outline:none;}
/*==================list====================*/
ul { list-style:none;}
/*==================other====================*/
.img-indent { margin:0 10px 0 -8px; float:left;}
.img-indent.alt { margin-right:25px;}
.img-box { width:100%; overflow:hidden; padding-bottom:20px;}
.img-box img { float:left; margin:0 20px 0 0;}
.extra-wrap { overflow:hidden; }
.p1 { margin-bottom:9px;}
.p2 { margin-bottom:18px;}
.p3 { margin-bottom:27px;}
.alt-top { padding-top:9px;}
.txt1 { font-size:.91em;}
.txt2 { color:#c30000; font-size:1.33em; text-transform:uppercase;}
/*footer*/
#footer { font-family:Arial, Helvetica, sans-serif; padding:28px 40px 35px 40px;}
#footer a { color:#e3dad2;}
#footer .nav { text-align:center; padding-bottom:25px;}
#footer .nav li { display:inline;}
#footer .nav li a { padding:0 48px 0 45px; color:#e3dad2;}
/*==========================================*/
42
Layout.css
/*=========================*
Ie_png.js
var ie_png = {
ns: 'ie_png',
imgSize: {},
43
readPropertyChange: function() {
var el = event.srcElement;
44
if (event.propertyName.search('background') != -1 ||
event.propertyName.search('border') != -1) {
ie_png.applyVML(el);
}
if (event.propertyName == 'style.display') {
var display = (el.currentStyle.display == 'none') ? 'none' : 'block';
for (var v in el.vml) {
el.vml[v].shape.style.display = display;
}
}
if (event.propertyName.search('filter') != -1) {
ie_png.vmlOpacity(el);
}
},
vmlOpacity: function(el) {
if (el.currentStyle.filter.search('lpha') != -1) {
var trans = el.currentStyle.filter;
trans = parseInt(trans.substring(trans.lastIndexOf('=')+1,
trans.lastIndexOf(')')), 10)/100;
el.vml.color.shape.style.filter = el.currentStyle.filter; /* complete
guesswork */
el.vml.image.fill.opacity = trans; /* complete guesswork */
}
},
handlePseudoHover: function(el) {
setTimeout(function() { /* wouldn't work as intended without setTimeout */
ie_png.applyVML(el);
}, 1);
},
/**
* This is the method to use in a document.
45
applyVML: function(el) {
el.runtimeStyle.cssText = '';
this.vmlFill(el);
this.vmlOffsets(el);
this.vmlOpacity(el);
if (el.isImg) {
this.copyImageBorders(el);
}
},
attachHandlers: function(el) {
var self = this;
var handlers = {resize: 'vmlOffsets', move: 'vmlOffsets'};
if (el.nodeName == 'A') {
var moreForAs = {mouseleave: 'handlePseudoHover', mouseenter:
'handlePseudoHover', focus: 'handlePseudoHover', blur: 'handlePseudoHover'};
for (var a in moreForAs) {
handlers[a] = moreForAs[a];
}
}
for (var h in handlers) {
el.attachEvent('on' + h, function() {
46
self[handlers[h]](el);
});
}
el.attachEvent('onpropertychange', this.readPropertyChange);
},
giveLayout: function(el) {
el.style.zoom = 1;
if (el.currentStyle.position == 'static') {
el.style.position = 'relative';
}
},
copyImageBorders: function(el) {
var styles = {'borderStyle':true, 'borderWidth':true, 'borderColor':true};
for (var s in styles) {
el.vml.color.shape.style[s] = el.currentStyle[s];
}
},
vmlFill: function(el) {
if (!el.currentStyle) {
return;
} else {
var elStyle = el.currentStyle;
}
for (var v in el.vml) {
el.vml[v].shape.style.zIndex = elStyle.zIndex;
}
el.runtimeStyle.backgroundColor = '';
el.runtimeStyle.backgroundImage = '';
var noColor = (elStyle.backgroundColor == 'transparent');
var noImg = true;
if (elStyle.backgroundImage != 'none' || el.isImg) {
47
if (!el.isImg) {
el.vmlBg = elStyle.backgroundImage;
el.vmlBg = el.vmlBg.substr(5, el.vmlBg.lastIndexOf('")')-5);
}
else {
el.vmlBg = el.src;
}
var lib = this;
if (!lib.imgSize[el.vmlBg]) { /* determine size of loaded image */
var img = document.createElement('img');
lib.imgSize[el.vmlBg] = img;
img.className = lib.ns + '_sizeFinder';
img.runtimeStyle.cssText = 'behavior:none; position:absolute;
left:-10000px; top:-10000px; border:none;'; /* make sure to set behavior to none to prevent
accidental matching of the helper elements! */
img.attachEvent('onload', function() {
this.width = this.offsetWidth; /* weird cache-busting
requirement! */
this.height = this.offsetHeight;
lib.vmlOffsets(el);
});
img.src = el.vmlBg;
img.removeAttribute('width');
img.removeAttribute('height');
document.body.insertBefore(img, document.body.firstChild);
}
el.vml.image.fill.src = el.vmlBg;
noImg = false;
}
el.vml.image.fill.on = !noImg;
el.vml.image.fill.color = 'none';
el.vml.color.shape.style.backgroundColor = elStyle.backgroundColor;
el.runtimeStyle.backgroundImage = 'none';
el.runtimeStyle.backgroundColor = 'transparent';
48
},
/* IE can't figure out what do when the offsetLeft and the clientLeft add up to 1, and
the VML ends up getting fuzzy... so we have to push/enlarge things by 1 pixel and then clip
off the excess */
vmlOffsets: function(el) {
var thisStyle = el.currentStyle;
var size = {'W':el.clientWidth+1, 'H':el.clientHeight+1,
'w':this.imgSize[el.vmlBg].width, 'h':this.imgSize[el.vmlBg].height, 'L':el.offsetLeft,
'T':el.offsetTop, 'bLW':el.clientLeft, 'bTW':el.clientTop};
var fudge = (size.L + size.bLW == 1) ? 1 : 0;
break;
case 'center':
bg[axis] = .5;
break;
case 'right':
case 'bottom':
bg[axis] = 1;
break;
default:
if (position.search('%') != -1) {
bg[axis] = parseInt(position)*.01;
}
else {
fraction = false;
}
}
var horz = (axis == 'X');
bg[axis] = Math.ceil(fraction ? ( (size[horz?'W': 'H'] * bg[axis]) -
(size[horz?'w': 'h'] * bg[axis]) ) : parseInt(position));
if (bg[axis] == 0) {
bg[axis]++;
}
};
for (var b in bg) {
figurePercentage(b, thisStyle['backgroundPosition'+b]);
}
fixPng: function(el) {
el.style.behavior = 'none';
if (el.nodeName == 'BODY' || el.nodeName == 'TD' || el.nodeName == 'TR') {
/* elements not supported yet */
return;
}
el.isImg = false;
if (el.nodeName == 'IMG') {
if(el.src.toLowerCase().search(/\.png$/) != -1) {
el.isImg = true;
el.style.visibility = 'hidden';
}
else {
return;
51
}
}
else if (el.currentStyle.backgroundImage.toLowerCase().search('.png') == -1)
{
return;
}
var lib = ie_png;
el.vml = {color: {}, image: {}};
var els = {shape: {}, fill: {}};
for (var r in el.vml) {
for (var e in els) {
var nodeStr = lib.ns + ':' + e;
el.vml[r][e] = document.createElement(nodeStr);
}
el.vml[r].shape.stroked = false;
el.vml[r].shape.appendChild(el.vml[r].fill);
el.parentNode.insertBefore(el.vml[r].shape, el);
}
el.vml.image.shape.fillcolor = 'none'; /* Don't show blank white shapeangle
when waiting for image to load. */
el.vml.image.fill.type = 'tile'; /* Ze magic!! Makes image show up. */
el.vml.color.fill.on = false; /* Actually going to apply vml element's
style.backgroundColor, so hide the whiteness. */
lib.attachHandlers(el);
lib.giveLayout(el);
lib.giveLayout(el.offsetParent);
/* set up element */
lib.applyVML(el);
}
};
52
try {
document.execCommand("BackgroundImageCache", false, true); /* TredoSoft
Multiple IE doesn't like this, so try{} it */
} catch(r) {}
ie_png.createVmlNameSpace();
ie_png.createVmlStyleSheet();
Maxheight.css
ElementMaxHeight.prototype = {
initialize: function(className) {
this.elements = document.getElementsByClassName(className || 'maxheight');
this.textElement = document.createElement('span');
this.textElement.appendChild(document.createTextNode('A'));
this.textElement.style.display = 'block';
this.textElement.style.position = 'absolute';
this.textElement.style.fontSize = '1em';
this.textElement.style.top = '-1000px';
this.textElement.style.left = '-1000px';
document.body.appendChild(this.textElement);
this.textElementHeight = document.getDimensions(this.textElement).height;
var __object = this;
var __checkFontSize = this.checkFontSize;
this.checkFontSizeInterval = window.setInterval(function() {return
__checkFontSize.apply(__object)}, 500);
this.expand();
if (window.addEventListener) {
window.addEventListener('resize', function(event) {return __expand.apply(__object,
[( event || window.event)])}, false);
} else if (window.attachEvent) {
window.attachEvent('onresize', function(event) {return __expand.apply(__object, [( event
|| window.event)])});
}
},
expand: function() {
this.reset();
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].style.height =
document.getDimensions(this.elements[i].parentNode).height + 'px';
}
},
reset: function() {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].style.height = 'auto';
}
},
checkFontSize: function() {
var height = document.getDimensions(this.textElement).height;
if(this.textElementHeight != height) {
this.textElementHeight = height;
this.expand();
}
}
}
if (!!document.evaluate) {
document._getElementsByXPath = function(expression, parentElement) {
var results = [];
54
Services Page
Services.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="services.aspx.cs" Inherits="services" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
56
</div>
<div class="content">
<div class="indent">
<h2>We offer several kinds of rooms</h2>
<div class="container">
<div class="col-1"> <img alt="" src="images/2page-img11.png" class="extra-img
png"/>
<dl class="list1">
<dt>Discounted Rooms</dt>
<dd>Omnis iste natus error sit volupta- tem accusantium doloremque laudantium,
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi.</dd>
<dd><span>6-10</span>Floor</dd>
<dd><span>1</span>Rooms</dd>
<dd><span>1</span>Beds</dd>
<dd class="alt"><span>1</span>Baths</dd>
<dd class="last"><span>$49</span>Price:</dd>
</dl>
<div class="button"><span><span><a href="ulogin.aspx">Order Now!
</a></span></span></div>
</div>
<div class="col-2"> <img alt="" src="images/2page-img12.png" class="extra-img
png"/>
<dl class="list1">
<dt>Business Class Rooms</dt>
<dd>Omnis iste natus error sit volupta- tem accusantium doloremque laudantium,
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi.</dd>
<dd><span>3-5</span>Floor</dd>
<dd><span>2</span>Rooms</dd>
<dd><span>2</span>Beds</dd>
<dd class="alt"><span>1</span>Baths</dd>
<dd class="last"><span>$99</span>Price:</dd>
</dl>
<div class="button"><span><span><a href="ulogin.aspx">Order Now!
</a></span></span></div>
58
</div>
<div class="col-3"> <img alt="" src="images/2page-img13.png" class="extra-img
png"/>
<dl class="list1">
<dt>Premium Rooms</dt>
<dd>Omnis iste natus error sit volupta- tem accusantium doloremque laudantium,
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi.</dd>
<dd><span>1-2</span>Floor</dd>
<dd><span>3</span>Rooms</dd>
<dd><span>3</span>Beds</dd>
<dd class="alt"><span>2</span>Baths</dd>
<dd class="last"><span>$199</span>Price:</dd>
</dl>
<div class="button"><span><span><a href="ulogin.aspx">Order Now!
</a></span></span></div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>
Gallery
59
Gallery.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="gallery.aspx.cs" Inherits="gallery" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
60
<div class="gallery">
<div class="container">
<h2>Gallery</h2>
</div>
</div>
<a class="example-image-link" href="images/2.jpg" data-lightbox="example-set"><img
class="example-image" src="images/2.jpg"
alt=""/></a> <a class="example-image-link"
href="images/19.jpg" data-lightbox="example-set"><img class="example-image"
src="images/19.jpg" alt=""/></a> <a class="example-image-link"
href="images/15.jpg" data-lightbox="example-set"><img class="example-image"
src="images/15.jpg" alt=""/></a> <br /><br />
<a class="example-image-link" href="images/3.jpg" data-lightbox="example-set"><img
class="example-image" src="images/3.jpg"
alt=""/></a> <a class="example-image-link"
href="images/4.jpg" data-lightbox="example-set"><img class="example-image"
src="images/4.jpg" alt=""/></a> <a class="example-image-link"
href="images/14.jpg" data-lightbox="example-set"><img class="example-image"
src="images/14.jpg" alt=""/></a><br /><br />
<a class="example-image-link" href="images/5.jpg" data-lightbox="example-set"><img
class="example-image" src="images/5.jpg"
alt=""/></a> <a class="example-image-
link" href="images/1.jpg" data-lightbox="example-set"><img class="example-image"
src="images/1.jpg" alt=""/></a> <a class="example-image-link"
href="images/17.jpg" data-lightbox="example-set"><img class="example-image"
src="images/17.jpg" alt=""/></a><br /> <br />
<a class="example-image-link" href="images/11.jpg" data-lightbox="example-set"><img
class="example-image" src="images/11.jpg"
alt=""/></a> <a class="example-image-link"
href="images/9.jpg" data-lightbox="example-set"> </a><a class="example-image-link"
href="images/13.jpg" data-lightbox="example-set"><img class="example-image"
src="images/13.jpg" alt=""/></a> <a class="example-image-link"
href="images/9.jpg" data-lightbox="example-set"><img class="example-image"
src="images/9.jpg" alt=""/></a> <br /><br /><a class="example-image-link"
61
About Us
62
About.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="aboutus.aspx.cs" Inherits="aboutus" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<img src="images/img2.jpg"
style="text-align:left; height: 347px; width: 473px;" />
<img src="images/img1.jpg"
style="text-align:left; width: 496px; height: 342px;" />
Contact Us
64
Contactus.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="contact.aspx.cs" Inherits="contect" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="box">
<div align="center">
<h2>CONTACT US</h2>
<ul>
<li>
<span>Address:</span>
<p>Five Star Hotel<br /> Nokha<br /></p>
</li>
<li><span>Phone:</span>
<p>809478695 <br /></p>
</li>
<li>
<span>E-mail:</span>
<p><a href="home.aspx">Surbhibai@gmail.com</a><br /></p>
65
</li>
<li>
<span>Fax:</span>
<p>809478690 <br /></p></li>
</ul>
</div>
</div>
</asp:Content>
Feedback
66
Feedback.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="feedback.aspx.cs" Inherits="feedback" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<div class="box">
<div align="center">
67
Feedback.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
}
68
conn.Close();
Txtmail.Text = "";
Txtmsg.Text = "";
Txtname.Text = "";
}
}
69
User Login
Ulogin.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="ulogin.aspx.cs" Inherits="ulogin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<div align ="center">
<h2> Login Here</h2>
<asp:Label ID="Lblname" runat="server" Text="User Name" Width="100px"
></asp:Label>
<asp:TextBox ID="Txtname" runat="server" Width="151px"></asp:TextBox><br />
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ErrorMessage="Enter Your Email" ControlToValidate="Txtname"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+
([-.]\w+)*"></asp:RegularExpressionValidator><br />
70
Ulogin.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI.HtmlControls;
71
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Xml.Linq;
using System.Data;
public partial class ulogin : System.Web.UI.Page
{
SqlConnection conn = new
SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].Connecti
onString);
SqlDataAdapter da = new SqlDataAdapter();
DataSet ds = new DataSet();
SqlDataReader dr;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Btnlogin_Click(object sender, EventArgs e)
{
conn.Open();
SqlCommand cmd = new SqlCommand("select cid,name,email,pwd from reg where
email='" + Txtname.Text + "'AND pwd='" + Txtpwd.Text + "'", conn);
dr = cmd.ExecuteReader();
if (dr.Read())
{
Session["cid"] = dr["cid"];
Session["cnm"] = dr["name"];
Session["wronglongin"] = null;
Response.Write("<script type=text/javascript>alert('Successfully login');</script>");
Response.Redirect("user.aspx");
}
else {
Response.Write("<script type=text/javascript>alert('Invalid Username or
Password');</script>"); }
72
dr.Close();
}
void clear(){
Txtname.Text = "";
Txtpwd.Text = "";
Label1.Text = "";}
protected void Btnreset_Click(object sender, EventArgs e)
{ clear();
}
}
73
Registration:-
74
Reg.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="reg1" %>
<div align="left">
<h2>SIGNUP HERE</h2>
<asp:Label ID="Lblname" runat="server" Text="Name" Width="135px"></asp:Label>
<asp:TextBox ID="Txtname" runat="server" Width="160px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="please fill your name" ControlToValidate="Txtname"
SetFocusOnError="True"></asp:RequiredFieldValidator><br /><br />
<asp:Label ID="Lbllname" runat="server" Text="Last Name"
Width="135px"></asp:Label>
<asp:TextBox ID="Txtlname" runat="server" Width="160px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="please fill your name" ControlToValidate="Txtlname"
SetFocusOnError="True"></asp:RequiredFieldValidator><br /><br /><br /><br />
<asp:Label ID="Lblemail" runat="server" Text="E_Mail" Width="135px"></asp:Label>
<asp:TextBox ID="Txtemail" runat="server" Width="160px"></asp:TextBox>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server"
ErrorMessage="Enter Your Email" ControlToValidate="Txtemail"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Width="160"></asp:RegularExpressionValidator>
<br /><br />
<asp:Label ID="Lblpwd" runat="server" Text="Password" Width="135px"></asp:Label>
<asp:TextBox ID="Txtpwd" runat="server" Width="160px"
TextMode="Password"></asp:TextBox><br /><br />
75
</asp:RadioButtonList><br />
<asp:Label ID="Lblphone" runat="server" Text="Phone" Width="135px"></asp:Label>
<asp:TextBox ID="Txtphone" runat="server" Width="160px"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ErrorMessage="RegularExpressionValidator" ControlToValidate="Txtphone"
ValidationExpression="[0-9]{10}"></asp:RegularExpressionValidator>
<br /> <br />
<asp:Label ID="Lbladdress" runat="server" Text="Address" Width="135px"></asp:Label>
<asp:TextBox ID="Txtaddress" runat="server" Width="160px"></asp:TextBox><br
/><br />
<asp:Label ID="Lblcity" runat="server" Text="City"
Width="135px"></asp:Label>
<asp:DropDownList ID="Ddcity" runat="server">
<asp:ListItem>Select City</asp:ListItem>
<asp:ListItem>bikaner</asp:ListItem>
<asp:ListItem>Mumbai</asp:ListItem>
<asp:ListItem>Delhi</asp:ListItem>
<asp:ListItem Value="Bangole">Bangalore</asp:ListItem>
<asp:ListItem>Hydrabad</asp:ListItem>
<asp:ListItem>Ahemdabad</asp:ListItem>
<asp:ListItem>Chennai</asp:ListItem>
<asp:ListItem>Kolkata</asp:ListItem>
<asp:ListItem>Surat</asp:ListItem>
<asp:ListItem>Pune</asp:ListItem>
<asp:ListItem>Jaipur</asp:ListItem>
<asp:ListItem>Lucknow</asp:ListItem>
<asp:ListItem>Kanpur</asp:ListItem>
<asp:ListItem>Nagpur</asp:ListItem>
<asp:ListItem>Indore</asp:ListItem>
<asp:ListItem>Thane</asp:ListItem>
<asp:ListItem>Bhopal</asp:ListItem>
<asp:ListItem>Patna</asp:ListItem>
<asp:ListItem>Agra</asp:ListItem>
77
<asp:ListItem>Ranchi</asp:ListItem>
<asp:ListItem>Rajkot</asp:ListItem>
<asp:ListItem>Allahbad</asp:ListItem>
<asp:ListItem>Nashik</asp:ListItem>
<asp:ListItem>Raipur</asp:ListItem>
<asp:ListItem>Kota</asp:ListItem>
<asp:ListItem>Solapur</asp:ListItem>
<asp:ListItem></asp:ListItem>
</div>
</asp:Content>
Reg.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
public partial class reg1 : System.Web.UI.Page
{
SqlConnection conn = new
SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].Connecti
onString);
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Btnsignup_Click(object sender, EventArgs e)
{
conn.Open();
SqlCommand cmd = new SqlCommand("insert into
reg(name,lname,email,pwd,sque,answer,gender,phone,address,city,country,state)values('" +
Txtname.Text + "','" + Txtlname.Text + "','" + Txtemail.Text + "','" + Txtpwd.Text +
"','"+Ddques.Text+"','"+Txtid.Text+"','" + Radiogender.SelectedValue + "','" + Txtphone.Text
+ "','" + Txtaddress.Text + "','" + Ddcity.Text + "','" + Ddcountry.Text + "','" + Ddstate.Text +
"')", conn);
cmd.ExecuteNonQuery();
conn.Close();
Response.Write("<script type='text/javascript'>alert('Registration Success');</script>");
Txtid.Text = "";
80
Txtaddress.Text = "";
Txtcnfrmpwd.Text = "";
Txtemail.Text = "";
Txtlname.Text = "";
Txtname.Text = "";
Txtpwd.Text = "";
Txtphone.Text = "";
Radiogender.Text = "";
Ddcity.Text = " Select City";
Ddcountry.Text = "Select Country";
Ddstate.Text = "Select State";
}
ChangePassword:
Changepassword.aspx
81
Changepassword.aspx.cs
82
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Data;
}
protected void Btnchng_Click(object sender, EventArgs e)
{
try
{
if (conn.State == ConnectionState.Open)
{
conn.Close();
}
conn.Open();
SqlCommand cmd = new SqlCommand("select pwd from reg where email='" +
Txtemail.Text + "'", conn);
cmd.CommandType = CommandType.Text;
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
83
if (Txtoldpwd.Text != ds.Tables[0].Rows[0][0].ToString())
{
Label1.Text = "ur password is wrong";
Txtoldpwd.Focus();
}
else
{
if (conn.State == ConnectionState.Open)
{
conn.Close();
}
conn.Open();
SqlCommand cmd1 = new SqlCommand("update reg set pwd ='" + Txtpwd.Text +
"'where email='" + Txtemail.Text + "'", conn);
cmd.CommandType = CommandType.Text;
cmd1.ExecuteNonQuery();
conn.Close();
Label1.Text = "Your Password Changed Successfully";
}
}
catch (Exception)
{
throw;
}
}
}
Forgetpassword
84
Forgetpassword.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="frgotpwd.aspx.cs" Inherits="frgotpwd" %>
Forgotpassword.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Web.Configuration;
using System.Xml.Linq;
using System.Data;
using System.Web.Security;
}
protected void Btnchng_Click(object sender, EventArgs e)
{
if (Txtemail.Text != "" && Txtque.Text != "" && Txtans.Text != "")
{
conn.Open();
if (dr.Read())
{
Txtpwd.Text = dr[0].ToString();
}
else
{
Response.Write("<script type=text/javascript>alert('Invalid
Information');</script>");
Txtpwd.Text = "";
}
dr.Close();
conn.Close();
}
}
conn.Open();
SqlCommand cmd = new SqlCommand("select sque from reg where email = '" +
Txtemail.Text + "'", conn);
dr = cmd.ExecuteReader();
if (dr.Read())
{
Txtque.Text = dr[0].ToString();
}
else
{
Response.Write("<script type=text/javascript>alert('Invalid Username or
Password');</script>");
}
dr.Close();
conn.Close();
}
}
Booking.
88
Booking.master
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="usermaster.master.cs"
Inherits="usermaster" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Five Star Hotel</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="maxheight.js" type="text/javascript"></script>
<!--[if lt IE 7]>
<link href="ie_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ie_png.js"></script>
89
<li><a href="services.aspx">Services</a></li>
<li><a href="gallery.aspx">Gallery</a></li>
<li><a href="detail.aspx">Detail</a></li>
<li><a href="user.aspx">User Page</a></li>
<li><a href="home.aspx" >Logout</a></li>
<li><a href="Cancel.aspx">Cancel</a></li>
</ul>
</div>
90
</div>
<!-- header-box end -->
</div>
</div>
</div>
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
User.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/usermaster.master"
AutoEventWireup="true" CodeFile="user.aspx.cs" Inherits="_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<div align="center">
<table>
<tr>
<td class="style1">
<asp:Label ID="Lblroom" runat="server" Text="Select Room"
Width="160px"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="Ddroomtype" runat="server" AutoPostBack="True"
DataTextField="room_type" DataValueField="room_type">
<asp:ListItem>Room Type</asp:ListItem>
91
<asp:ListItem>Standrad</asp:ListItem>
<asp:ListItem>Semi-Delux</asp:ListItem>
<asp:ListItem>Delux</asp:ListItem>
<asp:ListItem>Suit</asp:ListItem>
</asp:DropDownList>
</td>
</tr/>
<tr>
<td class="style1">
<asp:Label ID="Lblchkin" runat="server" Text="Check In" Width="160px"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox3" runat="server" ReadOnly="True"/>
<asp:ImageButton ID="ImageButton1" runat="server" Height="17px" img
src="images/Calendar.gif" Width="21px" onclick="ImageButton1_Click" />
<asp:Calendar ID="Calendar1" runat="server" Visible="false"
onselectionchanged="Calendar1_SelectionChanged1"></asp:Calendar>
</td>
</tr>
<tr>
<td class="style1">
<asp:Label ID="Lblchkout" runat="server" Text="No Of Days"
Width="160px"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="Ddnofdays" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
92
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style1">
<asp:Label ID="Lblnroom" runat="server" Text="Number Of Room"
Width="160px"></asp:Label>
</td>
<td class="style2">
<asp:DropDownList ID="Ddnroom" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style1">
</td>
<td class="style2">
<asp:DropDownList ID="Ddprsn" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" Text="Room Type"></asp:Label></td>
<td>
<asp:DropDownList ID="Ddromtype" runat="server">
<asp:ListItem>Select Type</asp:ListItem>
<asp:ListItem>Ac</asp:ListItem>
<asp:ListItem>Non A/c</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Button2" runat="server" Text="Check Room"
onclick="Button2_Click" />
</td>
</tr>
<tr>
<td class="style1">
94
User.aspx.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Web.Security;
95
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
using System.Xml.Linq;
public partial class _Default : System.Web.UI.Page
{
SqlCommand cmd, cmd1;
SqlDataReader dr, dr1;
SqlConnection conn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|hotel.mdf;Integrated
Security=True;User Instance=True");
protected void Page_Load(object sender, EventArgs e)
{
if (Session["cid"] != null)
{
Lblid.Visible = true;
Txtid.Visible = true;
Txtname.Visible = true;
Lblname.Text = "Customer Name";
Txtid.Text = Session["cid"].ToString();
Txtname.Text = Session["cnm"].ToString();
Txtid.ReadOnly = true;
Txtname.ReadOnly = true;
}
else
{
Session["wronglongin"] = "yes";
/* Response.Redirect("ulogin.aspx");*/
}
If (!Page.IsPostBack)
{
Page.Header.Title = " Booking";
conn.Open();
cmd = new SqlCommand("SELECT DISTINCT room_type FROM Room_Master", conn);
96
dr = cmd.ExecuteReader();
while (dr.Read())
{
Ddroomtype.Items.Add(dr[0].ToString());
}
dr.Close();
conn.Close();
}
}
protected void Button1_Click(object sender, EventArgs e)
{
conn.Open();
cmd1 = new SqlCommand("select cid,name from reg where cid='" + Txtid.Text +
"',name='" + Txtname.Text + "'");
SqlCommand cmd = new SqlCommand("insert into
booking(selctrom,chckin,noofdays,nofroom,nofperson,roomtype,cid,name)values('" +
Ddroomtype.Text + "','" + TextBox3.Text + "','" + Ddnofdays.Text + "','" + Ddnroom.Text +
"','" + Ddprsn.Text + "','" + Ddromtype.Text + "','" + Txtid.Text + "','" + Txtname.Text + "')",
conn);
cmd.ExecuteNonQuery();
Response.Redirect("detail.aspx");
conn.Close();
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
Calendar1.Visible = true;
}
protected void Calendar1_SelectionChanged1(object sender, EventArgs e)
{
TextBox3.Text = Calendar1.SelectedDate.ToShortDateString();
Calendar1.Visible = false;
}
protected void Button2_Click(object sender, EventArgs e)
{
97
Booking Cancel
Cancle.aspx
99
Cancle.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
{
SqlConnection conn=new
SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].Connecti
onString);
}
protected void Btncncl_Click(object sender, EventArgs e)
{
conn.Open();
SqlCommand cmd=new SqlCommand("delete from booking where
cid='"+Txtid.Text+"'",conn);
cmd.ExecuteNonQuery();
Response.Write("<script type='text/javascript'>alert('Your Booking Delete
Successfully');</script>");
conn.Close();
Txtid.Text = "";
Txtrno.Text = "";
Txtuname.Text = "";
}
}
User detail.aspx
User detail.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data.SqlClient;
public partial class detail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Session["UserEmail"] != null)
{
getUserData();
}
if (Session["cid"] != null)
{
Lblid.Visible = true;
103
Txtid.Visible = true;
Txtid.Text = Session["cid"].ToString();
Txtid.ReadOnly = true;
getUserData();
}
}
}
public void getUserData()
{
// SqlConnection cn = new
SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionSt
ring);
SqlConnection cn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|hotel.mdf;Integrated
Security=True;User Instance=True");
cn.Open();
SqlCommand cmd1 = new SqlCommand("Select cid ,name,chckin,noofdays,selctrom
From booking where cid='" + Txtid.Text + "'",cn);
// SqlCommand cmd = new SqlCommand("Select cid ,name,chckin,selctrom,roomavlbl
From booking where booking.name='" + Session["UserEmail"].ToString() + "'", cn);
SqlDataReader dr = cmd1.ExecuteReader();
while (dr.Read())
{
Txtchkin.Text = dr["chckin"].ToString();
Txtchkout.Text = dr["noofdays"].ToString();
Txtuser.Text = dr["name"].ToString();
Txtid.Text = dr["cid"].ToString();
Txttype.Text = dr["selctrom"].ToString();
// Txtrno.Text = dr["roomavlbl"].ToString();
}
cn.Close();
}}
Admin page
104
Admin.masterpage
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs"
Inherits="admin_MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Five Star Hotel</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="maxheight.js" type="text/javascript"></script>
<!--[if lt IE 7]>
<link href="ie_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ie_png.js"></script>
<script type="text/javascript">ie_png.fix('.png, #header .row-2, #header .nav li a, #content,
.gallery li');</script>
105
<![endif]-->
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<style>
/* Navbar container */
.navbar{
overflow: hidden;
background-color: #333;
font-family: Arial;
width:633px;
float:inherit;
padding:0 0 0 0;
}
/* Links inside the navbar */
.navbar a {
float:inherit;
font-size: 16px;
color:Gray;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
/* Dropdown button */
.dropdown .dropbtn {
font-size: 15px;
border: none;
outline: none;
106
color: white;
padding: 14px 16px;
background-color: inherit;
}
.image {
display: block;
width: 100%;
height: 90px;
}
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
.container:hover .overlay {
opacity: 1;
}
.text {
108
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
</style>
</head>
<body id="page1" onload="new ElementMaxHeight();">
<div id="main" align="center">
<!-- header -->
<div id="header">
<div class="row-1">
<div class="wrapper">
<div class="logo">
<h1><a href="#">Five Star</a></h1>
<em>Hotel</em> <strong>True Luxury</strong> </div>
<div class="phones"> 1-800-412-45-56<br />
1-800-542-64-48 </div>
</div>
</div>
<div class="row-2">
<div class="indent">
<!-- header-box begin -->
<div class="header-box">
<div class="inner" >
<ul class="nav">
<li><a href="addadmin.aspx">Add Admin</a></li>
<li><a href="custmrinfo.aspx">Customer Info</a></li>
<li><a href="booking.aspx">Booking</a></li>
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
Admin.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master"
AutoEventWireup="true" CodeFile="admin.aspx.cs" Inherits="admin_admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
110
Adminlogin:-
AdminLogin.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="alogin.aspx.cs" Inherits="alogin1" %>
<h2>
Admin Login Here</h2>
<asp:Button ID="Btnreset" runat="server" Text="Reset" onclick="Btnreset_Click" />
<asp:Label ID="Label1" runat="server"></asp:Label><br />
<div align="right">
</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [adminlogin]"></asp:SqlDataSource>
</div>
</asp:Content>
Adminlogin.aspx.cs
using System;
using System.Collections.Generic;
112
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Xml.Linq;
using System.Data;
{
Response.Redirect("admin/admin.aspx", true);
}
else
{
Label1.Text = "data not found";
}
}
void clear()
{
Txtname.Text = "";
Txtpwd.Text = "";
Label1.Text = "";
}
}
AddAdmin:-
114
Addadmin.aspx
SortExpression="Admin_Password" />
</Columns>
</asp:GridView>
</div>
</div>
</asp:Content>
Addadmin.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
116
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Data;
Customerinfo.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master"
AutoEventWireup="true" CodeFile="custmrinfo.aspx.cs" Inherits="admin_custmrinfo" %>
Customerinfo.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Data;
120
using System.Xml.Linq;
}
protected void Button1_Click(object sender, EventArgs e)
{
GridView1.Visible = false;
SqlCommand cmd = new SqlCommand("select *from reg where name like '%" +
Txtsrch.Text + "%'", conn);
conn.Open();
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
121
da.Fill(ds);
GridView2.DataSource = ds;
GridView2.DataBind();
conn.Close();
}
}
Booking page
Booking.aspx
122
</asp:SqlDataSource>
<br />
<asp:GridView ID="GridView2" runat="server">
</asp:GridView>
</asp:Content>
Booking.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Web.Configuration;
using System.Xml.Linq;
using System.Data;
GridView2.DataBind();
conn.Close();
}
}
ChangePassword
Changepassword.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master"
AutoEventWireup="true" CodeFile="chngpwd.aspx.cs" Inherits="admin_chngpwd" %>
126
</div>
</asp:Content>
127
Changepassword.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Data;
}
protected void Btnchng_Click(object sender, EventArgs e)
{
try
{
if(conn.State==ConnectionState.Open)
{
conn.Close();
}
conn.Open();
SqlCommand cmd=new SqlCommand("select Admin_Password from adminuser
where Admin_User='"+Txtemail.Text+"'",conn);
128
cmd.CommandType=CommandType.Text;
SqlDataAdapter da=new SqlDataAdapter(cmd);
DataSet ds=new DataSet();
da.Fill(ds);
if(Txtoldpwd.Text!=ds.Tables[0].Rows[0][0].ToString())
{
Label1.Text="ur password is wrong";
Txtoldpwd.Focus();
}
else{
if(conn.State==ConnectionState.Open)
{
conn.Close();
}
conn.Open();
SqlCommand cmd1=new SqlCommand("update adminuser set Admin_Password
='"+Txtpwd.Text+"'where admin_User='"+Txtemail.Text+"'",conn);
cmd.CommandType=CommandType.Text;
cmd1.ExecuteNonQuery();
conn.Close();
Label1.Text="Your Password Changed Successfully";
}
}
catch(Exception)
{
throw;
}
}
}
Addroom page
129
Addroom.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master"
AutoEventWireup="true" CodeFile="addroom.aspx.cs" Inherits="admin_addroom" %>
</div></div>
130
</asp:Content>
Addroom.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
}
protected void Btnadd_Click(object sender, EventArgs e)
{
conn.Open();
SqlCommand cmd = new SqlCommand("insert into
Room_Master(room_no,room_type,AC_NonAc,room_tariff)values('" + Txtromno.Text + "','"
+ Txttype.Text + "','" + Txtac.Text + "','" + Txttarif.Text + "')", conn);
cmd.ExecuteNonQuery();
conn.Close();
Response.Write("<script type='text/javascript'>alert('Add Room
Successfully');</script>");
Txtac.Text = "";
Txtromno.Text = "";
131
Txttarif.Text = "";
Txttype.Text = "";
}
}
Viewfeedback
ViewFeedback.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master"
AutoEventWireup="true" CodeFile="viewmsg.aspx.cs" Inherits="admin_viewmsg" %>
<div class="box">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False" DataKeyNames="id"
DataSourceID="SqlDataSource1">
<Columns>
<asp:CommandField ShowDeleteButton="True" />
<asp:BoundField DataField="id" HeaderText="id" InsertVisible="False"
ReadOnly="True" SortExpression="id" />
<asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
<asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
<asp:BoundField DataField="msg" HeaderText="msg" SortExpression="msg" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM feedback WHERE (id = @id)"
SelectCommand="SELECT * FROM feedback">
<DeleteParameters>
<asp:Parameter Name="id" />
</DeleteParameters>
</asp:SqlDataSource>
</div>
</asp:Content>
Software Testing
1. Overview
2. History
3. Software testing topics
a. Scope
b. Functional vs. non-functional testing
c. Defects and failures
4. Testing methods a. The box approach
i. Black box testing
133
1. Overview:-
Testing can never completely identify all the defects within software. Instead, it furnishes a
criticism or comparison that compares the state and behavior of the product against oracles—
principles or mechanisms by which someone might recognize a problem. These oracles may
include (but are not limited to) specifications, contracts, comparable products, past versions
of the same product, inferences about intended or expected purpose, user or customer
expectations, relevant standards, applicable laws, or other criteria. Software testing is the
process of attempting to make this assessment.
2. History:-
The separation of debugging from testing was initially introduced by Glen ford J. Myers
in 1979. Although his attention was on breakage testing ("a successful test is one that finds a
bug",) it illustrated the desire of the software engineering community to separate fundamental
134
development activities, such as debugging, from that of verification. Dave Gelperin and
William C. Hetzel classified in 1988 the phases and goals in software testing in the following
stages:
Until 1956 - Debugging oriented
1957–1978 - Demonstration oriented
1979–1982 - Destruction oriented
1983–1987 - Evaluation oriented
1988–2000 - Prevention oriented
Scope
A primary purpose for testing is to detect software failures so that defects may be uncovered
and corrected. This is a nontrivial pursuit. Testing cannot establish that a product functions
properly under all conditions but can only establish that it does not function properly under
specific conditions. The scope of software testing often includes examination of code as well
as execution of that code in various environments and conditions as well as examining the
aspects of code: does it do what it is supposed to do and do what it needs to do.
4. Testing methods:-
Black box testing treats the software as a "black box"—without any knowledge of internal
implementation. Black box testing methods include: equivalence partitioning, boundary value
analysis, all-pairs testing, fuzz testing, model-based testing, traceability matrix, exploratory
testing and specification-based testing.
GreyBox Testing
Grey box testing involves having access to internal data structures and algorithms for
purposes of designing the test cases, but testing at the user, or black-box level. Manipulating
input data and formatting output do not qualify as grey box, because the input and output are
clearly outside of the "black-box" that we are calling the system under test.
Testing Levels:-
Unit testing
136
Refers to tests that verify the functionality of a specific section of code, usually at the
function level. In an object-oriented environment, this is usually at the class level, and the
minimal unit tests include the constructors and destructors.
Integration Testing
Integration testing is any type of software testing that seeks to verify the interfaces between
components against a software design. Software components may be integrated in an iterative
way or all together ("big bang"). Normally the former is considered a better practice since it
allows interface issues to be localized more quickly and fixed. Integration testing works to
expose defects in the interfaces and interaction between integrated components.
System Testing
It tests a completely integrated system to verify that it meets its requirements
Regression Testing
Regression testing focuses on finding defects after a major code change has occurred.
Specifically, it seeks to uncover software regressions, or old bugs that have come back. Such
regressions occur whenever software functionality that was previously working correctly
stops working as intended. Common methods of regression testing include re-running
previously run tests and checking whether previously fixed faults have re-emerged.
Acceptance testing
Acceptance testing can mean one of two things:
1. A smoke test is used as an acceptance test prior to introducing a new build to the main
testing process, i.e. before integration or regression.
2. Acceptance testing performed by the customer, often in their lab environment on their own
HW, is known as user acceptance testing (UAT). Acceptance testing may be performed as
part of the hand-off process between any two phases of development.
137
Alpha testing
Alpha testing is simulated or actual operational testing by potential
users/customers or an independent test team at the developers' site. Alpha testing is often
employed for off-the-shelf software as a form of internal acceptance testing, before the
software goes to beta testing.
Beta testing
Beta testing comes after alpha testing. Versions of the software, known as
beta versions, are released to a limited audience outside of the programming team. The
software is released to groups of people so that further testing can ensure the product has few
faults or bugs.
determining what aspects of a design are testable and with what parameters those tests work.
Test planning: Test strategy, test plan, test bed creation. Since many activities will
be carried out during testing, a plan is needed.
Test development: Test procedures, test scenarios, test cases, test datasets, test
scripts to use in testing software.
Defect Retesting: Once a defect has been dealt with by the development team, it is
retested by the testing team. AKA Resolution testing.
6. Automated testing:-
139
Testing Tools
Program testing and fault detection can be aided significantly by testing
Future recommendations:-
This project can be used in the hotel after adding some more useful modules in the project for
which hotel are providing services.Now a days hotel are providing many other facilities, this project can also
be improvedwith the improvement in the Hotels.
Bibliography:
• Book Reference:
1. Asp.net pragya publication
2. Asp.NET 3.5 Black Book (Dream Teach Press)
• Web Reference:
www.aspsnippets.com
141
142