Project Report On TTM by Prince Soni
Project Report On TTM by Prince Soni
Project Report On TTM by Prince Soni
Here I have developed a project on Tour and Travel. Online Tour and Travel Booking is a system
that gives you the facility of booking any type of packages (Summer special packages, Manali tour
packages, Shimla special packages, adventures etc ). This system is made, so that customer can
easily book ticket for all packages of tourist place such as hills, trekking, adventures, spirituals and
user can also register for hotels for different types of room.
The project ‘Tours and Travels’ is developed to replace the currently existing system, which helps
in keeping records of the customer, details of destination as well as payment received. It saves the
precious asset that is time, and also accuracy, reliability and uniformity can be maintained. This
project is useful for the manager of the company as it helps them to search the data faster than
existing system, to get customer record easily and report of the customer payment, etc are generated
as per requirement.
Details of different types of tours which include tours like family tours, couple tours, general tours,
date and time of departure and the fair of the tours etc are maintained. Through this site we can
provide different types of travel packages to the customers. This sites provide everything related to
it itineraries.
This site gives new packages on flexible price, so that user can book easily. According to season
admin can change packages. We revise our itineraries regularly. Vacation-O-City offers a large
range of travel opportunities. Tours and Travels Project is designed in asp.net
programming language, and SQL server used for this site.
In this site, Admin can add packages, add destinations (adventures, spirituals), add hotels details,
and delete hotel details. Admin can also add different types of rooms.
ii
TABLE OF CONTENTS
PAGE
ACKNOWLEDGEMENTS……………………………………………………………… i
ABSTRACT……………………………………………………………………………… ii
LIST OF TABLE………………………………………………………………………………..v
LIST OF FIGURE……………………………………………………………………………....vi
1 INTRODUCTION
3 BACKGROUND 6
4 DESIGN
4.1 Working of Website on .net platform………………………………………………… 7
5 METHODOLGY
5.1 Methodology………………………………………………………………………… 18
6 IMPLEMENTATION DETAILS 19
REFERENCES ……………………………………………………………………………..36
LIST OF TABLES
Page
4.10Payment…………………………….………………………………………………..14
4.11Add Adventure……………………………………………………………………...14
4.12Destination of Adventure……………………………………………………………15
iii
LIST OF FIGURES
iv
CHAPTER 1
INTRODUCTION
Online Tour and Travel is a very user friendly project. In this project user can easily
understand and book all packages and also register for hotel. In this project there are various
types of forms, like all types of packages, book for package and Room Registration Page in
which user can insert his personal needs & facilities then upload his form by which user can
register in the web site. In this website user can also pay money through credit card.
This site provides different tour packages, hotel booking and summer special tour packages.
Through this site, user can book different types of room such as deluxe room, ac room etc on
flexible price.
This site provides different packages, destination, and hotel booking services in one
particular state of India. Himachal Pradesh is very popular hill station of north India. Visitors
enjoy snow covered mountain peaks and adventure sports like trekking, mountaineering and
skiing.
In this website, according to the tour packages it provides services like online booking
facilities for all packages and hotels registration to the customer. In this project user can
easily understand and fill up the Room Reservation form. User can search for various types
of rooms.
Online Tour and Travel is a web based application made in Asp.Net. So with the help of this
project user can apply for packages of tour and room reservation.
21
In this project, Admin can add travel packages and all details of hotels which is located in
Himachal Pradesh and also add all details of bus for this particular city.
Organization
HCL Company has offices in 32 countries and operates across a number of verticals industry
including aerospace and defense, automotive, consumer electronics, energy.
Web Development is a broad term for the work involved in developing a web site for the
internet or an Intranet (a private network). Web development can range from developing the
simplest static single page of plain text to the most complex web based internet
applications, electronic businesses, and social network services.
Using Web development we can design different types of websites and the web application.
A more comprehensive list of tasks to which web development commonly refers, may
include web engineering, web design, web content development, client liaison, e-
commerce development. Among web professionals, "web development" usually refers to the
main non-design aspects of building web sites: writing markup and coding.
2
1.3 HARDWARE AND SOFTWARE REQUIREMENTS
CHAPTER 2
3
2
PROBLEM DEFINITION AND OBJECTIVES
The purpose of tour and travel is mainly to provide online booking services for the user. This
statement describes the problem definition of the proposed system. The purpose of this site is
to book online ticket for hotels and all tourist places of Himachal Pradesh.
The problem definition of the vacation-o-city is to book online ticket for hotel and tourist
place where user wants to visit. It is a Web Based Application to develop website in which
end user interact with the web-app easily. In this website, Customer or User can search and
book all tourist places and all hill stations and all hotels of Himachal Pradesh.
The problem is that we although have many websites but they offer a different kinds of
services. The customers are enjoying a lot but there is a lack of relationship between travel
agency and customers and hence we are establishing that relationship by carrying and
servicing all customers in the same manner that we wish to serve.
OBJECTIVES
This system provides Online Registration, Tour Package Information, Bus ticket booking and
all other destinations. The purpose of this project is very clear that user can find room
facilities easily & hotel service providers also get good customers very easily. Customer can
register in the website & can create his own registration then he can receive email for his
room status related to his reservation and book all packages. User can register hotel for
different types of room what they want.
The Main Goal of this project is to provide a very faster room reservation services and also
4
booking services for different types of packages so any user can get this service very easily.
2
Our objective is to make strong relationship with customers so that they can enjoy the
holiday of their dreams.
It saves lots of time , now a days there is a fast process world any one can work
quickly so, this project helps that people who are searching for reservation in
organization, so they can easily fill up the form and search rooms and different tourist
place.
CHAPTER5 3
BACKGROUND
2
People wish to see the website in an even better and organized form always. The use of this
website is to book online packages and online hotel reservation etc. for fun have become a
favorite pass time of the people. Features vary from website to website. Usually this website
focuses on the different types of packages, adventure and destination, what they want.
This tour and travel website is based on .net 4.5 platform. Along with several architecture
domains, Applications Architecture from the pillars of an solution architecture. Application
architecture is used for an internal structure of an application. These apps have become
common trend now.
Online Tour and Travel is a web based application made in the Asp.Net. So with the help of
this project user can apply for packages of tour and room reservation. All details of packages,
adventure, destination and hotels are added by Admin on the Admin panel. User can search
more attractive packages, destination etc. you will create web pages that visitors can interact
with in wonderful way.
CHAPTER 4
DESIGN6
2
4.1 Working of .Net Website
Website Tour and Travel is used to book online ticket for different packages and hotels,
adventures and different destinations of Himachal Pradesh. The main page of this website
has Home page which contains Register for new account, Login for account.
The user can choose different packages, destinations and hotels from gallery. The user also has
the option of changing the password for security purpose and new user must have to create the
account to book the packages and hotels. The first option in the navigation drawer is Home,
Packages, Hotel, and Destinations (Adventures, Spirituals). Online payment option is also
available on this website.
In my Project Tour and travel, I used VISUAL STUDIO 2008 as a front end and use
SQL server 2008 as a backend.
Front end is mainly used for the designing purpose or designing the various kinds of
forms and implement the logic and the backend is mainly used for, to store the data,
records, or the information.
I make all the tables in the SQL Server 2008. My tables name are Add package, add
package description, add source, add destination, add hotels, Hotel Rooms, Hotel Info.,
add adventures, delete and update adventure and city. These are the tables to store the
7
records, data, and information in the back end means in the SQL Server 2008.
2
All the tables are used to store the records, and administrator is able to watch all the
data. Now we talk about the tables and how this tables work in a back end that we can
know but the main thing is the relationship of the tables.
That’s the most important thing for the back end. In my project there is a relationship
between the tables means all the tables are connected with each other so all the
records or the data or the information can easily stored and there is a no chance of the
mistakes in the tables.
The Relationship between the tables is also considered as a security part if the records
are not stored properly so candidate can not able to work further so it can avoid the
chance of the dummy records.
Password nvarchar(max)
UserEmailAddress Text
UserPhoneNumbe nvarchar(10)
r
Address nvarchar(max)
8
Add package: By this admin can add all details of packages. In this table PackageID is
auto incremented and unique. Image will be upload by FileUpload control.
2
Fields Type Constraint
Image Nvarchar(max
)
Duration1 Text
Duration2 nvarchar(10)
Duration3 nvarchar(10)
Duration4 Nvarchar(10)
Image1 nvarchar(100)
Image2 nvarchar(max)
PackageAmount Nvarchar(max
)
Table 4.2 Add package
Add Source: On the behalf of this table admin will add the source in database. Here
SourceId is primary key and auto Incremented.
Add Destination: By this admin will add all9 Destination name and DestinationID will auto
Incremented. DestinationID is primary key.
2
DestinationId Int Auto Increment
(Primary Key)
DestinationNam nvarchar(50)
e
Table 4.4 Add Destination
Package Description: By this Admin can add package Name, days number, source and
destination and details of particular package.
PackageName nvarchar(200)
Source nvarchar(max)
Destination nvarchar(max)
Package_Detail Nvarchar(max)
s
Table 4.5 Package Description
Package Booking and Payment : In this schema, BookingID is auto Incremented and
primary key. BookingID will Auto Increment and packageId, packageName, packageAmount
all will come on the behalf of add package table. UserID, UserName, UserPhoneNumber,
UserAddress will fill on the behalf of User_Register Schema.
2
PackageID int
PackageName nvarchar(max)
PackageAmount nvarchar(max)
UserID int
UserName nvarchar(max)
UserPhoneNumbe nvarchar(max)
r )
UserAddress nvarchar(max)
CardNumber nvarchar(100)
CVVNumber nvarchar(3)
ExpiryDate nvarchar(max)
NameOnCard Nvarchar(max)
BookingDate Nvarchar(max)
Add Hotels : In this table Admin will add HotelName, CityName, Amount of Room, Room
Type, hotel details and admin can also upload hotel image and HotelID is primary key and it
will auto increment.
2
HotelID int Auto Incre.(Primary
Key)
HotelName nvarchar(max)
CityName nvarchar(max)
Amount nvarchar(max)
HotelImage nvarchar(max)
HotelDetail nvarchar(max)
s 11
RoomType Nvarchar(max)
Room Type: In this schema admin will add different types of room of hotel.
Hotel Booking: In this schema, BookingID is auto Incremented and primary key. BookingID
will Auto Increment and HotelID, HotelName, Amount, Room Type all will come on the
behalf of User Booking. UserID, UserName, UserPhoneNumber, UserAddress will fill on the
behalf of User_Register Schema. Dateof Booking is selected date of user.
HoteName nvarchar(max)
2
UserID int
UserName nvarchar(max)
RoomType nvarchar(max)
Adults int
Child int
DateOFBooking nvarchar(max)
UserEmailAddres nvarchar(max)
s
Table 4.8 Hotel Booking
Hotel Payment: When user will book for particular hotel room, that details of user and hotel
will come. BookingID will Auto Increment.
2
HoteName nvarchar(max)
UserID int
UserName nvarchar(max)
CardNumber nvarchar(16)
cvvnumber int
expirydate nvarchar(max)
Amount nvarchar(max)
Booking nvarchar(max)
Date
Table 4.9 Payment
Add Adventures: Admin will add details of adventure and AdventureID will auto
Increment.
Duration nvarchar(max)
AddImage nvarchar(max)
Destination nvarchar(max)
Details nvarchar(max)
14
Destination of Adventure: Admin will add CityName of Adventure and CityID will auto
Increment.
2
Fields Name Type Constraint
Book Adventure and Payment: Details of booking and details of user will come in this
schema.
AdventureName nvarchar(max)
Amount nvarchar(max)
UserID int
UserName Nvarchar(max
)
UserPhoneNumber nvarchar(max)
Address nvarchar(max)
CardNumber int
cvvnumber int
expirydate nvarchar(max)
15
4.4 Data Flow Diagram
LEVEL 0
2
System
Register
Login
Book Package/Hotel
User
Payment Add
Modify
X Add (Search/Update/Delete)
Admin
Figure 4.1 Data Flow Level 0
16
LEVEL 1:
2
Manage Packages/
Hotels/Adventures
Register User
System
Login
Search Packages
Display
Packages/Hotels/D
estination
Output
Input
Figure 4.2 Dataflow Level 1
CHAPTER 5
17
Methodology
2
Front end design and tour booking
Front end refers to the visual layer of website and applications. The UI, layout, images and
other visual elements and their styling comprises of:
It is very helpful in business applications. Since, it is web based it gives online booking
facility for packages, destinations i.e adventures, spirituals and hotels and customer can also
payment by card. Vacation-o-city is to book online ticket for hotel and tourist place. It is a
Web Based Application to develop website in which end user interact with the webapp
easily. In this website, Customer or User can search and book all tourist places and all hill
station, adventures, spirituals and all hotels of Himachal Pradesh.
1. This is the home screen that contains the title in the toolbar and has four links which takes
the user to four different features.
2. On the top right corner of title bar is a button which on clicking opens the navigation, on
which user will click.
3. In the navigation drawer, the user can choose package from package link, destination from
destination link, or hotels from hotels link. The user also has the option of changing the user
password which in return changes it to your password in the database.
2
CHAPTER 6
19
IMPLEMENTATION DETAILS
2
6.1 Admin Panel
Step 1: Add packages: In this step admin added package name and also uploaded image.
When package added successfully it will show Inserted successfully in label.
Admin can add package, delete package, modify package and admin can also add all
description of packages and add duration.
20
Step 2: Delete Package: By the following Edit button and Delete button Admin can update
and delete details particular package.
2
Figure 6.2 Delete Package
21
Step 4: Add Destination: Admin can add destination name. If Destination name will add in
the database, it will show Saved in label
2
Figure 6.4
Step 5: Add Package Description: Admin added all the details of package and package
name will select from Dropdown list which referred from the database.
22
2
Figure 6.6 Add Hotel Details
User Panel:
User Register: In this step new user must have to create account. Login is possible only after
the registration. User can also change his/her password.
23
2
Figure 6.7 User Registration
Step: 2 User Login: In this step registered customer can login/signin the account. Login is
possible only after the registration. User can also change his/her password.
24
2
Step 3: Change password: By this page user can change own password.
Step4: For booking, User will first login after login user can go to package panel this page
will open. By this user can know details of package.
try
{
if (!IsPostBack)
{
if (Session["username"] != null)
{
DataTable _Dt1 = mydbconnection.CreateInstance().GetSingleTable("select *
from User_Registers where UserEmailAddress='" + Session["userName"].ToString() + "'");
Session["UId"] = _Dt1.Rows[0]["UserID"].ToString();
UserID = _Dt1.Rows[0]["UserID"].ToString();
Username = _Dt1.Rows[0]["UserName"].ToString();
txtAddress.Text = _Dt1.Rows[0]["UserAddress"].ToString();
btnSaveandBuy.Enabled = true;
if (txtAddress.Text != "")
{
Label14.Visible = btnUpdateAddress.Visible = false;
txtAddress.ReadOnly = true;
}
else
{
Label14.Visible = btnUpdateAddress.Visible = true;
}
txtPhoneNo.Text = _Dt1.Rows[0]["UserPhoneNumber"].ToString();
if (txtPhoneNo.Text != "")
{
Label14.Visible = btnUpdatePhone.Visible = false;
txtPhoneNo.ReadOnly = true;
}
else
{
Label14.Visible = btnUpdatePhone.Visible = true;
}
DataTable dt2 =
mydbconnection.CreateInstance().GetSingleTable("select * from pkg join package_detail
on pkg. pkg_id=package_detail.pkg_id where pkg.pkg_id='" +
Session["pkg_id"].ToString() + "'");
if (dt2 != null && dt2.Rows.Count > 0)
{
26
2
packageid = dt2.Rows[dt2.Rows.Count - 1]
["pkg_id"].ToString();
packageName = dt2.Rows[dt2.Rows.Count - 1]
["packagename"].ToString();
PackageAmount = dt2.Rows[dt2.Rows.Count - 1]
["PackageAmount"].ToString();
DataList1.DataSource = dt2;
DataList1.DataBind();
}
}
}
else
{
Label14.Visible = false;
btnSaveandBuy.Enabled = false;
}
}
}
catch (Exception ex)
{
Label14.Text = ex.Message;
}
}
int i = comm.ExecuteNonQuery();
conn.Close();
if (i > 0)
{
Label14.Visible = btnUpdateAddress.Visible = false;
txtAddress.ReadOnly = true;
}
}
catch (Exception ex)
{ }
}
27 2
conn.Open();
int i = comm.ExecuteNonQuery();
conn.Close();
if (i > 0)
{
Label14.Visible = btnUpdatePhone.Visible = false;
txtPhoneNo.ReadOnly = true;
}
}
catch (Exception ex)
{ }
}
static string UserID = "";
static string Username = "";
static string Address = "";
static string phoneno = "";
static string packageid = "";
static string packageName = "";
static string PackageAmount = "";
28
2
Figure 6.11 Book Package
2
29
Hotel:
When User will click on Hotel link, this page will open and when user will click Book Hotel
button, user will go to hotel details page and on the last user will go to payment page, on
which user can pay for hotel.
Step 2: User can see Hotels Details and they can register for hotel and choose different types
of rooms from the dropdown list.
30 2
Figure 6.14 Book Hotel
if (Session["HotelID"] != null)
{
DataTable _Dt1 =
mydbconnection.CreateInstance().GetSingleTable("select * from AddHotel where
AddHotel.HotelID='" + Session["HotelID"].ToString() + "'");
if (_Dt1 != null && _Dt1.Rows.Count > 0)
{
Session["hotelId"] = _Dt1.Rows[0]["HotelID"].ToString();
hotelid = _Dt1.Rows[0]["HotelID"].ToString();
Session["HotelName"] = _Dt1.Rows[0]["HotelName"].ToString();
hotelname = _Dt1.Rows[0]["HotelName"].ToString();
Session["amount"] = _Dt1.Rows[0]["Amount"].ToString();
amount = _Dt1.Rows[0]["Amount"].ToString();
}
}
if (Session["UserName"] != null)
{
DataTable _Dt2 =
mydbconnection.CreateInstance().GetSingleTable("select * from User_Registers where
UserEmailAddress='" + Session["UserName"].ToString() + "'");
if (_Dt2 != null && _Dt2.Rows.Count > 0)
231
{
Session["Userid"] = _Dt2.Rows[0]["UserID"].ToString();
Userid = _Dt2.Rows[0]["UserID"].ToString();
Session["Username"] = _Dt2.Rows[0]["UserName"].ToString();
Username = _Dt2.Rows[0]["UserName"].ToString();
}
}
32 2
Figure 6.15 Payment for hotel
Adventures:
Admin Panel of Adventures: Admin can add adventures, Modify adventures (ie. Delete,
Update details.
33 2
Book Adventure: when user will click on Book Adventure Button, it will go to the
payment gateway.
Pyment for Adventure: User can pay online for Adventure, and all details of logged in user
will update automatically. Address, phone number of logged in people will showing.
34
2
CONCLUSION
This web application provides easy way to book tickets online. This application developed is
designed in such a way that any further enhancements can be done with ease.
Through this website user can book all packages of tourist places and hotels. By using this
site we can save our time.
35 2
REFERENCES
2
36