Professional Documents
Culture Documents
Gad Microproject
Gad Microproject
Micro Project
Academic Year (2021-22)
Maharashtra State Board of Technical Education
Program code and name: CO
Subject: Gui Application Development Using Vb.Net
Semester: Fourth
A Micro Project on
Hotel management System
Sr. Roll No. Student Name Enrollment Seat No.
No.
1 Om Gole 2016240027
2 Shubham Deshmukh 2016240020
Under Guidance of
Mrs. Yogita Rode mam…
Maharashtra State Board of Technical Education
Certificate
This is to certify that Mr. Om Gole ……. Roll No….. Of fourth
Semester of Diploma in Computer Engineering of Institute, Siddhant
college of Engineering (Code: 1624) has completed the Practical
Activities (PA) satisfactorily in Course Gui Application Development
Using Vb.Net (code: 20034) for the academic year 2021 – 2022 as
prescribed in the curriculum.
Certificate
This is to certify that Mr. Shubham Deshmukh ……. Roll No….. Of
fourth Semester of Diploma in Computer Engineering of Institute,
Siddhant college of Engineering (Code: 1624) has completed the
Practical Activities (PA) satisfactorily in Course Gui Application
Development Using Vb.Net (code: 20034) for the academic year 2021
– 2022 as prescribed in the curriculum.
This would not have been possible without the guidance and
help of many people. This is the only page where we have the
opportunity of expressing our emotions and gratitude from the
core of our heart to them. This project would not have been
successful without enlightened ideas, timely suggestions and
interest of our most respected guide Of Mrs. Yogita Rode
mam without her best guidance; this would have been an
impossible task to complete.
command.CommandText = selectQuery
command.Connection = connection.getConnection()
command.Parameters.Add("@un",
MySqlDbType.VarChar).Value = username
command.Parameters.Add("@pass",
MySqlDbType.VarChar).Value = password
adapter.SelectCommand = command
adapter.Fill(table)
Else
End If
End Sub
if the user enter the correct username and password we will show
him the main form.
2 - The Main Form
This is a quick and easy from with a menu created with a panel and
labels to take the user to the selected form on label click.
End Sub
End Sub
End Sub
3 - The Manage Hotel Clients Form
If fname.Trim().Equals("") Or lname.Trim().Equals("") Or
phone.Trim().Equals("") Then
MessageBox.Show("Required First & Last Name, Phone",
"Missing Information", MessageBoxButtons.OK,
MessageBoxIcon.Error)
Else
Else
End If
End If
End Sub
Else
If fname.Trim().Equals("") Or lname.Trim().Equals("") Or
phone.Trim().Equals("") Then
Else
Else
End If
End If
End If
End Sub
If TextBoxId.Text.Trim().Equals("") Then
Else
Dim id As Integer = Convert.ToInt32(TextBoxId.Text)
If client.removeClient(id) Then
Else
MessageBox.Show("Client Not Deleted", "Delete Client",
MessageBoxButtons.OK, MessageBoxIcon.Warning)
End If
End If
End Sub
and like the client form you can view all rooms in a datagridview +
how many rooms this hotel have, and add, edit, remove the selecte
one + a combobx populated with all room's categories.
Try
reserved = "Yes"
reserved = "No"
End If
If TextBoxNumber.Text.Trim().Equals("") Or
TextBoxPhone.Text.Trim().Equals("") Then
Else
Else
End If
Catch ex As Exception
End Try
End Sub
Try
If RadioButtonYes.Checked Then
reserved = "Yes"
End If
If TextBoxNumber.Text.Trim().Equals("") Or
TextBoxPhone.Text.Trim().Equals("") Then
Else
Else
End If
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
Try
If room.removeRoom(number) Then
Else
MessageBox.Show("Room Not Deleted", "Delete Room",
MessageBoxButtons.OK, MessageBoxIcon.Warning)
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
This form allow the user to manage the clients room reservations.
to create a reservation you need: 1) enter the reservation id, 2)
select the client who will reserve, 3) you need to select the room
where the client will stay.
Try
Else
If reservation.addReservation(roomNumber, clientId,
dateIn, dateOut) Then
Else
End If
End If
Catch ex As Exception
MessageBox.Show(ex.Message, "Add Reservation Error",
MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
End Sub
Try
Else
If reservation.editReservation(reservationId, roomNumber,
clientId, dateIn, dateOut) Then
Else
End If
End If
Catch ex As Exception
End Try
End Sub
- Remove The Selected Reservation Button
Try
If reservation.removeReservation(reservationId,
roomNumber) Then
Else
End If
Catch ex As Exception
End Try
End Sub
Reference
http://www.w3schools.com/
http://www.roseindia.com/css/css3_button.asp
http://www.stackoverflow.com/tags/javascript/info
http://wikipedia.com/wiki/JSP
vb.net Models, Languages, Design and Application Programming,
Ramez Elmasri and Shamkant B.
Navathe, 7th Edition, 2017, Pearson.