Guest HOuse Management
Guest HOuse Management
Guest HOuse Management
1. Introduction ---------------------------------------------------------------- 5
8. References --------------------------------------------------------------- 47
[1]
INTRODUCTION
This software project is developed to automate the functionalities of a User Friendly Guest
House Booking Management. The purpose of the software project is to develop a program
which provides a friendly interface for the user to explore the booking of the Guest House.
This program mainly brings forth the usage of GUI programming in the daily usage over the
network. The program when made to work over the network can prove to be an ultimate way
particular subject or purpose, capable to produce different reports relevant to the user. An
application program is tied with the database for easy access and interface to the database.
Using Application program or front-end, we can store, retrieve and manage all information
in proper way.
This software, being simple in design and working, does not require much of training to users,
and can be used as a powerful tool for the automating the Guest House.
During coding and design of the software Project, Java NetBeans IDE, a powerful front-end
tool is used for getting Graphical User Interface (GUI) based integrated platform and coding
To provide a user friendly, Graphical User Interface (GUI) based integrated and centralized
environment for MIS activities.
The proposed system should maintain all the records and transactions, and should generate
the required reports and information when required.
To provide graphical and user-friendly interface to interact with a centralized database based
on client-server architecture.
To identify the critical operation procedure and possibilities of simplification using modern IT
tools and practices.
In its current scope, the software enables user to retrieve and update the information from
centralized database designed with MySQL . This software does not require much training time of
the users due to limited functionality and simplicity.
During the development of Guest House project, Java NetBeans IDE, a powerful, open source event-
driven form-based development environment is used for modular design and future expandability of
the system.
Despite of the best effort of the developer, the following limitations and functional boundaries are
visible, which limits the scope of this application software.
1. This software can store records and produce reports in pre-designed format in soft copy.
There is no facility yet to produce customized reports. Only specified reports are covered.
2. There is no provision to calculate fine or penalty etc. for defaulter members; however it can
be developed easily with the help of adding modules.
3. Some application areas like facilities and other services etc. are not implemented in the
project. It facilitates the buyer to book or cancel the hotel rooms. This project is made by
keeping in mind that it is to be used over the network, which can facilitate ease of hotel
reservation.
So far as future scope of the project is concerned, firstly it is open to any modular expansion i.e.
other modules or functions can be designed and embedded to handle the user need in future. Any
part of the software and reports can be modified independently without much effort.
[3]
Theoretical Background
What is Database?
Introduction and Concepts:
A database is a collection of information related to a particular subject or purpose, such as tracking
customer orders or maintaining a product collection. Using any RDBMS application software like MS
SQL Server, MySQL, Oracle, Sybase etc, you can manage all your information from a single database
file. Within the file, divide your data into separate storage containers called tables. You may and
retrieve the data using queries.
A table is a collection of data about a specific topic, such as products or suppliers. Using a separate
table for each topic means you can store that data only once, which makes your database more
efficient and reduces data-entry errors. Table organises data into columns (called fields) and rows
(called records).
A Primary key is one or more fields whose value or values uniquely identify each record in a table. In
a relationship, a primary key is used to refer to specific record in one table from another table. A
primary key is called foreign key when it is referred to from another table.
To find and retrieve just the data that meets conditions you specify, including data from multiple
tables, create a query. A query can also update or delete multiple records at the same time, and
perform built-in or custom calculations on your data.
The DBMS interprets and processes users' requests to retrieve information from a database. In most
cases, a query request will have to penetrate several layers of software in the DBMS and operating
system before the physical database can be accessed. The DBMS responds to a query by invoking the
appropriate subprograms, each of which performs its special function to interpret the query, or to
locate the desired data in the database and present it in the desired order.
What is My SQL ?
The management of data in a database system is done by means of a general-purpose software
package called a Database Management System (DBMS). Some commercially available RDBMS are MS
SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase.
MySQL, the most popular Open Source SQL database management system, is developed, distributed,
and supported by Oracle Corporation. MySQL is named after co-founder Monty Widenius's daughter,
My. The name of the MySQL Dolphin (our logo) is “Sakila,”.
[5]
refers to the standard released in 1992, “SQL:1999” refers to the standard released in
1999, and “SQL:2003” refers to the current version of the standard.
MySQL software is Open Source.
Open Source means that it is possible for anyone to use and modify the software.
Anybody can download the MySQL software from the Internet and use it without
paying anything. If you wish, you may study the source code and change it to suit your
needs. The MySQL software uses the GPL (GNU General Public License),
The MySQL Database Server is very fast, reliable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL Server also has a
practical set of features developed in close cooperation with our users. You can find a
performance comparison of MySQL Server with other database managers on our
benchmark page. MySQL Server was originally developed to handle large databases
much faster than existing solutions and has been successfully used in highly demanding
production environments for several years. Although under constant development,
MySQL Server today offers a rich and useful set of functions. Its connectivity, speed,
and security make MySQL Server highly suited for accessing databases on the Internet.
MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of a multi-
threaded SQL server that supports different backends, several different client programs
and libraries, administrative tools, and a wide range of application programming
interfaces (APIs).
[6]
The Connector/ODBC (MyODBC) interface provides MySQL support for client
programs that use ODBC (Open Database Connectivity) connections.
The Connector/J interface provides MySQL support for Java client programs that use
JDBC connections. Clients can be run on Windows or Unix. Connector/J source is
available.
Soon after, they were contacted by Roman Stanek, an entrepreneur who had already been
involved in several startups in the Czech Republic. He was looking for a good idea to invest
in, and discovered Xelfi. He met with the founders; they hit it off, and a business was born.
In the spring of 1999, NetBeans DeveloperX2 was released, supporting Swing. The
performance improvements that came in JDK 1.3, released in the fall of 1999, made NetBeans
a viable choice for development tools. By the summer of 1999, the team was hard at work re-
architecting DeveloperX2 into the more modular NetBeans that forms the basis of the software
today.
Something else was afoot in the summer of 1999: Sun Microsystems wanted better Java
development tools, and had become interested in NetBeans. It was a dream come true for the
NetBeans team: NetBeans would become the flagship tool set of the maker of Java itself! By
the Fall, with the next generation of NetBeans Developer in beta, a deal was struck. Sun
Microsystems had also acquired another tools company, During the acqusition, the young
developers who had been involved in open-source projects for most of their programming
careers, mentioned the idea of open-sourcing NetBeans. Fast forward to less than six months
later, the decision was made that NetBeans would be open sourced. While Sun had contributed
considerable amounts of code to open source projects over the years, this was Sun's first
sponsored open source project, one in which Sun would be paying for the site and handling the
infrastructure.
Features of NetBeans
A free, open-source Integrated Development Environment for software developers. You get all the
tools you need to create professional desktop, enterprise, web, and mobile applications with the
Java platform, as well as C/C++, PHP, JavaScript, Groovy, and Ruby.
NetBeans IDE 6.9 introduces the JavaFX Composer, support for JavaFX SDK 1.3, OSGi interoperability,
support for the PHP Zend framework and Ruby on Rails 3.0, and more.
[7]
Problem Definition & Analysis
The hardest part of building a software system is deciding precisely what to build. No other part of
the conceptual work is so difficult as establishing the detailed technical requirement. Defining and
applying good, complete requirements are hard to work, and success in this endeavor has eluded
many of us. Yet, we continue to make progress.
Problem definition describes the What of a system, not How. The quality of a software product is only
as good as the process that creates it. Problem definition is one of the most crucial steps in this
creation process. Without defining a problem, developers do not know what to build, customers do
not know what to expect, and there is no way to validate that the built system satisfies the
requirement.
Problem definition and Analysis is the activity that encompasses learning about the problem to be
solved, understanding the needs of customer and users, trying to find out who the user really is, and
understanding all the constraints on the solution. It includes all activities related to the following:
To provide a user friendly, Graphical User Interface (GUI) based integrated and centralized
environment for computerized Purchasing of Products.
The proposed system should maintain all the records and transactions, and should generate
the required reports and information when required.
To provide efficient and secured Information storage, flow and retrieval system, ensuring the
integrity and validity of records.
To provide graphical and user-friendly interface to interact with a centralized database based
on client-server architecture.
To identify the critical operation procedure and possibilities of simplification using modern IT
tools and practices.
[8]
System Implementation
PC with Pentium Dual Core processor having 2.00 GB RAM, SVGA and other required
devices.
[9]
System Design & Development
Database Design:
An important aspect of system design is the design of data storage structure. To begin with a logical
model of data structure is developed first. A database is a container object which contains tables,
queries, reports and data validation policies enforcement rules or contraints etc. A logical data often
represented as a records are kept in different tables after reducing anomalies and redundancies. The
goodness of data base design lies in the table structure and its relationship.
This software project maintains a database named Guest House which contains the following tables.
Table Design:
The database of Guest House System contains 15 tables. The tables are normalized to minimize the
redundancies of data and enforcing the validation rules of the organization. Most of the tables are
designed to store master records. The tables and their structure are given below.
[10]
Table Structure: Booking
Table Structure: Status1 … Status12 (12 tables for storing status of 12 rooms)
[11]
Restoring Database:
This package contains hotal.sql file which may be used to create all the tables with initial data.
Step 1: Open Mysql and make a blank database named Hotal
Mysql> create database hotal;
Step 2: Open DOS (Run-> cmd) and give the following commands to restore the table.
[12]
Forms Design & Coding
Menu Structure
[13]
}
private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
RoomCharges rp = new RoomCharges();
rp.setVisible(true);
}
private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
RoomDetails rp = new RoomDetails();
rp.setVisible(true);
}
private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Booking bc = new Booking();
bc.setVisible(true);
}
private void jMenuItem5ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
CancelBook bc = new CancelBook();
bc.setVisible(true);
}
private void jMenuItem6ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
ReservationStatus rp = new ReservationStatus();
rp.setVisible(true);
}
private void jMenuItem7ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
BillGeneration rp = new BillGeneration();
rp.setVisible(true);
}
private void jMenuItem8ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
ReservationSlipGenration rp = new ReservationSlipGenration();
rp.setVisible(true);
}
[14]
private void jMenuItem10ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
System.exit(0);
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
AboutMe.setVisible(false);
}
private void jMenuItem11ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
AboutMe.setVisible(true);
}
[16]
import javax.swing.JOptionPane;
//import java.util.*;
import java.text.*;
import java.awt.print.*;
public class Bill extends javax.swing.JFrame {
int bookingNo;
/** Creates new form Bill */
public Bill(int bno) {
initComponents();
bookingNo = bno;
java.util.Date D = new java.util.Date();
DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
dateLBL.setText(df.format(D));
try {
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
Statement stmt = conn.createStatement();
String sql = "select * from Booking where BookingNo = " + bookingNo;
ResultSet rs = stmt.executeQuery(sql);
Object[] newrow = new Object[8];
if(rs.next())
{
newrow[0] = "1";
newrow[1] = bookingNo + "";
int rno = rs.getInt("RoomNo");
newrow[2] = rno + "";
newrow[4] = rs.getString("FromD");
newrow[5] = rs.getString("ToD");
newrow[6] = rs.getString("Advance");
int Total = rs.getInt("Total");
newrow[7] = Total + "";
TotalL.setText(Total + " /-");
String sql2 = "select Charges from Room, Type where RoomNo = " + rno + " and
Room.TypeCode = Type.TypeCode";
ResultSet rs2 = stmt.executeQuery(sql2);
rs2.next();
newrow[3] = rs2.getString(1);
DefaultTableModel tm = (DefaultTableModel)billTBL.getModel();
tm.addRow(newrow);
}
}
catch (Exception e) { JOptionPane.showMessageDialog(null,"" + e);
[17]
}
}
private void BackBTNActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
new MainMenu().setVisible(true);
this.setVisible(false);
}
}
private void SearchBtnActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
ReportLBL.setText(" ");
boolean found = false;
ContinueBtn.setVisible(false);
int roomNo=0;
int month = Integer.parseInt(Month.getSelectedItem().toString());
aMonth=month;
int month2 = Integer.parseInt(Month1.getSelectedItem().toString());
dMonth=month2;
int day1 = Integer.parseInt(Date.getSelectedItem().toString());
aDay=day1;
int day2 = Integer.parseInt(Date1.getSelectedItem().toString());
dDay=day2;
int y1 = Integer.parseInt(year.getSelectedItem().toString());
aYear=y1;
int y2 = Integer.parseInt(year1.getSelectedItem().toString());
dYear=y2;
char avail = 'n';
String Tcode = TCode.getSelectedItem().toString();
roomNo = search(month,month2,day1,day2,Tcode);
if(roomNo ==0)
ReportLBL.setText("No Room available.");
else {
ReportLBL.setText("Room No. " + roomNo + " is Available. Click continue to book the room.");
ContinueBtn.setVisible(true);
[20]
RNoLBL.setText(roomNo +"");
ArrivalTF.setText(""+y1 +"/"+month + "/" + day1);
DepartureTF.setText(""+y2 +"/"+month2 + "/" + day2);
}
Calendar c = Calendar.getInstance();
c.set(y1,month,day1);
Calendar c2 = Calendar.getInstance();
c2.set(y2,month2,day2);
stayTime = (int)((c2.getTimeInMillis() - c.getTimeInMillis())/(1000*60*60*24));
Stay.setText(""+stayTime);
}
[21]
mon = Integer.parseInt(Month1.getSelectedItem().toString());
}
if(mon==2)
if(yr%4 != 0)
days = 28;
else
days =29;
else if( mon==4 || mon ==6 || mon==9 || mon==11)
days = 30;
else
days = 31;
for(int i =1; i<=days ;i++) {
if(i>9)
m="";
Date1.addItem(m+i);
}
}
[22]
int month=aMonth;
if(MaleRB.isSelected())
gender = 'm';
else if(FemaleRB.isSelected())
gender = 'f';
int age = Integer.parseInt(AgeTF.getText());
int rno =Integer.parseInt(RNoLBL.getText());
int advance =Integer.parseInt(AdvanceTF.getText());
int tot =Integer.parseInt(totalChargesLBL.getText());
try {
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
Statement stmt2 = conn.createStatement();
String sql2 = "Select max(BookingNo) from Booking";
ResultSet rs = stmt2.executeQuery(sql2);
rs.next();
int bno = rs.getInt(1)+1;
Statement stmt = conn.createStatement();
String sql = "insert into Booking values (" + bno + ", '" + nameTF.getText() + "' , '" +
AddressTF.getText() + "' , '" + gender + "' , "+ age + " , " + rno + " , '" + ArrivalTF.getText() + "' , '" +
DepartureTF.getText() + "' , " + advance + " , " + tot + " )" ;
stmt.executeUpdate(sql);
while(month<=dMonth) {
int max=getmax(month,dMonth,dDay);
int min=0;
if(month==aMonth)
min=aDay;
else
min=1;
for(int d=min;d<=max;d++) {
String sql3 = "update status" + month + " set D" + d + " = 'b' where RoomNo = " + rno;
stmt.executeUpdate(sql3);
}
month++;
}
JOptionPane.showMessageDialog(null,"Room booked. Booking number is: "+ bno);
stmt.close();
stmt2.close();
conn.close();
new ReservaTionSlip(bno).setVisible(true);
this.setVisible(false);
} catch (Exception e) { JOptionPane.showMessageDialog(null,"Invalid Data" + e); }
[23]
}
if (avail.equals("b") || avail.equals("o"))
break;
}
if(i == max+1)
{
rNo = rs.getInt(1);
[24]
if(month != month2)
found = search2(month+1,month2,1,day2,Tcode,rNo);
else
break;
if(found)
break;
}
}
rs.close();
stmt.close();
conn.close();
} catch (Exception e) { ReportLBL.setText("Incorrect Entry" + e);}
return rNo;
}
private boolean search2(int month1 , int month2,int day1,int day2, String Tcode , int rno)
{
String avail="f";
boolean found = false;
int rNo = 0;
int max = getmax(month1,month2,day2);
try {
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
Statement stmt = conn.createStatement();
String sql = "select * from status" + month1 + " where TypeCode = '" + Tcode + "' and RoomNo
= " + rno;
ResultSet rs = stmt.executeQuery(sql);
rs.next();
int i;
for(i=day1; i<=max; i++)
{
avail = rs.getString(i+2);
if (avail.equals("b") || avail.equals("o"))
break;
}
if(i == max+1)
{
if(month1 != month2)
found = search2(month1+1,month2,1,day2,Tcode,rNo);
else
return true;
}
[25]
rs.close();
stmt.close();
conn.close();
} catch (Exception e) { ReportLBL.setText("Incorrect Entry");}
return found;
}
}
private int getmax(int month1 ,int month2, int d2)
{
if(month1 == month2)
return d2;
else if(month1 == 2)
return 28;
else if(month1==4 || month1==6 || month1==9 || month1==11)
return 30;
else
return 31;
}
private void cancelBtnActionPerformed(java.awt.event.ActionEvent evt) {
[27]
// TODO add your handling code here:
int bookingNo =Integer.parseInt( BookingNoTF.getText());
new CancellationSlip(bookingNo).setVisible(true);
this.setVisible(false);
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
this.dispose();
}
[29]
Form Name: ReservationSlip.java
import java.sql.*;
import javax.swing.JOptionPane;
import java.text.*;
public class ReservaTionSlip extends javax.swing.JFrame {
int bookingNo;
/** Creates new form ReservaTionSlip */
public ReservaTionSlip(int bno) {
initComponents();
bookingNo = bno;
BNoL.setText(bno + "");
java.util.Date D = new java.util.Date();
DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
dateL.setText(df.format(D));
try {
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
Statement stmt = conn.createStatement();
String sql = "select * from Booking where BookingNo = " + bookingNo;
ResultSet rs = stmt.executeQuery(sql);
if(rs.next())
{
RNoL.setText(rs.getString("RoomNo"));
[30]
NameL.setText(rs.getString("CustName"));
AddressL.setText(rs.getString("Address"));
FromL.setText(df.format(rs.getDate("FromD")));
ToL.setText(df.format(rs.getDate("ToD")));
String s = rs.getString("Sex");
if(s.equals("m"))
s = "Male";
else
s = "Female";
SexL.setText(s);
AgeL.setText(rs.getString("Age"));
AdvanceL.setText(rs.getString("Advance"));
}
rs.close();
stmt.close();
conn.close();
}
catch (Exception e) { JOptionPane.showMessageDialog(null,"" + e);
}
}
private void GetBillBTNActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
new Bill(bookingNo).setVisible(true);
this.setVisible(false);
}
[31]
private void GenerateResSlipBTNActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
int bno = Integer.parseInt( BokingNo4ResSlipTF.getText());
if(search(bno)) {
new ReservaTionSlip(bno).setVisible(true);
this.setVisible(false);
} else {
error1.setText("Unable to fine Booking number");
}
}
private boolean search(int bno)
{
try {
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
Statement stmt = conn.createStatement();
String sql = "select * from Booking where BookingNo = " + bno;
ResultSet rs = stmt.executeQuery(sql);
if(rs.next())
{
return true;
}
else
{
return false;
}
} catch (Exception e) { JOptionPane.showMessageDialog(null,"" + e);
return false; }
}
private void BokingNo4ResSlipTFActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
[32]
Form Name: ReservationStatus.java
public class ReservationStatus extends javax.swing.JFrame {
[33]
Form Name: RoomCharges.java
private void ChangeBActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
String code = TCode2.getSelectedItem().toString();
int charges =Integer.parseInt( ChargesTF.getText());
try {
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
Statement stmt = conn.createStatement();
String sql = "update Type set Charges = " + charges + " where TypeCode = '" + code + "'" ;
stmt.executeUpdate(sql);
stmt.close();
conn.close();
error1.setText("Information added");
} catch (Exception e) { error1.setText("Invalid Data");}
}
Class.forName("java.sql.Driver");
String database = "jdbc:mysql://localhost:3306/Hotal";
Connection conn = DriverManager.getConnection(database, "root", "pace");
[34]
Statement stmt = conn.createStatement();
String sql = "select Charges from Type where TypeCode = '" + code + "'";
ResultSet rs = stmt.executeQuery(sql);
rs.next();
int str = rs.getInt("Charges");
rs.close();
stmt.close();
conn.close();
curCharges.setText("Rs " + str);
} catch (Exception e) { }
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
this.dispose();
}
[36]
import javax.swing.JOptionPane;
public class Status extends javax.swing.JFrame {
int month;
[37]
}
private void BackBTNActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
new MainMenu().setVisible(true);
this.setVisible(false);
}
User Manual
How to install Software:
Hardware Requirement-
Intel Pentium/Celeron or similar processor based PC at Client/Server end.
128 MB RAM and 4GB HDD space (for Database) is desirable.
Standard I/O devices like Keyboard and Mouse etc.
Printer is needed for hard-copy reports.
Local Area Network(LAN) is required for Client-Server Installation
Software Requirement-
Windows XP/2007 OS is desirable.
NetBeans Ver 7.2 or higher should be installed with JDK and JVM.
MySQL Ver 6.1 with Library Database must be present at machine.
Database Installation
The software project is distributed with a backup copy of a Database named Raj Guest House with
required tables. Some dummy records are present in the tables for testing purposes, which can be
deleted before inserting real data. The project is shipped with Raj.sql file which installs a database
and tables in the computer system.
Note: The PC must have MySQL server with user (root) and password (kvuc) . If root password is any
other password, it can be changed by running MySQL Server Instance Configure Wizard.
Start Program MySQL MySQL Server MySQL Server Instance Config Wizard
Provide current password of root and new password as “kvuc” , this will change the root password.
To install a MySQL database from a dump file ( Raj.sql) , simply follow the following steps.
Step 1: Copy the Lib.sql file in C:\Program files\Mysql\MySql server 5.1\Bin folder.
Step 2: Open MySQL and type the following command to create the dabase named Library.
mysql> create database Raj;
Step 3: Open Command Window (Start Run cmd)
Step 4: Go to the following folder using CD command of DOS.
[38]
C:\Program files\Mysql\MySql server 5.1\Bin>
Step 5: type the following command on above prompt -
C:….\bin> mysql -u root -pkvuc Vogue < vogue.sql
This will create a Library database with required tables.
Room Management :
Through this the user can check the availability of the room in the Guest House.
Booking/Cancellation:
The user can book or cancel the rooms using this button..
Reports:
Exit:
[39]
References
In order to work on this project titled -Vogue – New Clothing Store, the following books and
literature are referred by me during the various phases of development of the project.
-by Shildit
– Gruber
(3) http://www.mysql.org/
(4) http://www.netbeans.org/
Other than the above-mentioned books, the suggestions and supervision of my teacher and my class
experience also helped me to develop this software project.
[40]