N Dharani
N Dharani
N Dharani
A Project Report
submitted to Tamil Nadu Open University, Chennai
in partial fulfillment for
the award of the degree
Submitted By
N.DHARANI
Enrollment Number: 211117100014
original work of N.DHARANI and is being submitted in partial fulfillment for the award of the
Degree in Computer Applications/ Computer Science of Tamil Nadu Open University, Chennai
600015. This report or part of this report has not been submitted earlier either to this University or to
any other University / Institution for the fulfillment of the requirement of a course of study or published
Place:
Date:
DECLARATION
I N.DHARANI a bonafide student of BCA Tamil Nadu Open University, Chennai would
submitted by me in partial fulfillment of the requirements for the award of the Degree of
Place:
V
ABSTRACT
1. INTRODUCTION
1
1.1 INTRODUCTION OF THE PROJECT
3.3 DESIGN
` 3.3.1ARCHITECTURE DIAGRAM 11
VI
4. IMPLEMENTATION AND TESTING
5. TESTING 26
6.1 RESULT 27
6.2 CONCLUSION 28
7. CODING 40
8. REFERENCE 78
Architecture Diagram 17
VII
LIST OF ABBREVIATIONS
VIII
CHAPTER 1
INTRODUCTION
1.1 INTRODUCTION
1
1.2 EXISTING SYSTEM:
This project is a system to store data of employees, sales, and order. The admin
canadd the employee list and update the employee details. Similarly, the employee
can manage sales and order. Developed using the visual studio Easy to manage
and understandable.
2
CHAPTER 2
In the previous chapter, the existing system and the proposed system of the
proposed system of the project are discussed. This chapter deals with the
literature survey, problem definition and methodology. The problem definition
discusses about the objectives of the project and methodology used to develop the
project
3
2.2 PROBLEM DEFINITION:
4
CHAPTER 3
Asp: The .NET platform .NET is a developer platform made up of tools, programming
languages, and libraries for building many different types of applications. The base
platform provides components that apply to all different types of apps. Additional
frameworks, such as ASP.NET, extend .NET with components for building specific types
of apps. Here are some things included in the .NET platform: The C#, F#, and Visual
Basic programming languages Base libraries for working with strings, dates, files/IO,
and more Editors and tools for Windows, Linux, macOS, and Docker ASP.NET
extends .NET ASP.NET extends the .NET platform with tools and libraries specifically for
building web apps. These are some things that ASP.NET adds to the .NET platform:
Base framework for processing web requests in C# or F# Web-page templating syntax,
known as Razor, for building dynamic web pages using C# Libraries for common web
patterns, such as Model View Controller (MVC) Authentication system that includes
libraries, a database, and template pages for handling logins, including multi-factor.
MySQL: SQL SERVER includes a variety of highly precise, configurable security features.
These features can empower administrators to implement defense-in-depth that is
optimized for the specific security risks of their environment. To learn about security
features, see Security Considerations for SQL server
5
3.2 REQUIREMENT ANALYSIS:
Hardware Configuration:
RAM : 4.00 GB
Hard disk : 160GB
Keyboard : 84 keys
Software configuration:
7
3.3DESIGN:
Modules:
• Admin Login
• Dashboard
8
3.3.2 DATAFLOW DIAGRAM:
CONTEXT LEVEL:
Login Login-info
Canteen
Loading-info
Loading
management
system
MDIParent
MDIParent Form-info
form
9
First Level DFD:
Login Login-info
Canteen Loading-info
Loading
management
system
MDIParent
MDIParent Form-info
form
10
Figure 3.5 DFD diagram
11
Figure3.6DFDdiagram
12
3.3.3 Database Table Design:
Login:
Add Employee:
13
Add Item:
Stock Entry:
Sale Master:
ID int Null
14
Sale Temp:
AddDesignation:
Add ItemType:
15
CHAPTER-4
IMPLEMENTATION AND TESTING
4.1 IMPLEMENTATION:
Implementation explains the working of this project and also explainseach and
every part of the modules in the project.
Login module is a interface designed for the user and user type mentioned by the user.
16
4.1.2 MDI PARENT FORM:
17
4.1.4 Form Item:
In this module you can put the details of the Item, Item type and its cost. You can
Save, update, delete, clear the details of the product.
18
4.1.6 FORMSALESENTRY:
19
FIGURE 4.7 FORMSALESENTRY
20
4.1.9 FORM ADD DESIGNATION:
21
CHAPTER-5
TESTING
Admin can generate report on Products, Sales on various search criteria. Admin can
export the report of Orders, Food, Employee in excel format. Admin will be able to export
the report of Products, Sales, Employee, Orders in PDF format. Print functionality has been
implemented with all reports
22
CHAPTER 6
RESULTS AND CONCLUSION
6.1 RESULT:
In this Canteen Automation System, we can store data of order which is given by
user or admin, food details and the users data into database. In Food we can add
data likefood name, category and amount of the food into database. In Order we can
store data likes user id, date, time, category of food, name, quantity and total of
food.
6.2 CONCLUSION:
In conclusion Our project is only a humble venture to satisfy the needs to manage their
project work. Several user-friendly coding has also adopted. This package shall prove
to be a powerful package in satisfying all the requirements of the college. The objective
of project planning is to provide a frame work that enables the manger to make
reasonable estimates made within a limited time frame at the beginning of the software
project and should be updated regularly as the project progresses. At the end it is
concluded that we have made effort on following points...
A description of the background and context of the project and its relation to
work already done in the area. Made statement of the aim sand objectives of the project.
The description of Purpose, Scope, and applicability. We describe the requirement
Specifications of the system and the actions that can be done on these things.
We understand the problem domain and produce a model of the system, which
describes operations that can be performed on the system. We included features and
operations in detail, including screen layouts. The project could very well be enhanced
to further asper the requirements.
23
6.3 FUTURE ENHANCEMENT:
In a nutshell, I can be summarized that the future scope of the project circles
around maintaining information regarding:
24
7. CODING
VB CODING:
LOGIN FORM:
Imports System.Data.SqlClientPublic
Class Frmlogin
Private Sub btnlogin_Click(ByVal sender As System.Object, ByVal eAs
System.EventArgs) Handles btnlogin.Click
con.Open()
Username1 = txtusername.TextUtype
= Cmbusertype.Text Pass =
txtpass.Text
con.Close()
End If
Else
MessageBox.Show("please enter valid password", "InputError",
MessageBoxButtons.OK, MessageBoxIcon.Warning)
End If
27
End Sub
FORM
LOADING:
29
Timer1.Stop()
End If
End Sub
End Class
Imports System.Data.SqlClientPublic
Class frmAddEmployee
Private Sub btnsave_Click(ByVal sender As System.Object, ByVal eAs
System.EventArgs) Handles btnsave.Click
If txtName.Text = "" Then txtName.Focus() : Exit Sub
31
con.Close()
If (i > 0) Then
MsgBox("success", MsgBoxStyle.Information)
LoadDatainGrid()
clr()
Else
MsgBox("failed", MsgBoxStyle.Critical)End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
cmd.Connection.Close()
End Sub
lblEID.Visible = False
BindCombo()
LoadDatainGrid()
End Sub
32
FORM ITEMENTRY:
Imports System.Data.SqlClientPublic
Class FrmItemEntry
For i = 0 To a cmditemtype.Items.Add(ds.Tables(0).Rows(i)(1).ToString())
Next
Else
33
If txttitle.Text = "" Then txttitle.Focus() : Exit Sub If
txtcost.Text = "" Then txtcost.Focus() : Exit Sub If
txtDesc.Text = "" Then txtDesc.Focus() : Exit Sub
34
If cmditemtype.Text = "" Then cmditemtype.Focus() : Exit Sub
Try
Else
MsgBox(" Failed")
End Ifclr()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End sub
FORM STOCKENTRY:
Imports System.Data.SqlClientPublic
Class frmstockentry
36
If cmbitems.Text = "" Then cmbitems.Focus() : Exit Sub
Try
Else
MsgBox(" Failed")clr()
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
= "" Then
37
If (i > 0) Then
38
MessageBoxButtons.OK, MessageBoxIcon.Error)
End If
LoadDatainGrid()clr()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
End If
End Sub
Imports System.Data.SqlClientPublic
Class frmsalesentry
Dim cost As String = "" Dim
MaxID As String = ""Dim qty
As String = "" Dim qty2 As
String = "" Dim tot As String =
""
40
Panel1.Visible = True
bindcmb() getMaxID()
Else
Catch ex As Exception
42
Private Sub btnchangepass_Click(ByVal sender As System.Object,ByVal e
As System.EventArgs) Handles btnchangepass.Click
If con.State = 1 Then con.Close()
MsgBox("failed")End
If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
Else
43
MsgBox("Old Password Not Matched", MsgBoxStyle.Critical)
Me.Dispose()
End If
End Sub
44
End Class
Try
Else
MsgBox(" Failed")End
If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Private Sub btnupdate_Click(ByVal sender As System.Object, ByVale As
System.EventArgs) Handles btnupdate.Click
45
If con.State = 1 Then con.Close()
46
i = InsertData(qry)
If (i>= 1) Then
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
If _Id = "" Then MsgBox("select any row for delete") : Exit SubTry
qry = "Delete from tblDesignation where ID='" & _Id & "'" i =
InsertData(qry)
If i >= 1 Then
MsgBox("failed")End
If
Catch ex As Exception
47
MsgBox(ex.Message)
End Try
End Sub
48
FORM ADDITEMTYPE:
Imports System.Data.SqlClientPublic
Class FrmAddItemType
Private Sub btnsave_Click(ByVal sender As System.Object, ByVal eAs
System.EventArgs) Handles btnsave.Click
If con.State = 1 Then con.Close()
Try
Else
MsgBox(" Failed")End
If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Private Sub btnupdate_Click(ByVal sender As System.Object, ByVale As
System.EventArgs) Handles btnupdate.Click
If con.State = 1 Then con.Close()
49
If _Id = "" Then MsgBox("select any row for delete") : Exit SubTry
qry = "update tblItemType set ItemType ='" &
txtItemtype.Text & "' where ID='" & _Id & "' "
50
i = InsertData(qry)If
(i >= 1) Then
MsgBox(" Data Updated Successfully",
MsgBoxStyle.Information)
LoadDatainGrid()
txtItemtype.Clear()
txtItemtype.Focus()
Else
MsgBox(" Failed")End
If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
If _Id = "" Then MsgBox("select any row for delete") : Exit SubTry
qry = "Delete from tblItemType where ID='" & _Id & "'"i =
InsertData(qry)
If i >= 1 Then
51
MsgBox("failed")End
If
Catch ex As Exception
52
MsgBox(ex.Message)
End Try
End Sub
DataGridView1.DataSource = Nothing
End If
End Sub
Private Sub FrmAddItemType_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load
LoadDatainGrid()End
Sub
_Id = ""
54
DataGridView1.Item(1, i).Value
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
End Sub
End Class
MODULE:
Imports System.Data
Imports System.Data.SqlClient
Module Module1
'search gridview
55
Public Function FetchData(ByVal qry As String) As DataSet
56
New DataSet()
da.Fill(ds)
Return ds
con.Close()
End Function
End FunctionEnd
Module
Me.tablSaleTempTableAdapter.Fill(Me.salesreportDataSet.tableSaleTemp)
57
Me.ReportViewer1.RefreshReport()End
Sub
End Class
58
MDI PARENT FORM:
Imports System.Windows.FormsPublic
Class MDIParent1
Private Sub ShowNewForm(ByVal sender As Object, ByVal e As
EventArgs)
' Create a new instance of the child form.
m_ChildFormNumber += 1
ChildForm.Show()End
Sub
System.Windows.Forms.DialogResult.OK) Then
59
End If
End Sub
60
SaveFileDialog.InitialDirectory =
My.Computer.FileSystem.SpecialDirectories.MyDocuments SaveFileDialog.Filter
= "Text Files (*.txt)|*.txt|All Files (*.*)|*.*"
If (SaveFileDialog.ShowDialog(Me) =
System.Windows.Forms.DialogResult.OK) Then
Dim FileName As String = SaveFileDialog.FileName
' TODO: Add code here to save the current contents of theform to a
file.
End If
End Sub
61
Private Sub PasteToolStripMenuItem_Click(ByVal sender AsObject,
ByVal e As EventArgs)
'Use My.Computer.Clipboard.GetText() or
62
My.Computer.Clipboard.GetData to retrieve information from theclipboard.
End Sub
64
ChildForm.Close()
Next
End Sub
Me.Dispose() Exit
Sub Application.Exit()
Me.Close()
End If
End Sub
66
Private Sub AddStockToolStripMenuItem_Click(ByVal sender AsSystem.Object, ByVal
e As System.EventArgs) Handles AddStockToolStripMenuItem.Click
frmstockentry.Show()End
Sub
67
Private Sub BBToolStripMenuItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
68
BBToolStripMenuItem.Click
FrmAddItemType.Show()End
Sub
End Class
SQL CODING:
tbLogin:
tblEmployeeMgt:
create table
tblEmployeeMgt( EmpId int
69
identity(1,1) Primary Key,
EmpName nvarchar(50), Designation
nvarchar(50),
Salary numeric(30), Mobile
numeric(30), Email
70
nvarchar(50), DOB
nvarchar(30), Address
nvarchar(500),City
nvarchar(50), State
nvarchar(50), PINNo
numeric(30), Country
nvarchar(50),
tblDesignation:
71
tblDesignation(Designation)values('SalesBoy')
72
tblItemType:
tblItem:
73
insert into tblItem Values('BreadRoll','Veg','30','VegBreadRoll')insert into
tblItem values('Tea','Drink','20','Tea')
insert into tblItem
74
values('BreadSandwitch','Veg','30','Breadsandwitch')
tablestock:
tblsaleMaster:
75
tableSaleTemp:
create table
tableSaleTemp( saleID int
identity Primary Key,ID
76
nvarchar(50),
Itemname nvarchar(50),
Quantity nvarchar(50),
Totalcost nvarchar(50),
)
77
8.REFERENCES
Mhalgi, S., Marne, P., Kulkarni, M., Kapure, S., & Shekapure,S. (2019). Cloud based
android app for college CANTEEN ORDERING DASHBOARD.
IJRAR- International Journal of Research and Analytical Reviews (IJRAR), 6(1), 969-
972.Shuvo, M., & Foysal, M. (2019). CANTEEN ORDERING DASHBOARD.
Katkar, A., & Jangale, S. (2018). CANTEEN ORDERING DASHBOARD using E-wallet.
International journal of advance research, idea and innovation.
Fegade, R., Nandge, G., Patil, P., Gaikwad, T., & Bastawade,P. P. (2019). Canteen
Management Android Application Using E-Wallet. International Research Journal of
Engineering and Technology (IRJET), 6(3), 6624-6628.
Rarh, F., Pojee, D., Zulphekari, S., & Shah, V. (2017,October). Restaurant table
reservation using time-series prediction. In 2017 2nd International Conference on
Communication and Electronics Systems (ICCES) (pp. 153-155). IEEE.
78
79