Hotal MGT Project
Hotal MGT Project
Hotal MGT Project
Hotel Management
System
By
Name: Chaman dwivedi
Submitted to Submitted By
this project. I feel great pleasure while working on this project work.
First I want to thank Mr. Uday sir who gave knowledge through which I
Chaman dwivedi
BCA -V
Table of Contents
S. No. Topic
1. Introduction
3. Problem Statement
4. Requirement Analysis
6. System Design
7. Form Layouts
8. Coding
9. Testing
13. Conclusion
14. Bibliography
1.Introduction Of Project
a lot. And the hotel always try to be better the in all the areas where ever
the possibilities are there. The Computer has made this possible by
System” is the project designed for the hotel industry people who found
their work quite hardly manageable because of keeping all wears and
tears because each and every thing is the matter which should be
recorded. For this purpose the following project is quit helpful and handy
because almost all the areas are covered in the project. Like Restaurant,
Rooms Health club, and transport. So the project is quite easy to use and
best and do work speedily. Following are the departments which covered
in the projects:-
1. Front Office(Reception)
2. Restaurant
3. Room Services
4. Transport Enquiry
almost every area, and the block of the hotel like restaurant,
separately.
The hotel people will have to make login of each and every one
The facilities given into the project makes the project useful to the
hotel and the workers of the hotel because their work will be easy
and they will find their work easy and correct, all the details can be
System Analysis
3.Problem Statement
The Major problems during the designing of this project occurred were:-
1. Facts Collection
2. Attribute Collection
3. Decision Making
the shape of actual project it was quite difficult to collect the facts like
what attribute they use to store the relevant data of any area.
Meeting to the hotel people was quit tough task as they were not ready to
talk about their personal matters as the working style of any hotel make
the hotel unique. And then decision making that whether the facts given
The requirement of the project was the working style of a hotel which is
department
3. Testing
4. Trouble shooting
a. Sorting out the problems occurred
its workability impact on the organization, ability to meet user needs and
solve the problem but to acquire a sense of its scope. Cost benefit
analysis is also done .The result is a format proposal detailing the nature
This project can run on DOS or Windows 10 operating system, which are
economical constraints.
2. TECHNICAL FEASIBILITY: A study of function, performance &
This project can run on any Pentium processor & does not require any
additional hardware.
down approach i.e. the user will get finally whatever is desire without
Delivery and
Maintenance
SYSTEM REQUIREMENTS
RAM : 2GB
Software Specification
users who are new or only have little experience using sqlserver 2008. It
how they are performed in Microsoft sqlserver 2008. This tutorial does not
column a field). The data stored in each column must be of a single data
Different tables can have the same column in common. This feature is
Table: tables are the main units of data storage in a database. A table is
fields.
Field: a field is a column in a table and defines a data type for a set of
values in a table. For example, a mailing list table might include fields for
first name, last name, address, city, state, zip code, and telephone
number.
fields.
In a mailing list table, each record would contain the data for one person
Data type: data types are the properties of each field. A field only has
from a table.
6.System Design
the process the end user requirement were translated into specification
phases:-
1. LOGICAL DESIGN
2. PHYSICAL DESIGN
i.e. output, the inputs and the databases, all in manner that meets
project requirements.
The activity following logical design, are the procedure followed in the
system.
Logical Design
Database Design
the rule of logical and physical data structures imposed by the database
Login -
User
User id
password
Login
Invalid Dashboard
Add
client About
Room Reservation
Add client-
Add
client
Client
Client Client
search Delete
update
Room-
Add
Room
Room
Room Room
search Delete
update
DataBase Tables
Room table:
Reservation table:
Client table -
7.INPUT-OUTPUT SCREENS
FORM1-WELCOME SCREEN
FORM2-LOGIN
FORM3-Resister frm
FORM 4-NEW Client ENTRY FORM
FORM 5- update and delete client from
FORM 6-RESERVATION ENTRY FORM
FORM 7-Upadte and delete reservation from
FORM 8-NEW ROOM BOOKING INFORMATION FORM
FORM 9-UPADTE AND DELETE ROOM FORM
About frm:
Dashboard1 from
8 .Coding:
Login Screen(frmLogin)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Hotal_management_system
{
public partial class login : Form
{
public login()
{
InitializeComponent();
}
}
}
Main Screen(frmdashboard)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Hotal_management_system
{
public partial class Dashboard : Form
{
public string username;
public Dashboard()
{
InitializeComponent();
}
private void Movepanel(Control btn)
{
panelslider.Top = btn.Top;
panelslider.Height = btn.Height;
}
Movepanel(home);
home ft = new home();
ft.Show();
}
}
}
Resister frm
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Hotal_management_system
{
public partial class register : Form
{
public register()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection(@"server=.\SQLEXPRESS;Initial
Catalog=reception;Integrated Security=True;Pooling=False");
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
}
NewClientEntryForm(ClientNew)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Hotal_management_system
{
public partial class client : Form
{
public client()
{
InitializeComponent();
}
con.Close();
}
namespace Hotal_management_system
{
public partial class client : Form
{
public client()
{
InitializeComponent();
}
con.Close();
}
namespace Hotal_management_system
{
public partial class Room : Form
{
public Room()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection(@"Data Source=DESKTOP-
6DONVN0\SQLEXPRESS;Initial Catalog=reception;Integrated Security=True;Pooling=False");
if ( h> 0)
MessageBox.Show("Add succesfully...");
else
MessageBox.Show("Faild...");
con.Close();
}
try
{
con.Open();
}
}
cmd.ExecuteNonQuery();
con.Close();
}
}
Remove room:
private void button3_Click(object sender, EventArgs e)
{
con.Open();
cmd.ExecuteNonQuery();
con.Close();
if ( h> 0)
MessageBox.Show("Add succesfully...");
else
MessageBox.Show("Faild...");
con.Close();
}
Edit RoomForm(frmeditRoomDetail)
private void button1_Click(object sender, EventArgs e)
{SqlConnection con = new SqlConnection(@"Data Source=DESKTOP-
6DONVN0\SQLEXPRESS;Initial Catalog=reception;Integrated Security=True;Pooling=False");
try
{
con.Open();
if ( res> 0)
MessageBox.Show("Add succesfully...");
else
MessageBox.Show("Faild...");
con.Close();
}
cmd.ExecuteNonQuery();
con.Close();
try
{
con.Open();
}
}
}
EditResevationForm:
try
{
con.Open();
con.Open();
cmd.ExecuteNonQuery();
con.Close();
namespace Hotal_management_system
{
public partial class dashboard1 : Form
{
public dashboard1()
{
InitializeComponent();
}
SqlConnection con = new SqlConnection(@"Data Source=DESKTOP-
6DONVN0\SQLEXPRESS;Initial Catalog=reception;Integrated Security=True;Pooling=False");
void showrooms()
{
string dj = "SELECT count(*) from Roomtable";
SqlCommand cmd = new SqlCommand(dj, con);
con.Open();
object rc = cmd.ExecuteScalar();
con.Close();
labelroom4.Text = rc.ToString();
}
void showclient()
{
string dj = "SELECT count(*) from client_table ";
SqlCommand cmd = new SqlCommand(dj, con);
con.Open();
object rc = cmd.ExecuteScalar();
con.Close();
labelclient4.Text = rc.ToString();
}
}
}
About frm:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Hotal_management_system
{
public partial class abouts : Form
{
public abouts()
{
InitializeComponent();
}
}
}
Reports
Reports
1. Room report:
if ( h> 0)
MessageBox.Show("Add succesfully...");
else
MessageBox.Show("Faild...");
con.Close
}
Add Client Report
SqlConnection con = new SqlConnection(@"Server=.\SQLEXPRESS;Initial
Catalog=reception;Integrated Security=True;Pooling=False");
con.Close();
}
Testing
Testing is a set of activities that can be planned in advance and conducted
steps into which can place specific test case design and testing methods
should be defined for the software process. All provide the software
developer with a template for testing and alll have the following generic
characteristics :
time.
designed.
testing “il the large”: The first tests planned and executed
testing.
software.
finding an errors.
errors.
LEVELS OF TESTING:
There are three levels of testing individual module to the entire software
systems
product.
3) Incorrect intializations
4) Precision inaccuracy
number of test cases is reduced and errors can be more easily predicted
and uncovered.
In this testing many unit tested modules are combined into sub-system ,
which are then tested. The goal here is to see if the modules can be
integrated property.
1) Incremental approaches
2) Top-down approaches
3) Bottam-up integration
4) Regression testing
5) Smoke testing
system. The testing process is concerned with finding error that result
also concerend with validating that the system need its functional or non-
functional requirements.
1) Alpha Testing
2) Beta Testing
3) Acceptance Testing
Alpha Testing: Alpha Testing refers to the system testing caried out by
Various new features can be added so that it can attract more and more
people:
The project can also be used in the hotel room so the customer can
This project can also be used for the future booking & provides the
the collection of fine. The project will eliminate the need to maintain
become better.
I hope my project has given any reader a clear understatnding of the type
For the development this project I have to follow some books. The
1. C#.Net WROX