0% found this document useful (0 votes)
20 views73 pages

Sample Project Report

The document outlines the development of 'THE ECHO HOTEL' website, which features a user-friendly interface for booking hotel rooms with functionalities for both users and admins. It details the system analysis, including the existing manual processes and the proposed online system that improves efficiency and user experience. Additionally, it covers the feasibility study, system requirements, design specifications, and provides insights into the technical and operational aspects of the project.

Uploaded by

kanishkajangid04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views73 pages

Sample Project Report

The document outlines the development of 'THE ECHO HOTEL' website, which features a user-friendly interface for booking hotel rooms with functionalities for both users and admins. It details the system analysis, including the existing manual processes and the proposed online system that improves efficiency and user experience. Additionally, it covers the feasibility study, system requirements, design specifications, and provides insights into the technical and operational aspects of the project.

Uploaded by

kanishkajangid04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 73

1.

INTRODUCTION

Our website name is “THE ECHO HOTEL”. Interface of the website is very simple
and user friendly. The system being an online system will give accurate information
regarding the hotel rooms which helps to view all the room related information directly
from anywhere. The system which will allow the user to quickly and easily search a hotel
room to make their trip memorable. We developed this website using software like Visual
Studio 2010, SQL Server. The front end of the website is developed using Visual Studio
and the backend coding is write in C#. We provide two types of logins in our website i.e.

1. User Login.
2. Admin Login.

In the Admin panel some special rights were given to the admin, using these rights admin
can add, update and delete the room related details like room type, services like-Food,
Pool, Gym etc. and admin can also view and delete registered user’s details.

We provide a booking form for users, by filling this form they will become our registered
user and able to log in to the website. Registered users are those who can look for
multiple rooms and services provided by the hotel. Admin can add multiple new facilities
and can make changes in the website related to hotel rooms. Users can contact the hotel
for any enquiry. Users are given feedback form inside the website only to record their
personal views about the room.

The System is flexible since it is implemented in ASP.NET so that it provides a


user-friendly menu-driven website with online help and validation features for accurate
data capture, data storage and data retrieval and any changes can be done without
affecting change in the design specification.

1
2. SYSTEM ANALYSIS

2.1 Existing System


In the existing system all the information of a hotel or client room is proceed manually
and it has to maintain the record of the entire activity involved in the manual system.
For every room a separate file has been maintained according to the name of the user’s
room’s details.
If any person wants to check any details related to the room, then he has to go to the
details section on the website for his query related to the room. This process is very long
and time consuming.

A key part of system analysis of the existing system is gathering all the relevant
information about the present system. The system analyst has to find out how the current
system works. He must know what information together, where to find it. How to collect
it so he has to spend a lot of time talking with users and gathering the information. The
various tools can also be used for gathering the information

2
2.2 Proposed System:

✔ The Proposed system which will allow the user to quickly and easily search for a room

relevant to their choices.

✔ The register users can look for multiple rooms with multiple facilities too.

✔ The system is designed and developed in such a way that any user can come over the

website and can look for the best rooms.

✔ This system being an online system will give accurate information regarding the rooms

which helps to view all the room information directly from anywhere.

✔ Proposed system is flexible and user friendly.

✔ Designing a site should be such that easy access of the information.

✔ If members avail the access of the site they should register.

✔ Contact Us option facility is provided for users to solve their queries.

✔ Users should be able to make changes in their packages and be able to change their

account details. Users should be able to view overall rooms available in the hotel.

✔ Users should be able to remove or add facilities.

✔ Admin can only be able to make changes on the website.

3
3. FEASIBILITY STUDY
Feasibility study is the most important step in system analysis. It is the determination of whether
the project is feasible or not. Once it has been determined that a project is feasible, the analyst
can go ahead and prepare the project specification which finalizes project requirements.

It provides data about user requirements and a full identification of system objectives. A
feasibility study is carried out to select the best system that meets performance standards.

Any system performance is judged under 3 steps:

✔ Statement of constraints: Encompassing all the factors that limit the solution of the

problem.

✔ Identification of specific system objectives.

✔ Description of outputs as required by the users.

Eight steps involved in the feasibility analysis are:

✔ Form a project team and appoint a project leader.

✔ Prepare system flowcharts.

✔ Enumerate potential proposed systems.

✔ Define and identify characteristics of the proposed system.

✔ Determine and evaluate performance and cost effective of each proposed system.

✔ Weight system performance and cost data.

✔ Select the best-proposed system.

✔ Prepare and report the final project directive to management.

4
There are 3 types of feasibility considerations:

• Economic feasibility

• Technical feasibility

• Operational feasibility

3.1 Economical Feasibility

Economic Feasibility deals with the economic impact faced by the organization to implement a
new system. Financial benefits must equal or exceed the costs. The cost of conducting a full
system, including software and hardware cost for the class of application being considered
should be evaluated.

By implementing the computerized management software in our Echo Hotel Website, we are
able to store our records electronically which replace the storage area, with this we are able to
keep a backup of all our records. This again helps in reducing the cost of stationery using the
earlier system and making our system electronically better.

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. An
entrepreneur must accurately weight the cost versus benefits before taking an action.

Economic Feasibility in this project:

✔ The cost to conduct a full system investigation is possible.

✔ There is no additional cost involved in maintaining the proposed system.

5
3.2 Technical Feasibility

This is concerned with specifying equipment and software that will successfully satisfy the user
requirement. The technical needs of the system may vary considerably, but it may center on the
following situations:

✔ Whether the current/existing manual process of the system is compatible enough to

accommodate technical enhancements accommodated by the proposed candidate system.

✔ Hardware or software repairs and availability and maintenance in case of damage or

wear-tear.

✔ The facility to produce outputs in a given time.

✔ Response time under certain conditions.

✔ Ability to process a certain value of transaction at a particular speed.

✔ The examining technical feasibility configuration of the system is given more importance

than the actual makes of hardware. The configuration should give the complete picture
about the system’s requirements. The existing computer system property supports this
software. Hence it can be concluded that the proposed system is technically feasible.

6
3.3 Operational Feasibility
This system can be implemented anywhere, as there is adequate support for the user. With
minimum training the user can get familiar with it and can get better results. The system is easy
to operate so it is operationally feasible. This feasibility test asks if the system will work when it
is developed and installed. Operational feasibility in this project:

✔ The proposed system offers a greater level of user-friendliness.

✔ The proposed system produces best results and gives high performance.

✔ Implemented easily. So, this project is operationally feasible.

7
4. SYSTEM REQUIREMENT SPECIFICATIONS

4.1 Hardware Requirement


Server

Processor : Intel(R) P-IV (or above)

RAM : 512 MB (or above)

Disk Space : 2 GB (or more)

Client

Processor : Celeron 500 MHz (or more)

RAM : 128 MB (or more)

Disk Space : 500 MB

4.2 Software Requirement


Operating System : Windows XP (or above)

Web Server : IIS Server

Web Browser : IE 4 or upwards

Development Tool : ASP.NET, C#, CSS, HTML

Database : Microsoft SQL server 2005

8
5. SYSTEM DESIGN

System Design is the most creative and challenging phase in the system life cycle. Design is the
first step into the development phase for any engineered product or system. Design is a creative
process. A good design is the key to an effective system. System design is a solution to how to
approach the creation of a new system. System design transforms a logic representation of what
is required to do into the physical specification. The specification is converted into physical
reality during development.

Logical Design

The logical flow defines the functionality of a system. It includes the following steps:

✔ Reviews the current physical system – its data flows, file content, volumes, frequencies

etc.

✔ Prepares output specifications – that is, determines the format, content and frequency of

reports.

✔ Prepares input specifications – format, content and most of the input functions.

✔ Prepares edit, security and control specifications.

✔ Specifies the implementation plan.

✔ Prepares a logical design walk through of the information flow, output, input, controls

and implementation plan.

✔ Reviews benefits, costs, target dates and system constraints.

9
Physical Design

Physical system produces the working systems by defining the design specifications that tell the
programmers exactly what the candidate system must do. It includes the following steps:

✔ Design the physical system.

✔ Specify input and output media.

✔ Design the database and specify backup procedures.

✔ Design physical information flows through the system and a physical design walk

through.

✔ Plan system implementation.

✔ Prepare a conversion schedule and target date.

✔ Determine training procedures, courses and timetable

✔ Devise a test and implementation plan and specify any new hardware/software.

✔ Update benefits, costs, and conversion date and system constraints.

10
5.1. Data Flow Diagram
Context Level DFD: -

First Level DFD for Admin: -

11
Second Level DFD OF Manage User Info: -

First Level DFD for User: -

12
Second Level DFD for User Account (2.0) for User: -

13
5.2. E-R Diagram
Full System E-R Diagram

admin table
14
user table

rooms table

pay table

15
service table

service details table

16
5.3. Data Structure
about table
Primary key: id

Attribute Data types Size


id int 4
name varchar 50
dess varchar MAX
shortdes varchar MAX

admin table

Primary Key: id

Attribute Data types Size


id int 4
name varchar MAX
email varchar MAX
phone varchar MAX

booking table

Primary Key: id

Attribute Data types Size


id int 4
name varchar MAX
email varchar MAX
checkin varchar MAX
checkout varchar MAX
adult varchar MAX
child varchar MAX
room varchar MAX
sr varchar MAX

17
contact table

Primary Key: id

Attribute Data types Size


id int 4
name varchar 50
email varchar 50
sb varchar 50
mess varchar MAX

feedback table
Primary Key: id

Attribute Data types Size


id int 4
name varchar 50
image varchar MAX
fd varchar MAX
status int 25

Geninfo table
Primary Key: id

Attribute Data types Size


id int 4
name varchar 50
email varchar 100
phone varchar 50
fb varchar MAX
tw varchar MAX
ins varchar MAX
youtube varchar MAX
link varchar MAX

newsletter table
Primary Key: id

Attribute Data types Size


id int 4
email varchar 50

18
service table

Primary Key: id

Attribute Data types Size


id int 4
icon varchar 50
title varchar 50
descss varchar MAX

service details table

Primary Key: id

Attribute Data types Size


id int 4
dropp int 4
image varchar 50
decc varchar MAX

rooms table

Primary Key: id

Attribute Data types Size


id int 4
nameroom varchar 50
price varchar 50
fact1 varchar 50
fact2 varchar 50
fact3 varchar 50
DescT varchar 50
image varchar MAX

pay table

Primary Key: id

Attribute Data types Size


id int 4
num varchar 50
paym varchar 50

19
6. PROJECT DESIGN
6.1. Screen Shots

6.1.1 Echo(Front page):

20
21
22
6.1.2 : Rooms

23
24
6.1.3 : Services

25
6.1.4 : Feedback

26
6.1.5 : Admin Login

6.1.6 : Admin Dashboard

27
28
6.1.7 : General Info(Add Info)

6.1.7 : General Info(View Info)

29
6.2. Code :

6.2.1 : Front Master Page (front.master )


<%@ Master Language="C#" AutoEventWireup="true" CodeFile="front.master.cs"
Inherits="front" %>

<!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 id="Head1" runat="server">
<meta charset="utf-8">
<title>THE ECHO</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">

<!-- Favicon -->


<link href="img/favicon.ico" rel="icon">

<!-- Google Web Fonts -->


<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" >
<link
href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&family=Montserr
at:wght@400;500;600;700&display=swap" rel="stylesheet">

<!-- Icon Font Stylesheet -->


<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"
rel="stylesheet">
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
rel="stylesheet">

<!-- Libraries Stylesheet -->


<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet"
/>

<!-- Customized Bootstrap Stylesheet -->


<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- Template Stylesheet -->


<link href="css/style.css" rel="stylesheet">
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>

</head>

<body>

30
<form id="form1" runat="server">

<div>

<!-- Header Start -->


<div class="container-fluid bg-dark px-0">
<div class="row gx-0">
<div class="col-lg-3 bg-dark d-none d-lg-block">
<a href="Default.aspx" class="navbar-brand w-100 h-100 m-0 p-0 d-flex
align-items-center justify-content-center">
<asp:Repeater ID ="RepeatInformation" runat ="server">

<ItemTemplate>

<h1 class="m-0 text-primary text-uppercase"><%#DataBinder .Eval


(Container ,"DataItem.name")%></h1>
</ItemTemplate>

</asp:Repeater>
</a>
</div>
<div class="col-lg-9">
<div class="row gx-0 bg-white d-none d-lg-flex">
<div class="col-lg-7 px-5 text-start">
<div class="h-100 d-inline-flex align-items-center py-2
me-4">
<i class="fa fa-envelope text-primary me-2"></i>
<asp:Repeater ID ="Rept" runat ="server">

<ItemTemplate>

<p class="mb-0"><%#DataBinder .Eval (Container


,"DataItem.email")%></p>
</ItemTemplate>
</asp:Repeater>
</div>
<div class="h-100 d-inline-flex align-items-center py-2">
<i class="fa fa-phone-alt text-primary me-2"></i>
<asp:Repeater ID ="Rept1" runat ="server">

<ItemTemplate>
<p class="mb-0"><%#DataBinder .Eval (Container
,"DataItem.phone")%></p>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
<div class="col-lg-5 px-5 text-end">
<div class="d-inline-flex align-items-center py-2">
<a class="me-3" href="https://www.facebook.com"
target="_blank"><i class="fab fa-facebook-f"></i></a>
<a class="me-3" href="https://www.twitter.com"><i
class="fab fa-twitter"></i></a>
<a class="me-3" href="https://www.linkedin.com"><i
class="fab fa-linkedin-in"></i></a>
<a class="me-3" href="https://www.instagram.com"><i
class="fab fa-instagram"></i></a>

31
<a class="" href="https://www.youtube.com"><i class="fab
fa-youtube"></i></a>
</div>
</div>
</div>
<nav class="navbar navbar-expand-lg bg-dark navbar-dark p-3 p-lg-0">
<a href="Default.aspx" class="navbar-brand d-block d-lg-none">
<h1 class="m-0 text-primary text-uppercase">THE ECHO</h1>
</a>
<button type="button" class="navbar-toggler"
data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between"
id="navbarCollapse">
<div class="navbar-nav mr-auto py-0">
<a href="Default.aspx" class="nav-item nav-link
">Home</a>
<a href="about.aspx" class="nav-item nav-link">About</a>
<a href="service.aspx" class="nav-item
nav-link">Services</a>
<a href="room.aspx" class="nav-item nav-link">Rooms</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle"
data-bs-toggle="dropdown">Pages</a>
<div class="dropdown-menu rounded-0 m-0">
<a href="booking.aspx"
class="dropdown-item">Booking</a>
<a href="testimonial.aspx"
class="dropdown-item">Testimonial</a>
</div>
</div>
<a href="contact.aspx" class="nav-item
nav-link">Contact</a>
<a href="feedback.aspx" class="nav-item
nav-link">Feedback</a>
</div>
<a href="room.aspx" class="btn btn-primary rounded-0 py-4
px-md-5 d-none d-lg-block">ROOMS <i class="fa fa-arrow-right ms-3"></i></a>

</div>
</nav>

</div>
</div>
</div>
<!-- Header End -->

<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>
<!-- Newsletter Start -->
<div class="container newsletter mt-5 wow fadeIn" data-wow-delay="0.1s">
<div class="row justify-content-center">
<div class="col-lg-10 border rounded p-1">
<div class="border rounded text-center p-1">
<div class="bg-white rounded text-center p-5">

32
<h4 class="mb-4">Subscribe Our <span class="text-primary
text-uppercase">Newsletter</span></h4>
<div class="position-relative mx-auto" style="max-width:
400px;">

<asp:TextBox ID="TextBox1" runat="server"


class="form-control w-100 py-3 ps-4 pe-5"
placeholder="Enter your email" ></asp:TextBox>
<asp:Button ID="Button1" runat="server"
class="btn btn-primary py-2 px-3 position-absolute
top-0 end-0 mt-2 me-2"
Text="Submit" onclick="Button1_Click" />

</div>
</div>
</div>
</div>
</div>
</div>
<!-- Newsletter End -->
<!-- Footer Start -->
<div class="container-fluid bg-dark text-light footer wow fadeIn"
data-wow-delay="0.1s">
<div class="container pb-5">
<div class="row g-5">
<div class="col-md-6 col-lg-4">
<div class="bg-primary rounded p-4">
<a href="index.html"><h1 class="text-white text-uppercase
mb-3">THE ECHO</h1></a>
<p class="text-white mb-0">
Download <a class="text-dark
fw-medium" href="https://htmlcodex.com/hotel-html-template-pro">The echo – Premium
Version</a>, build a professional website for your hotel business and grab the attention
of new visitors upon your site’s launch.
</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<h6 class="section-title text-start text-primary text-uppercase
mb-4">Contact</h6>
<p class="mb-2"><i class="fa fa-map-marker-alt me-3"></i>Ratanada
circle,jodhpur,rajasthan</p>
<p class="mb-2"><i class="fa fa-phone-alt me-3"></i>+91
8890074144</p>
<p class="mb-2"><i class="fa fa-envelope
me-3"></i>[email protected]</p>
<div class="d-flex pt-2">
<a class="btn btn-outline-light btn-social"
href="https://www.twitter.com"><i class="fab fa-twitter"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.facebook.com"><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.youtube.com"><i class="fab fa-youtube"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.linkedin.com"><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.instagram.com"><i class="fab fa-instagram"></i></a>
</div>

33
</div>
<div class="col-lg-5 col-md-12">
<div class="row gy-5 g-4">
<div class="col-md-6">
<h6 class="section-title text-start text-primary
text-uppercase mb-4">Company</h6>
<a class="btn btn-link" href="about.aspx">About Us</a>
<a class="btn btn-link" href="contact.aspx">Contact
Us</a>
<a class="btn btn-link" href="pv.aspx">Privacy Policy</a>
<a class="btn btn-link" href="term.aspx">Terms &
Condition</a>
<a class="btn btn-link" href="support.aspx">Support</a>
</div>
<div class="col-md-6">
<h6 class="section-title text-start text-primary
text-uppercase mb-4">Services</h6>
<a class="btn btn-link" href="food.aspx">Food &
Restaurant</a>
<a class="btn btn-link" href="spa.aspx">Spa & Fitness</a>
<a class="btn btn-link" href="game.aspx">Sports &
Gaming</a>
<a class="btn btn-link" href="party.aspx">Event &
Party</a>
<a class="btn btn-link" href="gym.aspx">GYM & Yoga</a>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="copyright">
<div class="row">
<div class="col-md-6 text-center text-md-start mb-3 mb-md-0">
&copy; <a class="border-bottom" href="#">THE ECHO</a>, All
Right Reserved.

Designed By <a class="border-bottom"


href="https://htmlcodex.com">Vaibhav,Sujal,Malika</a>
</div>
<div class="col-md-6 text-center text-md-end">
<div class="footer-menu">
<a href="Default.aspx">Home</a>

<a href="support.aspx">Help</a>

</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer End -->

<!-- Back to Top -->


<a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"><i class="bi
bi-arrow-up"></i></a>

34
</div>

<!-- JavaScript Libraries -->


<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></scri
pt>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/counterup/counterup.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/tempusdominus/js/moment.min.js"></script>
<script src="lib/tempusdominus/js/moment-timezone.min.js"></script>
<script src="lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js"></script>

<!-- Template Javascript -->


<script src="js/main.js"></script>
</div>
</form>
</body>
</html>

6.2.2 Front page (Default.aspx)


<%@ Page Title="" Language="C#" MasterPageFile="~/front.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<div class="container-xxl bg-white p-0">
<!-- Spinner Start -->
<div id="spinner" class="show bg-white position-fixed translate-middle w-100
vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
<div class="spinner-border text-primary" style="width: 60px; height: 60px;"
role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
<!-- Spinner End -->

<!-- Carousel Start -->


<div class="container-fluid p-0 mb-5">
<div id="header-carousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="w-100" src="img/IMG_20230904_094808.jpg " alt="Image"
height ="600px">
<div class="carousel-caption d-flex flex-column
align-items-center justify-content-center">

35
<div class="p-3" style="max-width: 700px;">
<h6 class="section-title text-white text-uppercase mb-3
animated slideInDown">The Echo Living</h6>
<h1 class="display-3 text-white mb-4 animated
slideInDown">Discover A Brand Luxurious Hotel</h1>
<a href="room.aspx" class="btn btn-primary py-md-3
px-md-5 me-3 animated slideInLeft">Our Packages</a>

</div>
</div>
</div>
<div class="carousel-item">
<img class="w-100" src="img/imperial_port_19_6011-copy-1.jpg"
alt="Image" height="600px">
<div class="carousel-caption d-flex flex-column
align-items-center justify-content-center">
<div class="p-3" style="max-width: 700px;">
<h6 class="section-title text-white text-uppercase mb-3
animated slideInDown">The Echo Living</h6>
<h1 class="display-3 text-white mb-4 animated
slideInDown">Discover A Brand Luxurious Hotel</h1>
<a href="" class="btn btn-primary py-md-3 px-md-5 me-3
animated slideInLeft">Our Package</a>

</div>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button"
data-bs-target="#header-carousel"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button"
data-bs-target="#header-carousel"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- Carousel End -->

<!-- About Start -->


<div class="container-xxl py-5">
<div class="container">
<div class="row g-5 align-items-center">
<div class="col-lg-6">
<h6 class="section-title text-start text-primary
text-uppercase">About Us</h6>
<h1 class="mb-4">Welcome to <span class="text-primary
text-uppercase"><asp:Repeater ID ="RepeatInformation11" runat ="server">

36
<ItemTemplate>

<h1 class="m-0 text-primary text-uppercase"><%#DataBinder .Eval


(Container ,"DataItem.name")%></h1>
</ItemTemplate>

</asp:Repeater></span></h1>
<p class="mb-4"> <asp:Repeater ID ="Rept11" runat ="server">

<ItemTemplate>

<p class="mb-0"><%#DataBinder .Eval (Container


,"DataItem.shortdes")%></p>
</ItemTemplate>
</asp:Repeater></p>
<div class="row g-3 pb-4">
<div class="col-sm-4 wow fadeIn" data-wow-delay="0.1s">

</div>
<div class="col-sm-4 wow fadeIn" data-wow-delay="0.3s">

</div>
<div class="col-sm-4 wow fadeIn" data-wow-delay="0.5s">

</div>
</div>
<a class="btn btn-primary py-3 px-5 mt-2"
href="about.aspx">Explore More</a>
</div>
<div class="col-lg-6">
<div class="row g-3">
<div class="col-6 text-end">
<img class="img-fluid rounded w-75 wow zoomIn"
data-wow-delay="0.1s" src="img/about-1.jpg" style="margin-top: 25%;">
</div>
<div class="col-6 text-start">
<img class="img-fluid rounded w-100 wow zoomIn"
data-wow-delay="0.3s" src="img/about-2.jpg">
</div>
<div class="col-6 text-end">
<img class="img-fluid rounded w-50 wow zoomIn"
data-wow-delay="0.5s" src="img/about-3.jpg">
</div>
<div class="col-6 text-start">
<img class="img-fluid rounded w-75 wow zoomIn"
data-wow-delay="0.7s" src="img/about-4.jpg">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- About End -->
<!-- Service Start -->
<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">

37
<h6 class="section-title text-center text-primary text-uppercase">Our
Services</h6>
<h1 class="mb-5">Explore Our <span class="text-primary
text-uppercase">Services</span></h1>
</div>
<div class="row g-4">
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">
<a class="service-item rounded" href="room.aspx">
<div class="service-icon bg-transparent border rounded p-1">
<div class="w-100 h-100 border rounded d-flex
align-items-center justify-content-center">
<i class="fa fa-hotel fa-2x text-primary"></i>
</div>
</div>
<h5 class="mb-3">Rooms & Appartment</h5>
<p class="text-body mb-0">There is nothing more important
than a good,safe,secure home.</p>
</a>
</div>
<asp:Repeater ID ="RepeatInformation1" runat ="server">
<ItemTemplate>
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.2s">
<a class="service-item rounded"
href='food.aspx?title=<%#DataBinder .Eval (Container ,"DataItem.id")%>'>
<div class="service-icon bg-transparent border rounded p-1">
<div class="w-100 h-100 border rounded d-flex
align-items-center justify-content-center">
<i class="<%#DataBinder .Eval (Container
,"DataItem.icon")%>"></i>
</div>
</div>
<h5 class="mb-3"><%#DataBinder .Eval (Container
,"DataItem.title")%></h5>
<p class="text-body mb-0"><%#DataBinder .Eval (Container
,"DataItem.descss")%></p>
</a>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Service End -->

<!-- Room Start -->


<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">
<h6 class="section-title text-center text-primary text-uppercase">Our
Rooms</h6>
<h1 class="mb-5">Explore Our <span class="text-primary
text-uppercase">Rooms</span></h1>
</div>
<div class="row g-4">
<asp:Repeater ID ="RepeatInformation" runat ="server">
<ItemTemplate>

<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">

38
<div class="room-item shadow rounded overflow-hidden">
<div class="position-relative">
<img class="img-fluid"
src='adminecho/RoomImages/<%#DataBinder .Eval (Container ,"DataItem.image")%>' alt="">
<small class="position-absolute start-0 top-100
translate-middle-y bg-primary text-white rounded py-1 px-3 ms-4">Rs.<%#DataBinder .Eval
(Container ,"DataItem.price")%>/Night</small>
</div>
<div class="p-4 mt-2">
<div class="d-flex justify-content-between mb-3">
<h5 class="mb-0"><%#DataBinder .Eval (Container
,"DataItem.nameroom")%></h5>
<div class="ps-2">
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
</div>
</div>
<div class="d-flex mb-3">
<small class="border-end me-3 pe-3"><i class="fa
fa-bed text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact1")%>
Bed</small>
<small class="border-end me-3 pe-3"><i class="fa
fa-bath text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact2")%>
Bath</small>
<small><i class="fa fa-wifi text-primary
me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact3")%> Wifi</small>
</div>
<p class="text-body mb-3"><%#DataBinder .Eval (Container
,"DataItem.DescT")%></p>
<div class="d-flex justify-content-between">
<a class="btn btn-sm btn-primary rounded py-2 px-4"
href="view.aspx">View Detail</a>
<a class="btn btn-sm btn-dark rounded py-2 px-4"
href="booking.aspx">Book Now</a>
</div>
</div>
</div>
</div>

</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Room End -->

<!-- Testimonial Start -->


<div class="container-xxl testimonial my-5 py-5 bg-dark wow zoomIn"
data-wow-delay="0.1s">
<div class="container">
<div class="owl-carousel testimonial-carousel py-5">
<asp:Repeater ID ="RepeatInformation2" runat ="server">
<ItemTemplate>

39
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">

<p><%#DataBinder .Eval (Container ,"DataItem.fd")%></p>


<div class="d-flex align-items-center">

<img class="img-fluid flex-shrink-0 rounded"


src="fbimg/<%#DataBinder .Eval (Container ,"DataItem.image")%> "style="width: 45px;
height: 45px;">

<div class="ps-3">
<h6 class="fw-bold mb-1"><%#DataBinder .Eval (Container
,"DataItem.name")%></h6>

</div>
</div>
<i class="fa fa-quote-right fa-3x text-primary position-absolute
end-0 bottom-0 me-4 mb-n1"></i>

</div>
</ItemTemplate>
</asp:Repeater>

</div>
</div>
</div>
<!-- Testimonial End -->

</div>
</asp:Content>

6.2.2 Front page (Default.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.Data;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from rooms";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();

40
String cn1 = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn1 = new SqlConnection(cn1);
SqlCommand cd1 = new SqlCommand();
cd1.Connection = cnn1;
cd1.CommandText = "select * from ss";
cnn1.Open();
RepeatInformation1.DataSource = cd1.ExecuteReader();
RepeatInformation1.DataBind();
cnn1.Close();
String cn2 = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn2 = new SqlConnection(cn2);
SqlCommand cd2 = new SqlCommand();
cd2.Connection = cnn2;
cd2.CommandText = "select * from fb";
cnn2.Open();
RepeatInformation2.DataSource = cd2.ExecuteReader();
RepeatInformation2.DataBind();
cnn2.Close();
String cn3 = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn3 = new SqlConnection(cn3);
SqlCommand cd3 = new SqlCommand();
cd3.Connection = cnn3;
cd3.CommandText = "select * from ab";
cnn3.Open();
RepeatInformation11.DataSource = cd3.ExecuteReader();
RepeatInformation11.DataBind();
cnn3.Close();
cnn3.Open();
Rept11.DataSource = cd3.ExecuteReader();
Rept11.DataBind();
cnn3.Close();
}
}

6.2.3 Room page (Room.aspx)


<%@ Page Title="" Language="C#" MasterPageFile="~/front.master" AutoEventWireup="true"
CodeFile="room.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<div class="container-xxl bg-white p-0">

<!-- Page Header Start -->


<div class="container-fluid page-header mb-5 p-0" style="background-image:
url(img/IMG_20230904_094808.jpg);">

41
<div class="container-fluid page-header-inner py-5">
<div class="container text-center pb-5">
<h1 class="display-3 text-white mb-3 animated slideInDown">Rooms</h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb justify-content-center text-uppercase">
<li class="breadcrumb-item"><a
href="Default.aspx">Home</a></li>
<li class="breadcrumb-item"><a href="#">Pages</a></li>
<li class="breadcrumb-item text-white active"
aria-current="page">Rooms</li>
</ol>
</nav>
</div>
</div>
</div>
<!-- Page Header End -->

<!-- Room Start -->


<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">
<h6 class="section-title text-center text-primary text-uppercase">Our
Rooms</h6>
<h1 class="mb-5">Explore Our <span class="text-primary
text-uppercase">Rooms</span></h1>
</div>
<div class="row g-4">
<asp:Repeater ID ="RepeatInformation" runat ="server">
<ItemTemplate>

<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">


<div class="room-item shadow rounded overflow-hidden">
<div class="position-relative">
<img class="img-fluid"
src='adminecho/RoomImages/<%#DataBinder .Eval (Container ,"DataItem.image")%>' alt="">
<small class="position-absolute start-0 top-100
translate-middle-y bg-primary text-white rounded py-1 px-3 ms-4">Rs.<%#DataBinder .Eval
(Container ,"DataItem.price")%>/Night</small>
</div>
<div class="p-4 mt-2">
<div class="d-flex justify-content-between mb-3">
<h5 class="mb-0"><%#DataBinder .Eval (Container
,"DataItem.nameroom")%></h5>
<div class="ps-2">
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
</div>
</div>
<div class="d-flex mb-3">
<small class="border-end me-3 pe-3"><i class="fa
fa-bed text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact1")%>
Bed</small>

42
<small class="border-end me-3 pe-3"><i class="fa
fa-bath text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact2")%>
Bath</small>
<small><i class="fa fa-wifi text-primary
me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact3")%> Wifi</small>
</div>
<p class="text-body mb-3"><%#DataBinder .Eval (Container
,"DataItem.DescT")%></p>
<div class="d-flex justify-content-between">
<a class="btn btn-sm btn-primary rounded py-2 px-4"
href="view.aspx">View Detail</a>
<a class="btn btn-sm btn-dark rounded py-2 px-4"
href="booking.aspx">Book Now</a>
</div>
</div>
</div>
</div>

</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Room End -->

<!-- Testimonial Start -->


<div class="container-xxl testimonial my-5 py-5 bg-dark wow zoomIn"
data-wow-delay="0.1s">
<div class="container">
<div class="owl-carousel testimonial-carousel py-5">
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">
<p>I enjoyed the services provided by you.</p>
<div class="d-flex align-items-center">
<img class="img-fluid flex-shrink-0 rounded"
src="img/IMG-20231211-WA0003.jpg" style="width: 45px; height: 45px;">
<div class="ps-3">
<h6 class="fw-bold mb-1">Malika</h6>
<small>Teacher</small>
</div>
</div>
<i class="fa fa-quote-right fa-3x text-primary position-absolute
end-0 bottom-0 me-4 mb-n1"></i>
</div>
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">
<p>The experince was great and services were amazing</p>
<div class="d-flex align-items-center">
<img class="img-fluid flex-shrink-0 rounded"
src="img/IMG-20231211-WA0000.jpg" style="width: 45px; height: 45px;">
<div class="ps-3">
<h6 class="fw-bold mb-1">Megha</h6>
<small>Teacher</small>
</div>
</div>
<i class="fa fa-quote-right fa-3x text-primary position-absolute
end-0 bottom-0 me-4 mb-n1"></i>

43
</div>
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">
<p>Satisfied with the room and the services were great</p>
<div class="d-flex align-items-center">
<img class="img-fluid flex-shrink-0 rounded"
src="img/IMG-20231211-WA0001.jpg" style="width: 45px; height: 45px;">
<div class="ps-3">

<h6 class="fw-bold mb-1">Sujal</h6>


<small>Gamer</small>
</div>
</div>
<i class="fa fa-quote-right fa-3x text-primary position-absolute
end-0 bottom-0 me-4 mb-n1"></i>
</div>
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">
<p>The view from the room was amazing and hospitality were
fine</p>
<div class="d-flex align-items-center">
<img class="img-fluid flex-shrink-0 rounded"
src="img/IMG_20231211_103113.jpg" style="width: 45px; height: 45px;">
<div class="ps-3">
<h6 class="fw-bold mb-1">Vaibhav</h6>
<small>Gamer</small>
</div>
</div>
<i class="fa fa-quote-right fa-3x text-primary position-absolute
end-0 bottom-0 me-4 mb-n1"></i>
</div>
</div>
</div>
</div>
<!-- Testimonial End -->

</div>
</asp:Content>

6.2.3 Room page (Room.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.Data;

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


{
protected void Page_Load(object sender, EventArgs e)

44
{
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from rooms";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();

}
}

6.2.4 Admin Master Page(AdminMaster.master)


<%@ Master Language="C#" AutoEventWireup="true" CodeFile="AdminMaster.master.cs"
Inherits="adminecho_AdminMaster" %>

<!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">
<meta charset="UTF-8" />
<title> Dashboard </title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->
<!-- GLOBAL STYLES -->
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/theme.css" />
<link rel="stylesheet" href="assets/css/MoneAdmin.css" />
<link rel="stylesheet" href="assets/plugins/Font-Awesome/css/font-awesome.css" />
<!--END GLOBAL STYLES -->

<!-- PAGE LEVEL STYLES -->


<link href="assets/css/layout2.css" rel="stylesheet" />
<link href="assets/plugins/flot/examples/examples.css" rel="stylesheet" />
<link rel="stylesheet" href="assets/plugins/timeline/timeline.css" />
<!-- END PAGE LEVEL STYLES -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body class="padTop53 " >

45
<form id="form1" runat="server" enctype="multipart/form-data">
<div>
<!-- MAIN WRAPPER -->
<div id="wrap" >

<!-- HEADER SECTION -->


<div id="top">

<nav class="navbar navbar-inverse navbar-fixed-top " style="padding-top:


10px;">
<a data-original-title="Show/Hide Menu" data-placement="bottom"
data-tooltip="tooltip" class="accordion-toggle btn btn-primary btn-sm visible-xs"
data-toggle="collapse" href="#menu" id="menu-toggle">
<i class="icon-align-justify"></i>
</a>
<!-- LOGO SECTION -->
<header class="navbar-header">

<a href="index1.aspx" class="navbar-brand">

<img src="assets/img/logo.png" />


</a>
</header>
<!-- END LOGO SECTION -->
<ul class="nav navbar-top-links navbar-right">

<!-- MESSAGES SECTION -->


<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<span class="label label-success">2</span> <i
class="icon-envelope-alt"></i>&nbsp; <i class="icon-chevron-down"></i>
</a>

<ul class="dropdown-menu dropdown-messages">


<li>
<a href="#">
<div>
<strong>Vaibhav</strong>
<span class="pull-right text-muted">
<em>Today</em>
</span>
</div>
<div>Good Morning
<br />
<span class="label
label-primary">Important</span>

</div>
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<div>
<strong>Sujal</strong>
<span class="pull-right text-muted">
<em>Yesterday</em>

46
</span>
</div>
<div>HI
<br />
<span class="label label-success"> Moderate
</span>
</div>
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<div>
<strong>Malika</strong>
<span class="pull-right text-muted">
<em>26 Jan 2014</em>
</span>
</div>
<div>Hello
<br />
<span class="label label-danger"> Low </span>
</div>
</a>
</li>
<li class="divider"></li>
<li>
<a class="text-center" href="#">
<strong>Read All Messages</strong>
<i class="icon-angle-right"></i>
</a>
</li>
</ul>

</li>

<!--ADMIN SETTINGS SECTIONS -->

<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-user "></i>&nbsp; <i class="icon-chevron-down
"></i>
</a>

<ul class="dropdown-menu dropdown-user">


<li class="divider"></li>
<li><a href="../Default.aspx"><i class="icon-signout"></i>
Logout </a>
</li>
</ul>

</li>
<!--END ADMIN SETTINGS -->
</ul>

</nav>

47
</div>
<!-- END HEADER SECTION -->

<!-- MENU SECTION -->


<div id="left" >
<div class="media user-media well-small">
<a class="user-link" href="#">
<img class="media-object img-thumbnail user-img" alt="User Picture"
src="assets/img/user1.jpg" height="70px" width="70px"/>
</a>
<br />
<div class="media-body">
<h5 class="media-heading"> Vaibhav</h5>
<ul class="list-unstyled user-info">

<li>
<a class="btn btn-success btn-xs btn-circle" style="width:
10px;height: 12px;"></a> Online

</li>

</ul>
</div>
<br />
</div>

<ul id="menu" class="collapse">

<li class="panel active">


<a href="index1.aspx" >
<i class="icon-table"></i> Dashboard

</a>
</li>

<li class="panel ">


<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav2">
<i class="icon-tasks"> </i> General Info

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component-nav2">

<li class=""><a href="Addinfo.aspx"><i


class="icon-angle-right"></i> Add Info </a></li>
<li class=""><a href="viewinfo.aspx"><i
class="icon-angle-right"></i> View Info </a></li>

</ul>

48
</li>

<li class="panel">
<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav3">
<i class="icon-tasks"> </i> About

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component-nav3">

<li class=""><a href="ab.aspx"><i class="icon-angle-right"></i>


Add </a></li>
<li class=""><a href="abv.aspx"><i class="icon-angle-right"></i>
View </a></li>

</ul>
</li>

<li class="panel ">


<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav5">
<i class="icon-tasks"> </i> Rooms

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component-nav5">

<li class=""><a href="AddRooms.aspx"><i


class="icon-angle-right"></i> Add </a></li>
<li class=""><a href="rv.aspx"><i class="icon-angle-right"></i>
View </a></li>

</ul>
</li>

<li class="panel ">


<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component">
<i class="icon-tasks"> </i>Add Services

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component">

<li class=""><a href="addservice.aspx"><i


class="icon-angle-right"></i> Add </a></li>
<li class=""><a href="ss.aspx"><i class="icon-angle-right"></i>
View </a></li>

</ul>
</li>

49
<li class="panel ">
<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component1">
<i class="icon-tasks"> </i> Services Detail

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component1">

<li class=""><a href="addservicedet.aspx"><i


class="icon-angle-right"></i> Add </a></li>
<li class=""><a href="asd.aspx"><i class="icon-angle-right"></i>
View </a></li>

</ul>
</li>
<li class="panel ">
<a href="fd.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav7">
<i class="icon-tasks"> </i> Feedback

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>

</li>
<li class="panel ">
<a href="ns.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav8">
<i class="icon-tasks"> </i> Newsletter

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>

</li>

<li class="panel ">


<a href="bk.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav10">
<i class="icon-tasks"> </i> Booking

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>

</li>
<li class="panel ">
<a href="pm.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav11">
<i class="icon-tasks"> </i> Payment

<span class="pull-right">

50
<i class="icon-angle-left"></i>
</span>
</a>

</li>

<li class="panel ">


<a href="contect.aspx">
<i class="icon-tasks"> </i> contect

<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>

</li>
</ul>

</div>
<!--END MENU SECTION -->

<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>
</div>
<!-- FOOTER -->
<div id="footer">
<p>&copy; the echo &nbsp;2023 &nbsp;</p>
</div>
<!--END FOOTER -->

<!-- GLOBAL SCRIPTS -->


<script src="assets/plugins/jquery-2.0.3.min.js"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/plugins/modernizr-2.6.2-respond-1.1.0.min.js"></script>
<!-- END GLOBAL SCRIPTS -->

<!-- PAGE LEVEL SCRIPTS -->


<script src="assets/plugins/flot/jquery.flot.js"></script>
<script src="assets/plugins/flot/jquery.flot.resize.js"></script>
<script src="assets/plugins/flot/jquery.flot.time.js"></script>
<script src="assets/plugins/flot/jquery.flot.stack.js"></script>
<script src="assets/js/for_index.js"></script>

<!-- END PAGE LEVEL SCRIPTS -->


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

51
6.2.5 Admin Dashboard(index1.aspx)
<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="index1.aspx.cs" Inherits="adminecho_index1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--PAGE CONTENT -->
<div id="content">

<div class="inner" style="min-height: 700px;">


<div class="row">
<div class="col-lg-12">
<h1> Admin Dashboard </h1>
<img src="../img/IMG_20230904_094808.jpg" height ="500px" width
="1015px"/>
<h1>Welcome</h1>
</div>

</div>

</div>

</div>
<!--END PAGE CONTENT -->
</asp:Content>

6.2.6 Add General Information (Addinfo.aspx)


<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="Addinfo.aspx.cs" Inherits="adminecho_Addinfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--PAGE CONTENT -->
<div id="content">

<div class="inner">
<div class="row">
<div class="col-lg-12">

<h2 > Add General Information </h2>

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

<div class="row">

52
<div class="col-lg-12">
<div class="box primary">
<header>
<div class="icons"><i class="icon-building"></i></div>
<h5>Add Info</h5>

</header>
<div class="body collapse in" id="div3">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Basic Elements
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<label>Name Of Hotel</label>
<asp:TextBox ID="TextBox1"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Enter Name"
ControlToValidate="TextBox1" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Email</label>
<asp:TextBox ID="TextBox2"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator1" runat="server"
ErrorMessage="Enter Proper Email"
ControlToValidate="TextBox2" ForeColor="Red"

ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressi
onValidator>

</div>
<div class="form-group">
<label>Phone</label>
<asp:TextBox ID="TextBox3"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server"
ErrorMessage="Enter Proper
Number" ControlToValidate="TextBox3" ForeColor="Red"

ValidationExpression="\d{10}"></asp:RegularExpressionValidator>
</div>
<div class="form-group">
<label>Facbook</label>

53
<asp:TextBox ID="TextBox4"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox4" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>YouTube</label>
<asp:TextBox ID="TextBox5"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox5" ForeColor="Red"></asp:RequiredFieldValidator>
</div>

<div class="form-group">
<label>Twitter</label>
<asp:TextBox ID="TextBox6"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox6" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Instagram</label>
<asp:TextBox ID="TextBox7"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox7" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>LinkedIn</label>
<asp:TextBox ID="TextBox8"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox8" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<asp:Button ID="Button1" runat="server"
Text="Add" class="btn btn-default"
onclick="Button1_Click" />

</div>

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

</div>

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

</div>
<!--END PAGE CONTENT -->

</asp:Content>

6.2.6 Add General Information (Addinfo.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.Data;

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


{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
String conn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection scon = new SqlConnection(conn);

scon.Open();
String q = "insert into GenInfo(id,name,email,phone,fb,youtube,tw,ins,link)
values('" + 1 + "','" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text +
"','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
TextBox7.Text + "','" + TextBox8.Text + "')";
SqlCommand scmd = new SqlCommand(q, scon);
scmd.ExecuteNonQuery();
scon.Close();
}
}

6.2.7 View General Information (viewinfo.aspx)


<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="viewinfo.aspx.cs" Inherits="adminecho_viewinfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--PAGE CONTENT -->

55
<div id="content">

<div class="inner">
<div class="row">
<div class="col-lg-12">

<h2 > Views </h2>

</div>
</div>
<hr />
<div class="col-lg-12">
<div id="fontAwesome">

<table border ="1" class="nav-justified">


<tr>
<td>Sno</td>
<td>Name</td>
<td>Email</td>
<td>Phone</td>
<td>Facebook</td>
<td>Twitter</td>
<td>Ins</td>
<td>YouTube</td>
<td>LinkedIn</td>
<td>Delete</td>
</tr>
<asp:Repeater ID ="RepeatInformation" runat ="server">
<ItemTemplate>
<tr>
<td><%#DataBinder .Eval (Container,"DataItem.id")%></td>
<td><%#DataBinder .Eval (Container,"DataItem.name")%></td>

<td><%#DataBinder .Eval (Container ,"DataItem.email")%></td>


<td><%#DataBinder .Eval (Container ,"DataItem.phone")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.fb")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.tw")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.ins")%></td>
<td><%#DataBinder .Eval (Container,"DataItem.youtube")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.link")%></td>

<td><a href ="viewinfo.aspx?id=<%#DataBinder .Eval


(Container ,"DataItem.id")%>" >Delete</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>

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

56
<!--END PAGE CONTENT -->
</asp:Content>

6.2.7 View General Information (viewinfo.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.Data;

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


{
protected void Page_Load(object sender, EventArgs e)
{
String ids = Request.QueryString["id"];

if (ids!=null)
{
int id = Convert.ToInt32(ids);
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "delete from GenInfo where id='"+id+"'";
cnn.Open();
cd.ExecuteNonQuery();
cnn.Close();
Response.Redirect("viewinfo.aspx");
}
else
{

String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from GenInfo";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();

}
}

57
6.2.8 Add Rooms (AddRooms.aspx)
<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="AddRooms.aspx.cs" Inherits="adminecho_Addinfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--PAGE CONTENT -->
<div id="content">

<div class="inner">
<div class="row">
<div class="col-lg-12">

<h2 > Add Rooms </h2>

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

<div class="row">

<div class="col-lg-12">
<div class="box primary">
<header>
<div class="icons"><i class="icon-building"></i></div>
<h5>Add Info</h5>

</header>
<div class="body collapse in" id="div3">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Basic Elements
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<label>Name Of the Room</label>
<asp:TextBox ID="TextBox1"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Enter Name"
ControlToValidate="TextBox1" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">

58
<label>Price</label>
<asp:TextBox ID="TextBox2"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Enter Price"
ControlToValidate="TextBox2" ForeColor="Red"></asp:RequiredFieldValidator>

</div>
<div class="form-group">
<label>fac1</label>
<asp:TextBox ID="TextBox3"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Enter Fact1"
ControlToValidate="TextBox3" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>fact2</label>
<asp:TextBox ID="TextBox4"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Enter Fact2"
ControlToValidate="TextBox4" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>fact2</label>
<asp:TextBox ID="TextBox5"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Enter Fact3"
ControlToValidate="TextBox5" ForeColor="Red"></asp:RequiredFieldValidator>
</div>

<div class="form-group">
<label>Desc</label>
<asp:TextBox ID="TextBox6"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server"
ErrorMessage="Enter Desc"
ControlToValidate="TextBox6" ForeColor="Red"></asp:RequiredFieldValidator>
</div>

<div class="form-group">
<label>Image</label>
<asp:FileUpload ID="FileUpload1"
runat="server" />
<asp:RequiredFieldValidator
ID="RequiredFieldValidator7" runat="server"
ErrorMessage="Enter Image"
ControlToValidate="FileUpload1" ForeColor="Red"></asp:RequiredFieldValidator>
</div>

59
<asp:Button ID="Button1" runat="server"
Text="Add" class="btn btn-default"
onclick="Button1_Click" />

</div>

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

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

</div>
<!--END PAGE CONTENT -->

</asp:Content>

6.2.8 Add Rooms (AddRooms.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.Data;

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


{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{

if (FileUpload1.PostedFile.FileName != "")
{
string fn = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);
string SaveLocation = Server.MapPath("RoomImages") + "\\" + fn;
FileUpload1.PostedFile.SaveAs(SaveLocation);
}
String conn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";

60
SqlConnection scon = new SqlConnection(conn);

scon.Open();
String q = "insert into rooms(nameroom,price,fact1,fact2,fact3,DescT,image)
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
FileUpload1.PostedFile.FileName + "')";
SqlCommand scmd = new SqlCommand(q, scon);
scmd.ExecuteNonQuery();
scon.Close();
}
}

6.2.9 View Rooms (rv.aspx)


<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="rv.aspx.cs" Inherits="adminecho_rv" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--PAGE CONTENT -->
<div id="content">

<div class="inner">
<div class="row">
<div class="col-lg-12">

<h2 > Views </h2>

</div>
</div>
<hr/>
<div class="col-lg-12">
<div id="fontAwesome">

<table border ="1" class="nav-justified">


<tr>
<td>Sno</td>
<td>Name</td>
<td>Price</td>
<td>Fact1</td>
<td>Fact2</td>
<td>Fact3</td>
<td>DescT</td>
<td>Image</td>
<td>Delete</td>
</tr>
<asp:Repeater ID ="RepeatInformation" runat ="server">
<ItemTemplate>
<tr>
<td><%#DataBinder .Eval (Container ,"DataItem.id")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.nameroom")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.price")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.fact1")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.fact2")%></td>

61
<td><%#DataBinder .Eval (Container ,"DataItem.fact3")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.DescT")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.image")%></td>

<td><a href ="rv.aspx?id=<%#DataBinder .Eval (Container


,"DataItem.id")%>" >Delete</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>

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

<!--END PAGE CONTENT -->


</asp:Content>

6.2.9 View Rooms (rv.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.Data;
public partial class adminecho_rv : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
String ids = Request.QueryString["id"];

if (ids != null)
{
int id = Convert.ToInt32(ids);
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "delete from rooms where id='" + id + "'";
cnn.Open();
cd.ExecuteNonQuery();
cnn.Close();
Response.Redirect("rv.aspx");
}
else
{

62
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from rooms";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();

}
}
}

63
7. TESTING
Module testing, also known as unit testing, is a fundamental practice in software development
where individual units or components of a software application are tested in isolation. The term
"module" refers to the smallest testable part of a software application, typically a single function,
method, or class.

The primary objective of module testing is to verify that each unit of the software behaves as
expected and performs its intended functionality correctly, according to its specifications. This
testing approach involves isolating the unit being tested from the rest of the application, often
through the use of stubs, mocks, or drivers, to ensure that its behavior can be observed and
validated independently.

Module testing is typically conducted by software developers during the coding phase of the
software development lifecycle. As developers write code for individual modules, they create
corresponding unit tests to assess the correctness of the module's behavior under various
conditions, including normal operation, boundary cases, and error conditions.

Automated testing frameworks and tools are commonly used to facilitate the creation, execution,
and maintenance of unit tests. These tools help developers streamline the testing process,
automate the execution of test cases, and quickly identify defects or regressions in the codebase.

By performing module testing, developers can detect and address defects early in the
development process, reducing the likelihood of defects propagating to other parts of the
application. Additionally, module testing promotes code modularity, reusability, and
maintainability, as well as providing documentation and examples of how individual components
of the software should behave.

Overall, module testing plays a crucial role in ensuring the quality, reliability, and stability of
software applications, enabling developers to deliver high-quality software products that meet
user expectations and requirements.

64
Sr. No. Testing Action Expected Actual Result Testing
Module Result Result
1.0 Login Clicked on Login Login Login window Success.
Button of Home Page window is opening.
Menu. should be
Open .
1.1 (if username and Validation After checking Error
password Empty) should be validation show message
Clicked on login button check for message “Enter show
of login page. username and username and (Success)
password. Enter
password”.
1.2 Fill username and Check Redirect to Success.
password then clicked username and Admin page.
on login button. password if
valid.
1.3 Fill username and Check Show message Error
password then clicked username and “Username and Message
on login button. password if password Show
invalid. Invalid” (Success)
2.0 General Drop down Check Drop Show drop Success
Info Down list down list
appearing “Add Info and
View Info”
2.1 Add Info Click on addinfo option Form Show the Success
appearing Form fields.

2.1.1 Add Click on add button Reloads the Saving the Success
Button page details over
database.

65
2.1.2 (if fields Empty) Validation After checking Error
Clicked on add info of should be validation show message
General info. check for message “Enter show
fields. proper details”. (Success)
2.2 View Info Click on viewinfo Table Show the Success
option appearing details.
3.0 About Drop Down Check Drop Show drop Success
Down list down list
appearing “Add Info and
View Info”
3.1 Add Click on add option Form Show the Success
appearing Form fields.

3.1.1 Add Click on add button Reloads the Saving the Success
Button page details over
database.
3.1.2 (if fields Empty) Clicked Validation After checking Error
on add info of General should be validation show message
info. check for message “Enter show
fields. proper details”. (Success)
3.2 View Click on view option Table Show the Success
appearing details.
4.0 Rooms Drop Down Check Drop Show drop Success
Down list down list
appearing “Add and
View”
4.1 Add Click on add option Form Show the Success
appearing Form fields

66
4.1.1 Add Click on add button Reloads the Saving the Success
button page details over
database.
4.1.2 (if fields Empty) Clicked Validation After checking Error
on add info of General should be validation show message
info. check for message “Enter show
fields. proper details”. (Success)
4.2 View Click on view option Table Show the Success
appearing details.
5.0 Add Drop Down Check Drop Show drop Success
Services Down list down list
appearing “Add and
View”
5.1 Add Click on add option Form Show the Success
appearing Form fields

5.1.1 Add Click on add button Reloads the Saving the Success
Button page details over
database.
5.1.2 (if fields Empty) Clicked Validation After checking Error
on add info of General should be validation show message
info. check for message “Enter show
fields. proper details”. (Success)
5.2 View Click on add option Table Show the Success
appearing details.
6.0 Feedback Table Check table Show the table Success
appearing
7.0 Newsletter Table Check table Show the table Success
appearing
8.0 Booking Table Check table Show the table Success
appearing

67
9.0 Payment Table Check table Show the table Success
appearing

68
Front Page Testing
Sr. No. Testing Action Expected Actual Result Testing
Module Results Result
1.0 Feedback On click ”Feedback Feedback.aspx Page Appear Success
Menu” page
1.1 On click send message Validation If empty Success
button Message will validation
be appear if message
fields are appeared
empty
1.2 On click send message After filling Data stored Success
button data stored to
the database
2.0 Contact On click “Contact Contact.aspx Page appear Success
Menu” page
2.1 On click send message Validation If empty Success
button Message will validation
be appear if message
fields are appeared
empty
2.2 On click send message After filling Data stored Success
button data stored to
the database
3.0 Pages On hover drop down Drop down Drop down Success
will show shown the sub Shown with
menu sub menu
”Booking and
Testimonials”

69
3.1 Booking On click booking form Booking.aspx Page appear Success
appears page
3.1.1 On click book now Validation If empty Success
button Message will validation
be appear if message
fields are appeared
empty

70
8. FUTURE ENHANCEMENT
We want to list some future enhancements for the website –

• Multiple language support.


• Maps are provided to facilitate the users.
• Give access to use website on mobile.
• Special Packages and Deals.

We can build an XML web service programming model that enables other applications to
consume hotel web services built by us using standard protocols such as HTTP, XML, XSD,
SOAP and web services description language (WSDL).

With the advancement of technology, dynamic maps can be generated using AJAX which can
help the buyer locate a particular area where the property is located in the Google Map.

71
9. Conclusion
In conclusion, the development and implementation of a The Echo Hotel website have proven to
be a pivotal project in meeting the contemporary needs of the hospitality industry. The website
serves as a user-friendly platform that facilitates seamless hotel bookings, providing customers
with a convenient and efficient way to plan their accommodations. The incorporation of intuitive
design, secure payment gateways, and real-time availability updates enhances the overall user
experience.

The project not only addresses the evolving demands of tech-savvy travelers but also contributes
to the digital transformation of the hotel industry. With its user-centric approach and streamlined
functionality, the hotel reservation website stands as a testament to the significance of technology
in enhancing customer satisfaction and optimizing business operations within the dynamic
landscape of the hospitality sector.

72
10. References

1. ASP.NET and Web Development Overview,

http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx

2. Microsoft Visual Studio Overview,

https://visualstudio.microsoft.com/vs/getting-started/

3. Microsoft SQL Server 2005,

https://www.techrepublic.com/article/how-do-i-install-sql-server-2005-expressedition-an
d-sql-server-management-studio-express/

4. Introduction to .NET Architecture,

http://www.devtopics.com/what-is-net/

5. www.project-management-basics.com

73

You might also like