You are on page 1of 42

1.

INTRODUCTION
1.1 ABOUT THE PROJECT

Running a restaurant is hectic enough as it is, so why not make the day-to-day
processes easier by having a system that will help ease the workload for you? There are so
many day-to-day processes that restaurants have to deal with.. In current marketplace, there is
a great value for food, restaurants and its management. There is day by day increment on the
number of restaurants and food places that are emerging today. It can be considered as a rapid
growth in the field of business and food restaurants and its management system. The
management system applied for every restaurant is different from the other one. Some
restaurants may be bigger while the other may be smaller but every restaurant or hotel
requires a management system and this is termed as Restaurant Management System.
RMS that is, Restaurant Management Systems are the crucial technologies that
enables a single outlet or enterprise to better serve its customers and aid employees with food
and beverage transactions and controls. Restaurant management System is database program
that keeps record of all transaction carried out in the restaurant on daily bases. The Restaurant
Management System helps the restaurant management to keep adequate record of all
transactions carried out and does that will still be carried out by the restaurant and maintain
the database of the restaurant. While investing in elements such as marketing and décor will
go a long way in advancing the growth of a restaurant, investing in the right technology also
plays a huge role, with restaurant management software being among the “must haves”.
Every restaurant out there, whether small, medium-sized, or large, will benefit greatly by
switching from manual restaurant management processes to automated or software-based
ones.

1
2. SYSTEM ANALYSIS

2.1 FEASIBILTY STUDY


A feasibility analysis usually involves a thorough assessment of the operational
(need), financial and technical aspects of a proposal. Feasibility study is the test of the system
proposal made to identify whether the user needs may be satisfied using the current software
and hardware technologies, whether the system will be cost effective from a business point of
view and whether it can be developed with the given budgetary constraints. A feasibility
study should be relatively cheap and done at the earliest possible time. Depending on the
study, the decision is made whether to go ahead with a more detailed analysis.
When a new project is proposed, it normally goes through feasibility assessment. Feasibility
study is carried out to determine whether the proposed system is possible to develop with
available resources and what should be the cost consideration. Facts considered in the
feasibility analysis were.
 Technical Feasibility
 Economic Feasibility
 Behavioral Feasibility

Technical Feasibility
Technical Feasibility deals with the hardware as well as software requirements.
Technology is not a constraint to type system development. To find out whether the
necessary technology, the proposed equipments have the capacity to hold the data, which is
used in the project, should be checked to carry out this technical feasibility.
The technical feasibility issues usually raised during the feasibility stage of investigation
includes these
 This software is running in windows 7 Operating System, which can be easily
installed.
 The hardware required is Pentium based server.
 The system can be expanded.

2
Economical Feasibility
This feasibility study present tangible and intangible benefits from the prefect by
comparing the development and operational cost. The technique of cost benefit analysis is
often used as a basis for assessing economic feasibility. This system needs some more initial
investment than the existing system, but it can be justifiable that it will improve quality of
service.
Thus feasibility study should center along the following points:
 Improvement resulting over the existing method in terms of accuracy, timeliness.
 Cost comparison
 Estimate on the life expectancy of the hardware
 Overall objective
Our project is economically feasible. It does not require much cost to be involved in the
overall process. The overall objectives are in easing out the requirement processes.

Behavioral/ Operational Feasibility


This analysis involves how it will work when it is installed and the assessment of
political and managerial environment in which it is implemented. People are inherently
resistant to change and computers have been known to facilitate change. The new proposed
system is very much useful to the useful to the users and there for it will accept broad
audience from around the world.

3
2.2 EXISTING SYSTEM
In the existing system the customer has to send an order, once the order is sanctioned
or denied it does not notify to the customers. Everything is in a manual calculation and
instantaneous input and retrieval of required information is a tedious job. Whenever a
particular customer’s information is to be known several time have to be follow.
All this consumes a lot of manual work and time. The space required to store the data
is also very much and it is a waste of both time and manpower. Therefore depending on the
requirements of the restaurant.

2.3 PROPOSED SYSTEM

The main objective is to maximize the profit by increasing efficient and


decreasing the mistakes that takes place in the kitchen, this will be done without
compromising customer satisfaction. At this moment of time, there are still numerous
restaurants that still use paper based system to get messages across between the restaurant
and the kitchen, this way of communication is one of the least efficient method. However, his
approach may be implemented and designed in a successful profitable restaurant but there are
numerous problems which might be seen as reducing the restaurants efficiency, they are the
following
 The lack of communication that is caused by handwriting.
 Uncontrolled order logging (poor order taking).
 Unproductive communication between restaurant and kitchen.
 Faults with order taking and lack of time management.
 Lack of good quality stock management.
 Limited statistical output

4
3. SYSTEM ENVIRONMENT

3.1 HARDWARE REQUIREMENTS

The hardware used for the development of the project is:


Processor : Intel Core i3

RAM capacity : 4 GB

Hard disk drive : 1TB

Keyboard : Multi Media

Mouse : Optical

Monitor : 17” Color

3.2 SOFTWARE REQUIREMENTS

The software used for the development of the project is:


Operating System : Windows

Front end used : ASP .Net

Back end used : SQL Server

5
3.3 SOFTWARE SPECIFICATION

FRONT END

This Project work has completed in ASP. NET with vb as front end and SQL Server as
back end. Microsoft .NET is software that connects information, people, systems and devices.
It spans clients, servers and developer tools and consists of:
 The .NET Framework programming model that enables developers to build Web-
based applications which expose their functionality programmatically over a network
using standard protocols such as SOAP and HTTP.
 Developer tools such as Microsoft Visual Studio .NET, which provide a rapid
application integrated development environment for programming with the .NET
Framework.
 A set of servers including Microsoft Windows 2000, Microsoft SQL, Server and
Microsoft BizTalk Server that integrates, runs, operates and manages XML Web
services and applications.
 Client software such as Windows XP, Windows CE and Microsoft Office XP, 7 that
help developers deliver a deep and compelling user experience across a family of
devices and existing products.
 The .NET Framework is the programming model of the .NET environment for
building, deploying and running Web- based applications, smart client applications
and XML Web services. It manages much of the plumbing, enabling developers to
focus on writing the business logic code for their applications. The .NET Framework
includes the common language runtime and class libraries.

OVERVIEW OF THE LANGUAGE USED


MICROSOFT VISUAL STUDIO
Microsoft Visual Studio is Microsoft’s flagship software development product for
computer programmers. It centers on an integrated distribution environment which has
programmers create stand alone, and web services that run on any platforms supported by
Microsoft’s .Net Framework (for all versions after 6). Supported platforms include Microsoft
windows, servers and workstations, Pocket PC, Smart Phones and World Wide Web
browsers not the Java Virtual Machine that all other java tools target.

6
VISUAL STUDIO 2010
The most important language added in this version was the introduction of
generics, which are similar in many aspects to C++ templates. This potentially increases the
number of bugs caught at compile- time instead of run- time by encouraging the use of strict
type checking in areas where it was not possible before, C++ also got a similar upgrade with
the addition of C++/CLI which is slated to replace the use of Managed C++. Other new
features of Visual Studio 2010 include the “Development Designer” which allows application
designs to be validated before deployments, an improved environment for web publishing
when combined with ASP.NET 2.0 and load testing to see application performance under
various sorts of user loads. Visual Studio 2010 also added extensive 64- bit support. While
the development environment itself only available as a 32- bit application, visual C++ 2010
supports compiling for (x64AMD64 and EM64T) as well as IA- 64 (Itanium). The platforms
SDK include 64- bit and 64-bit versions of the libraries.

NET FRAMEWORK SDK


The .NET framework is an integral windows component that supports building
and running the next generation of applications and XML web services. The key component
of the .NET frame work are the common language run time and the . NET frame work class
library, which includes ADO.NET, ASP.NET and windows forms. The .NET framework
provides a managed execution environment simplified development and deployment and
integration with a wide variety of programming languages.
This framework is made up of the following parts:
 The common language runtime(CLR)
 The base class libraries.
 Object oriented internet development with ASP.NET
 Rich client user interface using windows forms
 RAD for the internet using web forms

7
OVERVIEW OF THE .NET FRAME WORK

The .NET framework is a new computing platform that simplifies application


development in the highly distributed environment of the internet. The .NET framework is
designed to fulfill following objectives:
 To provide a consistent object oriented programming environment whether object
code is stored and executed locally but internet- distributed or executed remotely.

 To provide a code execution environment that minimizes software deployment and


versioning conflicts.
 To provide a code execution environment that guarantees safe execution of code,
including code created by an unknown or semi trusted third party.
 To provide a code execution environment that eliminates the performance problem of
scripted or interpreted environments.
 To make the developer experience consistent across widely types of application, such
as windows based applications and web based applications.
 To build all communication on industry standards to ensure that code based on
the .NET framework can integrate with any other code.
The .NET framework has two main components: the common language runtime
and the .Net framework class library. The common language runtime is the foundation of
the .NET framework. You can think of the runtime as an agent that manages code at
execution time and remoting while also enforcing strict type safely and other forms of code
accuracy that ensure security and robustness in fact the concept of code management is a
fundamental principle of the runtime.
Code that targets the runtime is known as managed code, while code that does not
target the runtime is known as un managed code. The class library, the other main
component of the .NET frameworks is a comprehensive, object-oriented collection reusable
types that you can use to develop applications ranging from traditional command line or
graphical user interface (FGUI) applications to application base d on the latest innovations
provided by ASP.NET, such as web forms and XML web services.
The .NET framework can be hosted by unmanaged component that load the common
language runtime into their processes and initiate the execution of managed code. ASP.NET
works directly with the runtime to enable ASP.NET application and XML web services, both
of which are discussed later in this topic, Internet explorer is an example of unmanaged

8
application that hosts the runtime (in the form of a MIME type extension). Using internet
explorer to the host runtime enables you to embed managed components or windows forms
controls in HTML documents. Hosting the runtime in this way makes mobile code 9similar
to Microsoft Active X controls) possible, but with significant improvement that only
managed code can offer, such as semi-trusted execution and secure isolated file storage.
The following illustration shows the relationship of the common language runtime
and the class library to your application and to the overall system. The illustration also shows
how managed code operated with in a larger architecture.
We can use the .NET framework to develop the following types of application and services:
 Console applications
 Window GUI application (Windows Forms) ASP.NET applications
 XML Web services
 Windows services
COMMON LANGUAGE RUNTIME (CLR)
The common language runtime (CLR) is responsible for runt-time services such as
language integration; security enforcement; and memory, process and thread management. In
addition, it has a roll at development time when features such as life cycle management
strong type naming, cross-language exception handling, dynamic binding and so on, reduce
the amount of code that a developer must write to turn the business logic the reusable
component. The runtime can be hosted by high performance, server-side applications, such a
s Microsoft Internet Information Services (IIS) for building web applications with ASP.NE
and the next release of Microsoft SQL Server. This infrastructure enables you to use code
“managed “ by the .NET framework to write your business logic, while still enjoying the
superior performance of the industry’s best enterprises servers that support runtime hosting.

9
ASP.NET
ASP.NET is a set of Microsoft.NET framework technologies used for building web
applications and XML Web services. ASP.NET page execute on the server and generate
markup such as HTML, WML or XML that is sent to a desktop or mobile browser.
ASP.NET pages use a compiled, event-driven programming model that improves
performance and enables the separation of application logic and user interface. Both
ASP.NET pages and ASP.NET web services files contain server-side (as opposed to client
side logic) written in Visual basic .NET, C#.NET or any .NET compatible language, Web
applications and XML Web Services take advantage of the features of the common language
runtime, such as type safety, inheritance, language, interoperability, versioning, and
integrated security.
IIS
Microsoft Internet Information S4ervices (IIS; formerly called Server is a set of
Internet-based services for servers using Microsoft Windows. It is the world’s second most
popular web server in terms of overall websites. As of September 2007 it served 34.94% of
all websites and 36.63% of all active websites according to Net craft. The servers currently
include FTP, SMTP, NNTOP, and HTTP/HTTPS.
ADO.NET
ADO.NET provides consistent access to data sources such a Microsoft SQL Server
and XML, as well as to data sources exposed through OLE DB and ODBC. Data sharing
consumer applications can use ADO.NET to connect to these data sources and retrieve,
manipulate and update the data that they contain.
ADO.NET separates data access from data manipulation into discrete components
that can be used separately or in tandem. ADO.NET includes .NET Frame work data
providers for connecting to a database, executing commands and retrieving results. Those
results are either processed directly, placed in and ADO.NET Dataset objects in order to be
exposed to the used in an ad hoc manner, combined with data from multiple sources or
remote between tiers. The ADO.NET Dataset object can also be used independently of
a .NET Framework data provider to manage data local to the application or sourced from
XML.
The ADO.NET classes are found in System.Data.dll and are integrated with the XML
classes found in System.Xml.dll. When compiling code that uses the System. Data,
namespace reference both System.Data.dll and System.Xml.dll.

10
ADO.NET provided functionality to developers writing managed code similar to the
functionality provided to native component object model (COM) developers by ActiveX Data
Objects (ADO).

ADO.NET COMPONENTS
There are two components of ADO.NET that you can use to access and manipulate
data:
 .NET Framework data providers.
 The DataSet
NET FRAMEWORK DATA PROVIDERS
The .NET Framework Data providers are components that have been explicitly
designed for data manipulation and fast, forward-only, read-only access to data. The
connection object provides connectivity to a data source. The command object enables
access to database commands to return data, modify data, run stored procedures and send or
retrieve parameter information. The Data Adapter provides a high-performance stream of
data from the data source. Finally, the Data Adapter provides the bridge between the Data Set
object and the data source. The Data Adapter uses command object to execute SQL
commands at the data source to both load the Data Set with data and reconcile changes made
to the data in the Data Set back to the data source.
THE DATASET
The ADO.NET Data Set is explicitly designed for data access independent of any data
source. As a result, it can be used with multiple and differing data sources used with XML
data or used to manage data local to the application. The Data Set contains a collection n of
one or more Data Table objects made up to rows and columns of data as well as primary key,
foreign key, constraint and relation information about the data in the Data Table objects.
BENEFITS OF ADO.NET
ADO.NET offers several advantages over previous versions of ADO and over other
data access components. These benefits fall into the following categories:
 Interoperability
 Maintainability
 Programmability
 Salability

11
BACK END

MS SQL SERVER

DATABASE

Database is an organized list of data (information) that can be queried to find


information quickly and easily based chosen reference point. Such a last name of security
number. In database terminology, the columns are called fields and the rows are called
records. The kind of organization in a database is called a table.

SQL SERVER

.SQL Server is a RDBMS that you can store and manipulate large amount of information.
A relational database is a database, which consists of tables of that related information that
are linked together on key fields.
The tools of SQL Server are user friendly and provide a powerful development
environment, making it equally appropriate for novices and MIS professionals. For example
we can access quickly and easily create a database of mailing list information that we can
merge with other document.
SQL Server commands are related to Oracle, So that the oracle users can easily operate
the SQL Server, One of the main advantage is it can easily execute set of queries at a time..

MAIN ELEMENTS OF SQL SERVER

SQL Server is an Object Oriented program. Objects are modules, which is used to
provide information and programs, which any of user can directly apply to create application.
Each Object has properties that defines how the looks and perform. It has the following
Objects.
 Tables
 Queries
 Forms & Reports
 Modules

12
TABLES

Tables are primary building blocks of SQL SERVER database. All data is stored in
tables. Every table in the database focus on one subject. We can combine specific fields from
multiple tables into one data sheet. The datasheet that a query written is called a record set.
QUERIES

Queries are used to perform some operation for retrieve the data from the table and to

store the data to the table.

FORMS

Forms are used to access and maintain the database.

RELATIONSHIPS

Relationship is mainly used to join the two databases. Join is an object, which has
three forms that are (inner join, simple join, and outer join)

Fundamental Design Concepts


A set of fundamental design concepts are evolved over the past three decades,
although the degree of interest in each concept has varied over the years, each has stood the
test of time. Each one provides the software designer with a foundation from which more
sophisticated design methods can be applied. Fundamental design concepts provide the
necessary framework for “getting it right”.
Abstraction
Abstraction permits one to concentrate on a problem at some level of generalization
without regard to irrelevant low level details, use of abstraction also permits one to work with
concepts and terms that are familiar in the problem environment without having to transform
them to an unfamiliar structure. Two types of abstraction are there, one is procedural
abstraction and data abstraction. A procedural abstraction is a named sequence of instructions
that has a specific and limited function. A data abstraction is a named collection of data that
describes a data object.

13
Modularity
Modularity is the single attribute software that allows a program to be intellectually
manageable. Software architecture embodies modularity, that is, software is divided into
named and addressable components, called modules that are integrated to satisfy problem
requirements.
Software Architecture
Software Architecture alludes to “the overall structure of the software and the ways in
which that structure provides conceptual integrity for a system”. Control hierarchy also called
program structure”, represents the organization of control. The tree structure used to represent
the control hierarchy.
Structural Partitioning
The program structure should be partitioned both horizontally and vertically.
Horizontal partitioning defines separate branches of the modular hierarchy for each major
program function, Vertical partitioning called factoring, suggest that control and work should
be distributes top-down in the program architecture. Top level modules should perform
control functions and do actual processing work. Modules reside low in the architecture
should be the workers, performing all input, computational and output tasks.
Data Structure

Data Structure is a representation of logical relationship among individual elements


of data. Because the structure of information will invariably affects the final procedural
design, data structure is very important as the program structure to the representation of the
software architecture. Data structure dictates the organization, methods of access, degree of
associatively, and processing alternatives for information. The organization and complexity
of a data structure are limited only by the ingenuity of the designer. Scalar item array and
linked list are some of the representations of the data structure.
Software Procedure
Program structure defines control hierarchy without regard to the sequence of
processing and decisions. Software procedure focuses on the processing details of each
module individually. Procedure must provide a precise specification of processing, including
sequence of events, exact, decision points, repetitive operations and even data organization
/structure. Information hiding suggests that modules be “characterized by design decisions
that hide from all others.” In other words, modules should be specified and designed so that
information contained within module is inaccessible to other module.

14
4. SYSTEM DESIGN
1

4. 1 INPUT DESIGN
In the input design, user-oriented inputs are converted into a computer based system
format. It also includes determining the record media, method of input, speed of capture and
entry on to the screen. Online data entry accepts commands and data through a keyboard. The
major approach to input design is the menu and the prompt design. In each alternative, the
user’s options are predefined. The data flow diagram indicates logical data flow, data stores,
source and destination. Input data are collected and organized into a group of similar data.
Once identified input media are selected for processing.
In this software, importance is given to develop Graphical User Interface (GUI),
which is an important factor in developing efficient and user-friendly software. For inputting
user data, attractive forms are designed. User can also select desired options from the menu,
which provides all possible facilities.

Also the important input format is designed in such a way that accidental errors are
avoided. The user has to input only just the minimum data required, which also helps in
avoiding the errors that the users may make. Accurate designing of the input format is very
important in developing efficient software. The goal or input design is to make entry as easy,
logical and free from errors.

15
4.3 OUTPUT DESIGN
In the output design, the emphasis is on producing a hard copy of the information
requested or displaying the output on the CRT screen in a predetermined format. Two of the
most output media today are printers and the screen. Most users now access their reports from
a hard copy or screen display. Computer’s output is the most important and direct source of
information to the user, efficient, logical, output design should improve the systems relations
with the user and help in decision-making.
As the outputs are the most important source of information to the user, better design
should improve the system’s relation and also should help in decision-making. The output
device’s capability, print capability, print capability, response time requirements etc should
also be considered form design elaborates the way output is presented and layout available
for capturing information. It’s very helpful to produce the clear, accurate and speedy
information for end users.

The reports generated in project depict the up to date information about the current
status of various records. The various types of reports that will be generated in this project are
as mentioned below.

16
4.4 DATABASE DESIGN

Database design is the process of producing a detailed data model of a database.


logical data model contains all the needed logical and physical design choices and physical
storage parameters needed a design in a Definition Language, Which can then be used to
create a database. A fully attributed data model contains detailed attributes for each entity.

1. Admin Login

Fields Name Type Constraint

AdminName nvarchar(50) Auto Incre

Password nvarchar(50)

2. City

Fields Name Type Constraint

CityId bigint Auto Incre

CityName nvarchar(50)

3. Hotel

Fields Type Constraint

HotelId bigint Auto Incre.

HotelName nvarchar(100)

CityId bigint

Address Text

State nvarchar(50)

Phone nvarchar(50)

HotelDiscription Text

Email nvarchar(100)

ImageUrl nvarchar(250)

17
4. Hotel Image

Fields Type Constraint


ImageId Bigint Auto Incre
HotelId Bigint
ImageUrl nvarchar(200)

5. Hotel Room

Fields Type Constraint

HotelRoomId Bigint Auto incre.

RoomTypeId Bigint

HotelId Bigint

NoOfRoom Bigint

RoomPrice Numeric(18, 2)

6. Message

Fields Type Constraint

MessageID Bigint Auto incre.

HotelID Bigint

SenderName Nvarchar(50)

SenderEmail Nvarchar(50)

SenderPhone Nvarchar(50)

Message Text

SendDate Datetime

18
4.5 DATA FLOW DIAGRAM
A Data Flow Diagram (DFD) is a diagram that describes the flow of data and the
processes that change data throughout a system. It’s a structured analysis and design tool that
can be used for flowcharting in place of or in association with information. Oriented and
process oriented system flowcharts. When analysts prepare the Data Flow Diagram, they
specify the user needs at a level of detail that virtually determines the information flow into
and out of the system and the required data resources. This network is constructed by using a
set of symbols that do not imply physical implementations. The Data Flow Diagram reviews
the current physical system, prepares input and output specification, specifies the
implementation plan etc.

Four basic symbols are used to construct data flow diagrams. They are symbols that
represent data source, data flows, and data transformations and data storage. The points at
which data are transformed are represented by enclosed figures, usually circles, which are
called nodes.

DATA FLOW DIAGRAM SYMBOLS:-

- Source or Destination of data

- Data Flow

- Process

- Storage

19
20
5. SYSTEM SPECIFICATION
5.1. MODULES
Well-structured designs improve the maintainability of a system. A structured system
is one that is developed from the top down and modular, that is, broken down into
manageable components. In this project we modularized the system so that they have
minimal effect on each other.
Module Description

Admin Module

1. Home:  In this section, admin can briefly view the total new booking, approved booking,
Cancelled Booking, Total Registered users, total read enquires and total unread enquires.

2. Room Category:  In this section, admin can manage category (add/delete).

3. New Room: In this section, admin can manage rooms(add/update).

4. Page:  In this section, admin can manage about us and contact us pages..

5. Booking: In this section, admin can view new, approved, canceled bookings and also give
a remark.

6. Reg Users: In this section, admin can view the detail of registered users.

7. Enquiry: In this section, admin can view and maintain the enquiry.

8. Search: In this section, admin can search enquiry and booking details with the help of
his/her mobile number and booking number respectively.

9. Reports: In this section admin can view the enquiry details and check booking details in a
particular period.

Admin can also update his profile, change the password and recover the password.

21
 User Module

1. Home: It is a welcome page for users.

2. About: It is a about us page of website.

3. Services: In this section, users can view services provided by organization.

4. Room: In this section, user can view details of room which is available in the hotel.

5. Gallery: In this section, user can view gallery of hotel.

6. Book Room: In this section, user can book the hotel room by registered himself with
hotels.

7. Contact: It is a contact us page where users can send the queries to hotel.

8. Sign Up: Users can register through sign uppage.

9. Login: It is login page.

10. My Account: After registration, user can have their own account where he/she can
update profile, change password, recover password, and view booking details of the hotel
room.

22
6. SYSTEM IMPLEMENTATION

Implementation is the stage of the project when the theoretical design is turned into a
working system. Implementation means converting a new or revised system design into an
operational condition. In this project Bug Tracking maintains NPR Arts and Science College,
Dindigul, implementation includes all these activities that the place to convert the new
system.
The purpose of test plan is preparing it helps us to think through the efforts needed to
validate the acceptability of a software product. It will help people outside the test group to
understand the why and how of product validation and regulated environments, we have to
have a written test plan. The general testing process includes the creation of a test plan .We
want a document that describes the objectives, scope, approach and focus of the software
testing effort. It includes test cases, conditions, the test environment, a list of related tasks,
pass/fail criteria, and risk assessment. One of the outputs for creating a test strategy is an
approved and signed off test plan document. The software testing methodology a three step
process and one of the steps is the creation of a test plan. We want an opportunity to review
the test plan with the project team. Test plans should be documented, so that they are
repeatable.
The purpose of training is to ensure that all the personal who are associate with the
system should possess the basic knowledge and skills. The end user must know in detail what
their rules will be how they can use the system and what the system will or will not do before
the initialization of the training the programmer materials are prepared for the users with
description. The users are instructed first, how to operate the system. User training also
instructs individuals in trouble shooting system determining whether problem arise due to any
system failure or software failure or something that they had one in using the system. The
system will be implemented as soon as possible.

23
7. SYSTEM TESTING

Software testing is an important element of software quality assurance and represents the
ultimate review of specification, design and coding. It increasing visibility of software as a
system element and the costs associates with a software failure are motivating forces for all
well planned through testing .The system is tested with giving wrong information. Cascade
deletion and, the software developer checks updating. Testing and debugging are different
activities, but debugging must be accommodated in any testing strategy.

TYPES OF TESTING

UNIT TESTING
Unit testing is the important and major part of the project. So errors can be rectified
easily in each module and program clarity can be increased. In this project, the entire system
is divided into several modules and is developed individually. Hence, unit testing is
conducted to individual modules.

INTEGRATION TESTING
Integration testing is the systematic technique for constructing the program structure
while conducting tests to uncover errors associated with integrating. After the unit test, each
module is gradually integrated to form one final system. All the modules when unit tested
will work properly but after integrating the data can cause error one module can have an
inadvertent, adverse effect on another; sub functions when combined may not produce the
desired major function; global data structures can cause problems, etc. In this project the
integration testing is performed by combing login, civil registration and status modules are
generated the report.

24
PERFORMANCE TESTING
A type of Physical test covering a wide range of engineering or functional evaluations
where a material, product, or system is not specified by detailed material or component
specifications: rather, emphasis is on the final measurable performance characteristics.
Testing can be a qualitative or quantitative procedure.

ACCEPTANCE TESTING

The User Acceptance testing focuses mainly on the functionality thereby validating
the fitness-for-use of the system by the business user. The user acceptance test is performed
by the users and application managers.

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

25
8. CONCLUSION

Finally, in online hotel management system, project has developed a secure, user-
friendly Hotel Management System. This System can take care of each member whether it’s
Owner or Customer.

This System will help them to properly manage their Hotel and help in growth
without creating and hassle. This System is completely secure since every user is provided
with user ID and Password so there is no chance of any unauthorized access.

Online Payment, Booking and cancellation make it easier to use. So, using this system
will help in reducing the labor and provide more facility for Customer to like Hotel and visit
again and again.

26
9. FUTURE ENHANCEMENT

To improve the likelihood of filling rooms, hotels tend to use several of the above
systems. The content on many hotel reservation systems is becoming increasingly similar as
more hotels sign up to all the sites. Companies thus have to either rely on specially negotiated
rates with the hotels and hotel chains or trust in the influence of search engine rankings to
draw in customers.

27
10.BIBILIOGRAPHY

Reference Books

 Eilas awared “SYSTEM ANALYSIS DESIGN” and Tata Mcgraw hill publication
sixth edition, 2003

 S. Ramachandran ”COMPUTER AIDED DESIGN” Airwalk publications, third


edition, 2003

 Richard Fairley ”SOFTWARE ENGINEERING ” concepts, Tata Mcgraw hill


publication, second, 1997

 DISTRIBUTED.NET PROGRAMMING IN ASP.NET by Nithinpande

 SQL SERVER 7.0 PROGRAMMING by John papa

 THE .NET LANGUAES: A QUICK TRANSLATION guide by Brian Bischof

Reference Websites

 www.asp.net

 www.microsoft.com

 www.codeproject.com

 www.programmersheaven.com

 www.w3schools.com

28
8. APPENDIX

TABLE SPECIFICATIONS

SOURCE CODE
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;

public partial class DisplayHotel : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["CityID"] != null)
{
int CityID = Convert.ToInt32(Session["CityID"]);
fillHotel(CityID);
fillCityName(CityID);
}
else
{
Response.Redirect("~/Home.aspx");
}

29
}
private void fillHotel(int CityID)
{
string Error = "";
DBHotel hotelObj = new DBHotel();
DataTable table = hotelObj.getAllHotelDataByCity(CityID,ref Error);
GridViewHotel.DataSource = table;
GridViewHotel.DataBind();

}
private void fillCityName(int CityID)
{
string Error = "";
DBCity cityObj = new DBCity();
LabelCityName.Text = cityObj.getCityNameByID(CityID,ref Error);
}
protected void Button_Click(object sender, EventArgs e)
{

}
protected void GridViewHotel_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
int HotelID =
Convert.ToInt32(GridViewHotel.DataKeys[e.Row.RowIndex].Value.ToString());
string Error = "";
DBHotelRoom roomObj = new DBHotelRoom();
DataTable table = roomObj.getAllHotelRoomByHotel(HotelID, ref Error);
if (Error != "")
{
Response.Write(Error);
}
30
else
{
GridView inner = (GridView)e.Row.FindControl("GridViewRooms");
inner.DataSource = table;
inner.DataBind();
}
}
}
protected void GridViewHotel_PageIndexChanging(object sender,
GridViewPageEventArgs e)
{
GridViewHotel.PageIndex = e.NewPageIndex;
int CityID = Convert.ToInt32(Session["CityID"]);
fillHotel(CityID);
}
protected void GridViewHotel_RowCommand(object sender,
GridViewCommandEventArgs e)
{
if (e.CommandName == "Message")
{
int HotelID = Convert.ToInt32(e.CommandArgument);
Session["HotelID"] = HotelID;
Response.Redirect("~/SendInquiry.aspx");
}
}
}

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

public partial class SendInquiry : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["HotelID"] == null)
{
Response.Redirect("~/DisplayHotel.aspx");
}
else
{
fillName();
}
}
private void fillName()
{
int HotelId=Convert.ToInt32(Session["HotelID"]);
string Error = "";
DBHotel hotelObj = new DBHotel();
TextBoxHotelName.Text=hotelObj.getHotelName(HotelId,ref Error);
}
protected void ButtonSend_Click(object sender, EventArgs e)
{
int HotelId=Convert.ToInt32(Session["HotelID"]);
string Error = "";
DBMessage msgObj = new DBMessage();
msgObj.addMessage(HotelId, TextBoxName.Text, TextBoxEmail.Text,
TextBoxPhone.Text,TextBoxMessage.Text, ref Error);
if (Error != "")
32
{
Response.Write(Error);
}
else
{
Response.Redirect("~/DisplayHotel.aspx");
}
}
}
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;

public partial class ShowAllHotel : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
fillHotel();
}
}
private void fillHotel()
{
string Error = "";
33
DBHotel hotelObj = new DBHotel();
DataTable table = hotelObj.getAllHotelData(ref Error);
DataListHotel.DataSource = table;
DataListHotel.DataBind();

}
protected void DataListHotel_ItemCommand(object source, DataListCommandEventArgs
e)
{
if (e.CommandName == "Hotel")
{
Session["CityID"] = e.CommandArgument;
Response.Redirect("~/DisplayHotel.aspx");
}
}
}

34
SCREEN SHOTS

35
36
37
38
39
40
41
42

You might also like