Professional Documents
Culture Documents
REPORT
ON
MOBILE GALLERY MANAGEMENT SYSTEM
(MGMS)
Submitted to HCL
Submitted By:
Report on MGMS
Rahul Dewakar
B.Tech Computer Science
IIIrd Year
CONTENTS
1. Abstract
2. Introduction
2.1 About Project
2.2 Justification
2.3 Scope
3. System Study
3.1 Existing System
3.2 Proposed System
3.3 Feasibility Study
3.3.1 Operational Feasibility
3.3.2 Economical Feasibility
3.3.3 Technical Feasibility
4. System Design
4.1 Database Design
4.2 I/O Screen Layouts
4.3 Report Layout
5. System Testing
5.1 Preparation of Test Data
5.2 Testing
6. System Implementation
7. Conclusion
7.1 Advantages
7.2 Limitations
7.3 Further Scope
8. Research Methodology
8.1 Hardware Requirement
8.2 Software Requirement
9. References
1. ABSTRACT
In our Windows Based, on “MOBILE GALLERY MANAGEMENT SYSTEM”, we have tried to show
how the Data/information in Mobile Gallery is managed. This is just an overview of management in
Mobile Gallery. Customer is provided with different services like booking, booking can be advance
booking or current booking. If the customer wants he/she can cancel his/her advance booking. Enquiry
about any customer can be made either by customer id or customer name. Enquiry about room can also
be made.
We have used VB.Net for developing this Project and SQL-Server Database is used as a back-end for
all data/information processing. Operating system is Windows 98/2000/XP. Project is feasible since it
fulfills the requirements that any software needs to be operationally, economically and technically
feasible. This environment administers all aspects of program execution.
After going through the existing system, problem was identified and the scope of development was
finalized.
2. INTRODUCTION
2.2) Justification:
Although, ‘Mobile Gallery’ are already having well-developed software for information management,
we just want to study how this is done. So, we selected ‘Mobile Gallery Management System’ as our
project. We visited various Mobile Gallery and gone through their software .In most of the ‘Mobile
Gallery’ the back-end used is SQL-Sever as database .We have used SQL-Sever as back-end in our
project since it is pure relational database. In one of the Mobile Gallery we found that they have the
problem that their software does not show the Items (Handset, Sim, Top-Up, Recharge-Coupon) vacant
as soon as it being vacant. They were facing problem in providing Items to customers. In our project we
have tried to solve this problem and at any moment of time the status of Item that whether it is vacant or
filled are shown correctly.
2.3) Scope:
Developing software on a topic like “Mobile Gallery Management System” has much scope. It can be
made more attractive and many more modules can be attached to provide various services to customer.
Our project provides various services to the Mobile Shopper like MGMS is separate any number of
Rahul Dewakar Page 4
Report on MGMS
records automatically save, restore and stock information into the MGMS database. It is a windows
application specifically to maintain and manage their customer account and inventory controlling of
available stock. It is a fully automated customer account and inventory controlling of compact disk,
analyzing, sorting, storing, tracking and maintain of customer account of any number of requirement.
The project has Scope in MGMS since the routine activities of managing departments become easy.
3) SYSTEM STUDY:
The existing system is various MGMS running in various Mobile Gallery, which are using SQL-Server
as back-end. The existing system has the problem that information about the Items(Handset, Sim, Top-
Up, Recharge-Coupon) is not updated at the time when the item is being vacated. The information is
updated after a particular time period.
The system proposed by our project is using SQL-server as back-end since it is pure relational database.
The proposed system will solve the problem of updating of all items information of existing system.
3.3) FEASIBILITY
The objective of feasibility study is to determine whether or not the proposed system is feasible. The
feasibility is determined in terms of three aspects. These are:-
In this, one has to test whether the system can be developed using existing technology or not. We have
used VB.Net as front-end and SQL-Server as back-end. It is evident that necessary hardware and
software are available for development and implementation of proposed system.
The Mobile Gallery are already using various software for managing their information and since it is
acceptable by both Mobile Gallery administration as well as employee, it is proven to be operationally
feasible.
As a part of this, the costs and benefits associated with the proposed system are compared and the
project is economically feasible only if tangible and intangible benefits outweigh the cost. The cost for
proposed MGMS is outweighing the cost and efforts involved in maintaining the registers, books, files
and generation of various reports. The system also reduces the administrative and technical staff to do
various jobs that single software can do. So, this system is economically feasible.
4) SYSTEM DESIGN
PRIMARY KEY,UNIQUE
MODELCODE INTEGER ID GIVEN TO MODEL
NUMBER OF MODEL
MODELNO VARCHAR
REMARK/SPECIAL TO
MODELREMARK VARCHAR MODEL
PRIMARY KEY,UNIQUE
PRD_CODE INTEGER ID GIVEN TO
MASTER(SIM,TOP-UP,
RECHARGE-COUPON)
TYPE OF PRODUCT
PRD_TYPE VARCHAR SUCH AS :-
(SIM,TOP-UP,
RECHARGE-COUPON)
NAME OF COMPANY
PRD_CMPNAME VARCHAR
NAME OF PRODUCT
PRD_NAME VARCHAR (LIFE TIME, MUSKAN
PACK, FAMILY PACK)
RUPEES OF PRODUCT
PRD_RS INTEGER
SPECIAL FOR
PRD_REMARK VARCHAR PRODUCTS
PRIMARY KEY,UNIQUE
CMPCODE INTEGER ID GIVEN TO COMPANY
NAME OF THE
CMPNAME VARCHAR COMPANY
OFFICE’S NAME
CMPSHOPNAME VARCHAR
E-MAIL ADDRESS OF
CMPEMAIL VARCHAR COMPANY
CITY NAME
CMPCITY VARCHAR
STATE NAME
CMPSTATE VARCHAR
ZIPCODE NO.
CMPZIPCODE INTEGER
EMPLOYEE
DIAGRAM DESIGN
1. PASSWORD FORM
1. MDI FORM
8. INFORMATION FORM
PASSWORD FORM
Public Class PASSWORD_FORM
MDI FORM
MDL.MdiParent = Me
MDL.Show()
End Sub
MDL.MdiParent = Me
MDL.Show()
End Sub
End Sub
End Sub
MDL.Show()
End Sub
End If
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandText = "select bill_no,ime_no from
ime_table"
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.adp.Fill(dts1.Tables("ime_table"))
crstl.SetDataSource(dts1.Tables("ime_table"))
ModelReport.CrystalReportViewer1.ReportSource = crstl
ModelReport.Show()
End Sub
dtset.Tables(tablename).Rows.Clear()
Catch ex As Exception
End Try
cmd.Connection = con
adp.SelectCommand = cmd
adp.SelectCommand.ExecuteNonQuery()
If Not (tablename = "") Then
adp.Fill(dtset, tablename)
Else
adp.Fill(dtset, "temptable")
End If
End Sub
Dim i As Integer
Dim mydt As New DataTable
Dim rowrecord As Integer = 0
Private Sub compexit_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles compexit.Click
Me.Dispose()
End Sub
Try
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "mstcompany 'U'," &
Convert.ToInt32(txtcmpcode.Text) & ", '" & txtcmpname.Text & "' "
cmnobj.cmd.ExecuteNonQuery()
cmnobj.textblank(GroupBox2)
updatedata = False
MessageBox.Show("Successful Updated", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmdsave.Text = "Save"
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtcmpcode.Text = ""
txtcmpcode.Focus()
End Try
Exit Sub
End If
Try
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "mstcompany 'S'," &
Convert.ToInt32(txtcmpcode.Text) & ", '" & txtcmpname.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Saved", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox2)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtcmpcode.Text = ""
txtcmpcode.Focus()
End Try
End If
End Sub
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.cmd.Connection = cmnobj.con
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.adp.Fill(mydt)
If (mydt.Rows.Count > 0) Then
show_data(0)
End If
End Sub
Private Sub show_data(ByVal record As Integer)
txtcmpcode.Text =
mydt.Rows(record).Item("comp_code").ToString()
txtcmpname.Text =
mydt.Rows(record).Item("comp_name").ToString()
End Sub
cmdsave.Text = "Save"
End Sub
End Class
End If
End Sub
End Class
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "mastercompany")
cmbcomp_name.DataSource = cmnobj.dtset.Tables("mastercompany")
cmbcomp_name.ValueMember =
cmnobj.dtset.Tables("mastercompany").Columns(0).ToString()
cmbcomp_name.DisplayMember =
cmnobj.dtset.Tables("mastercompany").Columns("comp_name").ToString()
End Sub
End Sub
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "masterstr 'U'," &
Convert.ToInt32(txtprod_code.Text) & ", '" & cmbprod_type.Text & "','"
& cmbcomp_name.Text & "','" & txtprod_name.Text & "'," &
Convert.ToInt32(txtprod_rs.Text) & "," &
Convert.ToInt32(txtprod_tvalue.Text) & ",'" & txtprod_ttime.Text &
"','" & txtprod_remark.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Updated", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox2)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtprod_code.Text = ""
txtprod_code.Focus()
End Try
updatedata = False
cmdsave.Text = "Save"
Else
cmnobj.myconnection()
If txtprod_code.Text = "" Then
MessageBox.Show("Fill Up The Company Code", "Blank
Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
Exit Sub
End If
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "masterstr 'S'," &
Convert.ToInt32(txtprod_code.Text) & ", '" & cmbprod_type.Text & "','"
& cmbcomp_name.Text & "','" & txtprod_name.Text & "'," &
Convert.ToInt32(txtprod_rs.Text) & "," &
Convert.ToInt32(txtprod_tvalue.Text) & ",'" & txtprod_ttime.Text &
"','" & txtprod_remark.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Saved", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox2)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtprod_code.Text = ""
txtprod_code.Focus()
End Try
End If
End Sub
End Sub
If Not (strgrid.Rows(r).Cells("prd_code").Value.ToString() =
"") Then
cmnobj.cmd.Parameters.Clear()
Mstr__STR.txtprod_code.Text =
strgrid.Rows(r).Cells("prd_code").Value.ToString()
Mstr__STR.cmbprod_type.Text =
strgrid.Rows(r).Cells("prd_type").Value.ToString()
Mstr__STR.cmbcomp_name.Text =
strgrid.Rows(r).Cells("prd_cmpname").Value.ToString()
Mstr__STR.txtprod_name.Text =
strgrid.Rows(r).Cells("prd_name").Value.ToString()
Mstr__STR.txtprod_rs.Text =
strgrid.Rows(r).Cells("prd_rs").Value.ToString()
Mstr__STR.txtprod_tvalue.Text =
strgrid.Rows(r).Cells("prd_tvalue").Value.ToString()
Mstr__STR.txtprod_ttime.Text =
strgrid.Rows(r).Cells("prd_ttime").Value.ToString()
Mstr__STR.txtprod_remark.Text =
strgrid.Rows(r).Cells("prd_remark").Value.ToString()
Mstr__STR.updatedata = True
Me.Dispose()
Mstr__STR.Show()
Mstr__STR.cmdsave.Text = "Update"
Else
MessageBox.Show("Information : Record is Blank", "Check
the Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
End Sub
fillup_sno()
End If
End Sub
cmdsave.Text = "Save"
End Sub
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "proceduremodel 'U'," &
Convert.ToInt32(txtmodel_code.Text) & ",'" & cmbcomp_name.Text & "',
'" & txtmodel_no.Text & "', '" & txtmodel_remark.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Updated", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
updatedata = False
cmdsave.Text = "Save"
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtmodel_code.Text = ""
txtmodel_code.Focus()
End Try
Else
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmbcomp_name.ValueMember =
cmnobj.dtset.Tables("mastermodel").Columns("comp_code").ToString()
cmbcomp_name.DisplayMember =
cmnobj.dtset.Tables("mastermodel").Columns("comp_name").ToString()
modelgrid.Columns("srno").Width = 70
modelgrid.Columns("modelcmpname").Width = 120
modelgrid.Columns("modelremark").Width = 200
Allrecords.Checked = True
End Sub
cmnobj.adp.Fill(cmnobj.dtset, "models")
cmbmodel_no.DataSource = cmnobj.dtset.Tables("models")
cmbmodel_no.DisplayMember =
cmnobj.dtset.Tables("models").Columns("modelno").ToString()
Model_Masterl.updatedata = True
Model_Masterl.cmdsave.Text = "Update"
Else
MessageBox.Show("Information : Record is Blank", "Check
the Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
End Sub
End Sub
'Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "compentry 'U'," &
txtcomp_code.Text & ",'" & cmdcomp_name.Text & "','" &
txtcomp_sname.Text & "','" & txtcomp_email.Text & "'," &
txtcomp_fax.Text & "," & txtcomp_phone.Text & "," & txtcomp_mob.Text
& ",'" & dtpcomp_dob.Text & "','" & txtcomp_city.Text & "', '" &
txtcomp_state.Text & "'," & txtcomp_zip.Text & ",'" &
txtcomp_address.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Updated", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtcomp_code.Text = ""
txtcomp_code.Focus()
End Try
cmdsave.Text = "Save"
Else
If txtcomp_code.Text = "" Then
MessageBox.Show("Fill Up The Company Code", "Blank
Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
Exit Sub
End If
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
Try
n = InputBox("Enter The Model Code", "To Delete", , 300,
300)
txtcomp_code.Text = n
qry = ("findouts " & Convert.ToInt32(txtcomp_code.Text) &
" ")
cmnobj.fillrecord(qry, "companyentry")
Catch ex As Exception
End Try
Else
MessageBox.Show("Record is not Found", "Again Search",
MessageBoxButtons.OK, MessageBoxIcon.Error)
txtcomp_code.Text = ""
txtcomp_code.Focus()
End If
End Sub
Try
Else
MsgBox("Record Is Not found")
cmnobj.textblank(Me.GroupBox1)
End If
End Sub
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "company")
cmdcomp_name.DataSource = cmnobj.dtset.Tables("company")
cmdcomp_name.ValueMember =
cmnobj.dtset.Tables("company").Columns("comp_code").ToString()
cmdcomp_name.DisplayMember =
cmnobj.dtset.Tables("company").Columns("comp_name").ToString()
End Sub
cmpgrid.Columns("cmpcode").HeaderText = "ID"
cmpgrid.Columns("cmpname").HeaderText = "COMPANY NAME"
cmpgrid.Columns("cmpshopname").HeaderText = "SHOP NAME"
cmpgrid.Columns("cmpemail").HeaderText = "E-MAIL ADDRESS"
cmpgrid.Columns("cmpfax").HeaderText = "FAX NO."
cmpgrid.Columns("cmpphone").HeaderText = "PHONE NO."
cmpgrid.Columns("cmpmobile").HeaderText = "MOBILE NO."
cmpgrid.Columns("cmpdate").HeaderText = "JOIN DATE"
cmpgrid.Columns("cmpcity").HeaderText = "CITY"
cmpgrid.Columns("cmpstate").HeaderText = "STATE"
cmpgrid.Columns("cmpzipcode").HeaderText = "ZIPCODE"
cmpgrid.Columns("cmpaddress").HeaderText = "COMPANY ADDRESS"
cmpgrid.Columns("CMPCODE").Width = 70
cmpgrid.Columns("cmpname").Width = 120
cmpgrid.Columns("cmpshopname").Width = 150
cmpgrid.Columns("cmpemail").Width = 150
cmpgrid.Columns("cmpaddress").Width = 200
End Sub
Company_entry.txtcomp_city.Text =
cmpgrid.Rows(r).Cells("cmpcity").Value.ToString()
Company_entry.txtcomp_state.Text =
cmpgrid.Rows(r).Cells("cmpstate").Value.ToString()
Company_entry.txtcomp_zip.Text =
cmpgrid.Rows(r).Cells("cmpzipcode").Value.ToString()
Company_entry.txtcomp_address.Text =
cmpgrid.Rows(r).Cells("cmpaddress").Value.ToString()
Company_entry.updatedata = True
Me.Close()
Company_entry.Show()
Company_entry.cmdsave.Text = "Update"
Else
MessageBox.Show("Information : Record is Blank", "Check
the Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
End Sub
End Sub
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.adp.Fill(dtable)
cmpgrid.DataSource = dtable
fillsno()
End Sub
End Class
cmnobj.myconnection()
Cmbemp_ST.SelectedIndex = 0
cmbemp_cat.SelectedIndex = 0
cmbemp_sex.SelectedIndex = 0
End Sub
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "empentry 'U'," &
Convert.ToInt32(txtemp_code.Text) & ",'" & txtemp_name.Text & "','" &
txtemp_jdate.Value & "','" & txtemp_fname.Text & "','" &
txtemp_dob.Value & "','" & Cmbemp_ST.Text & "','" & cmbemp_sex.Text &
"','" & cmbemp_cat.Text & "'," & txtemp_sal.Text & "," &
txtemp_phone.Text & ", " & txtemp_mob.Text & "," & txtemp_fax.Text &
",'" & txtemp_mail.Text & "','" & txtemp_ccity.Text & "','" &
txtemp_cstate.Text & "'," & txtemp_czip.Text & ",'" &
txtemp_cadd.Text & "','" & txtemp_pcity.Text & "','" &
txtemp_pstate.Text & "'," & txtemp_pzip.Text & ",'" &
txtemp_padd.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Updated", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
updatedata = False
cmdsave.Text = "Save"
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtemp_code.Text = ""
txtemp_code.Focus()
End Try
Else
cmnobj.myconnection()
If txtemp_code.Text = "" Then
MessageBox.Show("Fill Up The Company Code", "Blank
Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
Exit Sub
End If
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "empentry 'S'," &
Convert.ToInt32(txtemp_code.Text) & ",'" & txtemp_name.Text & "','" &
txtemp_jdate.Value & "','" & txtemp_fname.Text & "','" &
txtemp_dob.Value & "','" & Cmbemp_ST.Text & "','" & cmbemp_sex.Text &
"','" & cmbemp_cat.Text & "'," & txtemp_sal.Text & "," &
txtemp_phone.Text & ", " & txtemp_mob.Text & "," & txtemp_fax.Text &
",'" & txtemp_mail.Text & "','" & txtemp_ccity.Text & "','" &
txtemp_cstate.Text & "'," & txtemp_czip.Text & ",'" &
txtemp_cadd.Text & "','" & txtemp_pcity.Text & "','" &
txtemp_pstate.Text & "'," & txtemp_pzip.Text & ",'" &
txtemp_padd.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Saved", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtemp_code.Text = ""
txtemp_code.Focus()
End Try
End If
End Sub
End Try
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "comp")
cmbcomp_name.DataSource = cmnobj.dtset.Tables("comp")
cmbcomp_name.DisplayMember =
cmnobj.dtset.Tables("comp").Columns("emp_code").ToString()
empgrid.Columns("emp_code").Width = 70
empgrid.Columns("emp_name").Width = 120
empgrid.Columns("emp_date").Width = 100
empgrid.Columns("emp_fname").Width = 120
empgrid.Columns("emp_dob").Width = 100
empgrid.Columns("emp_ms").Width = 120
empgrid.Columns("emp_sex").Width = 100
empgrid.Columns("emp_cat").Width = 100
empgrid.Columns("emp_sal").Width = 100
empgrid.Columns("emp_phone").Width = 100
empgrid.Columns("emp_mob").Width = 100
empgrid.Columns("emp_fax").Width = 100
empgrid.Columns("emp_email").Width = 200
empgrid.Columns("emp_ccity").Width = 100
empgrid.Columns("emp_cstate").Width = 100
empgrid.Columns("emp_czip").Width = 100
empgrid.Columns("emp_cadd").Width = 200
empgrid.Columns("emp_pcity").Width = 100
empgrid.Columns("emp_pstate").Width = 100
empgrid.Columns("emp_pzip").Width = 100
empgrid.Columns("emp_padd").Width = 200
End Sub
Employee_entry.txtemp_sal.Text =
empgrid.Rows(r).Cells("emp_sal").Value.ToString()
Employee_entry.txtemp_phone.Text =
empgrid.Rows(r).Cells("emp_phone").Value.ToString()
Employee_entry.txtemp_mob.Text =
empgrid.Rows(r).Cells("emp_mob").Value.ToString()
Employee_entry.txtemp_fax.Text =
empgrid.Rows(r).Cells("emp_fax").Value.ToString()
Employee_entry.txtemp_mail.Text =
empgrid.Rows(r).Cells("emp_email").Value.ToString()
Employee_entry.txtemp_ccity.Text =
empgrid.Rows(r).Cells("emp_ccity").Value.ToString()
Employee_entry.txtemp_cstate.Text =
empgrid.Rows(r).Cells("emp_cstate").Value.ToString()
Employee_entry.txtemp_czip.Text =
empgrid.Rows(r).Cells("emp_czip").Value.ToString()
Employee_entry.txtemp_cadd.Text =
empgrid.Rows(r).Cells("emp_cadd").Value.ToString()
Employee_entry.txtemp_pcity.Text =
empgrid.Rows(r).Cells("emp_pcity").Value.ToString()
Employee_entry.txtemp_pstate.Text =
empgrid.Rows(r).Cells("emp_pstate").Value.ToString()
Employee_entry.txtemp_pzip.Text =
empgrid.Rows(r).Cells("emp_pzip").Value.ToString()
Employee_entry.txtemp_padd.Text =
empgrid.Rows(r).Cells("emp_padd").Value.ToString()
Me.Close()
Employee_entry.Show()
Employee_entry.updatedata = True
Employee_entry.cmdsave.Text = "Update"
Else
MessageBox.Show("Information : Record is Blank", "Check
the Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
End Sub
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.cmd.CommandText = "empentry 'D', " &
empgrid.Rows(r).Cells("emp_code").Value.ToString() & ""
cmnobj.adp.DeleteCommand = cmnobj.cmd
cmnobj.cmd.ExecuteNonQuery()
End If
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
dtable = cmnobj.getdatatable("empentry")
empgrid.DataSource = dtable
End If
End Sub
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandText = "empentry"
cmnobj.cmd.CommandType = CommandType.StoredProcedure
cmnobj.adp.SelectCommand = cmnobj.cmd
Try
cmnobj.cmd.Parameters.Clear()
Catch ex As Exception
End Try
cmnobj.dtset.Clear()
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "comp")
cmbcomp_name.DataSource = cmnobj.dtset.Tables("comp")
cmbcomp_name.DisplayMember =
cmnobj.dtset.Tables("comp").Columns("emp_code").ToString()
End Try
End Sub
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "partyentry 'U'," &
Convert.ToInt32(txtparty_code.Text) & ",'" & txtparty_name.Text &
"','" & dtpparty_date.Value & "'," &
Convert.ToInt32(txtparty_phone.Text) & "," &
Convert.ToInt32(txtparty_mob.Text) & "," &
Convert.ToInt32(txtparty_fax.Text) & "," &
Convert.ToInt32(txtparty_zip.Text) & ",'" & txtparty_email.Text &
"','" & txtparty_city.Text & "','" & txtparty_state.Text & "', '" &
txtparty_address.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
Else
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "partyentry 'S'," &
Convert.ToInt32(txtparty_code.Text) & ",'" & txtparty_name.Text &
"','" & dtpparty_date.Value & "'," &
Convert.ToInt32(txtparty_phone.Text) & "," &
Convert.ToInt32(txtparty_mob.Text) & "," &
Convert.ToInt32(txtparty_fax.Text) & "," &
Convert.ToInt32(txtparty_zip.Text) & ",'" & txtparty_email.Text &
"','" & txtparty_city.Text & "','" & txtparty_state.Text & "', '" &
txtparty_address.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Saved", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtparty_code.Text = ""
txtparty_code.Focus()
End Try
End If
End Sub
PartyEntry_frm.txtparty_mob.Text =
partygrid.Rows(r).Cells("party_mobile").Value.ToString()
PartyEntry_frm.txtparty_fax.Text =
partygrid.Rows(r).Cells("party_fax").Value.ToString()
PartyEntry_frm.txtparty_zip.Text =
partygrid.Rows(r).Cells("party_zip").Value.ToString()
PartyEntry_frm.txtparty_email.Text =
partygrid.Rows(r).Cells("party_email").Value.ToString()
PartyEntry_frm.txtparty_city.Text =
partygrid.Rows(r).Cells("party_city").Value.ToString()
PartyEntry_frm.txtparty_state.Text =
partygrid.Rows(r).Cells("party_state").Value.ToString()
PartyEntry_frm.txtparty_address.Text =
partygrid.Rows(r).Cells("party_add").Value.ToString()
Me.Dispose()
PartyEntry_frm.Show()
PartyEntry_frm.cmdsave.Text = "Update"
PartyEntry_frm.updatedata = True
Else
MessageBox.Show("Information : Record is Blank", "Check
the Record", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
End Sub
fillup_sno()
End If
End Sub
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "supentry 'U'," &
Convert.ToInt32(txtparty_code.Text) & ",'" & txtparty_name.Text & "',"
& Convert.ToInt32(txtparty_phone.Text) & "," &
Convert.ToInt32(txtparty_mob.Text) & "," &
Convert.ToInt32(txtparty_fax.Text) & "," &
Convert.ToInt32(txtparty_zip.Text) & ",'" & txtparty_email.Text &
"','" & txtparty_city.Text & "','" & txtparty_state.Text & "', '" &
txtparty_address.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Updated", "Update
Dialog", MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
updatedata = False
cmdsave.Text = "Save"
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtparty_code.Text = ""
txtparty_code.Focus()
End Try
Else
Try
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.InsertCommand = cmnobj.cmd
cmnobj.cmd.CommandText = "supentry 'S'," &
Convert.ToInt32(txtparty_code.Text) & ",'" & txtparty_name.Text & "',"
& txtparty_phone.Text & "," & txtparty_mob.Text & "," &
txtparty_fax.Text & "," & txtparty_zip.Text & ",'" &
txtparty_email.Text & "','" & txtparty_city.Text & "','" &
txtparty_state.Text & "', '" & txtparty_address.Text & "'"
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Saved", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtparty_code.Text = ""
txtparty_code.Focus()
End Try
End If
End Sub
End Class
End Sub
Dim i As Integer
For i = 0 To dtable.Rows.Count - 1
grdsuplier.Rows(i).Cells("Srno").Value = i + 1
Next
End Sub
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.adp.Fill(dtable)
grdsuplier.DataSource = dtable
End Sub
End Class
INFORMATION FORM
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandText = "mstcompany"
cmnobj.cmd.CommandType = CommandType.StoredProcedure
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "company")
cmbcomp_name.DataSource = cmnobj.dtset.Tables("company")
cmbcomp_name.DisplayMember =
cmnobj.dtset.Tables("company").Columns("comp_name").ToString()
End Sub
cmnobj.myconnection()
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.cmd.CommandText = "select modelno from mastermodel
where modelcmpname = '" & cmbcomp_name.Text & "'"
cmnobj.adp.SelectCommand = cmnobj.cmd
Try
cmnobj.dtset.Tables("models").Clear()
Catch ex As Exception
End Try
cmnobj.adp.Fill(cmnobj.dtset, "models")
modeldisplay.DataSource = cmnobj.dtset.Tables("models")
modeldisplay.DisplayMember =
cmnobj.dtset.Tables("models").Columns("modelno").ToString()
End Sub
End Class
PURCHASE FORM
cmnobj.myconnection()
cmnobj.cmd.CommandText = "mstcompany"
cmnobj.cmd.CommandType = CommandType.StoredProcedure
cmnobj.cmd.Connection = cmnobj.con
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "comp_name")
cmbcomp_name.DataSource = cmnobj.dtset.Tables("comp_name")
cmbcomp_name.ValueMember =
cmnobj.dtset.Tables("tempoprary").Columns("comp_code").ToString()
cmbcomp_name.DisplayMember =
cmnobj.dtset.Tables("comp_name").Columns("comp_name").ToString()
cmnobj.cmd.Parameters.Clear()
cmnobj.myconnection()
cmnobj.cmd.CommandText = "masterstr"
cmnobj.cmd.CommandType = CommandType.StoredProcedure
cmnobj.cmd.Connection = cmnobj.con
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.cmd.Parameters.Add("@common", SqlDbType.VarChar, 1)
cmnobj.cmd.Parameters("@common").Value = "A"
cmnobj.adp.Fill(cmnobj.dtset, "tempoprary2")
cmbitem_name.DataSource = cmnobj.dtset.Tables("tempoprary2")
cmbcomp_name.ValueMember =
cmnobj.dtset.Tables("tempoprary").Columns("modelcode").ToString()
cmbitem_name.DisplayMember =
cmnobj.dtset.Tables("tempoprary2").Columns("prd_name").ToString()
End Sub
a = Convert.ToInt32(txt_gtotal.Text)
Else
a = 0
End If
cmnobj.cmd.CommandText = "purcs 'S'," &
Convert.ToInt32(txtbill_no.Text) & ", '" & dtppur.Value & "','" &
cmbitem_type.Text & "','" & cmbcomp_name.Text & "','" &
cmbitem_name.Text & "','" & cmbparty_name.Text & "'," & txtrs.Text &
"," & txtquantity.Text & "," & txt_stotal.Text & "," & TXT_TAX.Text &
"," & a & ""
cmnobj.cmd.ExecuteNonQuery()
MessageBox.Show("Successful Saved", "Saved Dialog",
MessageBoxButtons.OK, MessageBoxIcon.None)
cmnobj.textblank(Me.GroupBox1)
Catch ex As Exception
MessageBox.Show("Error : 001234 'Record is Exists",
"Duplicate", MessageBoxButtons.OK, MessageBoxIcon.Stop)
txtcmpcode.Text = ""
txtcmpcode.Focus()
End Try
End Sub
Try
cmnobj.dtset.Tables("models").Clear()
Catch ex As Exception
End Try
cmnobj.adp.Fill(cmnobj.dtset, "models")
cmbitem_name.DataSource = cmnobj.dtset.Tables("models")
cmbitem_name.DisplayMember =
cmnobj.dtset.Tables("models").Columns("modelno").ToString()
End Sub
cmnobj.cmd.Parameters.Clear()
cmnobj.cmd.CommandText = "sp_ime_table " &
Convert.ToInt32(txtbill_no.Text)
cmnobj.cmd.Connection = cmnobj.con
cmnobj.cmd.CommandType = CommandType.Text
cmnobj.adp.SelectCommand = cmnobj.cmd
cmnobj.adp.Fill(cmnobj.dtset, "dtime")
grdime.Columns.Clear()
grdime.DataSource = cmnobj.dtset.Tables("dtime")
grdime.Columns("bill_no").Visible = False
End If
End Sub
End Sub
End Sub
SALE FORM
use mgms
create table mastercompany(comp_code int, comp_name varchar(20)primary key)
insert into mastercompany VALUES(111,'NOKIA')
select * from mastercompany
else if @common='U'
begin
update mastercompany set comp_name = @compname,comp_code=@compid where comp_name =
@compname
end
else if @common='D'
begin
delete from mastercompany where comp_code=@compid
end
use mgms
create table mastermodel(modelcode int primary key, modelcmpname varchar(20),modelno
varchar(20),modelremark varchar(50))
if @common='S'
begin
insert into mastermodel(modelcode,modelcmpname,modelno,modelremark) values
(@mdlcode,@mdlcmpname,@mdlno,@mdlremark)
end
else if @common='A'
begin
select modelcode,modelcmpname,modelno,modelremark from mastermodel
end
else if @common ='D'
begin
delete from mastermodel where modelcode = @mdlcode
end
else if @common='U'
begin
update mastermodel set modelcode =@mdlcode, modelcmpname=@mdlcmpname,
modelno=@mdlno,modelremark=@mdlremark where modelcode =@mdlcode
end
if @common='A'
begin
select * from master_str
end
else if @common='S'
begin
insert into master_str (prd_code,prd_type,prd_cmpname,prd_name,prd_rs,prd_tvalue, prd_ttime,
prd_remark) values(@prdcode,@prdtype,@prdcmpname,@prdname,@prdrs,@prdtvalue,
@prdttime,@prdremark)
end
else if @common='U'
begin
update master_str set
prd_code=@prdcode,prd_type=@prdtype,prd_cmpname=@prdcmpname,prd_name=@prdname,prd_rs
=@prdrs,prd_tvalue=@prdtvalue,prd_ttime=@prdttime,prd_remark=@prdremark where
prd_code=@prdcode
Rahul Dewakar Page 108
Report on MGMS
end
else if @common='D'
begin
delete from master_str where prd_code=@prdcode
end
use mgms
create table companyentry(cmpcode int primary key, cmpname varchar(30),cmpshopname
varchar(50),cmpemail varchar(50),cmpfax int, cmpphone int, cmpmobile int,cmpdate datetime, cmpcity
varchar(15), cmpstate varchar(15),cmpzipcode int , cmpaddress varchar(100))
insert into companyentry values (788,'hutch','J-
Mobile','Yahoo.com',2343443,3245434,3453434,'12/12/2005','jodhpur','rajasthan',3453453,'Bishnoi
DharamShala')
update companyentry set cmpname ='BSNL' where cmpcode=323
select * from companyentry
if @common='A'
begin
select * from companyentry
end
else if @common='S'
Rahul Dewakar Page 109
Report on MGMS
begin
insert into companyentry
(cmpcode,cmpname,cmpshopname,cmpemail,cmpfax,cmpphone,cmpmobile,cmpdate,cmpcity,cmpstate,
cmpzipcode,cmpaddress) values(@compcode,@compname,@compshopname,@compemail,@compfax,
@compphone,@compmobile,@compdate,@compcity,@compstate,@compzipcode,@compaddress)
end
else if @common='U'
begin
update companyentry set
cmpcode=@compcode,cmpname=@compname,cmpshopname=@compshopname,cmpemail=@compe
mail,cmpfax=@compfax,cmpphone=@compphone,cmpmobile=@compmobile,cmpdate=@compdate,c
mpcity=@compcity,cmpstate=@compstate,cmpzipcode=@compzipcode,cmpaddress=@compaddress
where cmpcode=@compcode
end
else if @common='D'
begin
delete from companyentry where cmpcode=@compcode
end
else if @common ='Z'
begin
select cmpname from companyentry where cmpname=@compname
end
use mgms
create table emp_entry(emp_code int primary key, emp_name varchar(30),emp_date datetime,
emp_fname varchar(30),emp_dob datetime , emp_ms varchar(10),emp_sex varchar(10), emp_cat
varchar(15), emp_sal int, emp_phone int,emp_mob int,emp_fax int,emp_email varchar(50),emp_ccity
varchar(20),emp_cstate varchar(25),emp_czip int,emp_cadd varchar(100),emp_pcity
varchar(20),emp_pstate varchar(25),emp_pzip int, emp_padd varchar(100))
if @common='A'
begin
select * from emp_entry
end
else if @common='S'
begin
insert into emp_entry(emp_code, emp_name,emp_date, emp_fname ,emp_dob, emp_ms,emp_sex,
emp_cat, emp_sal, emp_phone,emp_mob,emp_fax,emp_email,emp_ccity, emp_cstate, emp_czip,
emp_cadd,emp_pcity,emp_pstate,emp_pzip, emp_padd)values (@empcode,@empname,@empdate,
use mgms
create table ime_table(bill_no int, ime_no varchar primary key)
if @common='A'
begin
select * from ime_table
end
else if @common='S'
Rahul Dewakar Page 112
Report on MGMS
begin
insert into ime_table(bill_no,ime_no) values(@billno,@imeno)
end
else if @common='I'
begin
select max(bill_no) from ime_table
end
use mgms
create table party_entry(party_code int, party_name varchar(50),party_jdate datetime,
party_phone int,party_mobile int,party_fax int,party_zip int, party_email varchar(100),
party_city varchar(20),party_state varchar(20),party_add varchar(100))
@common varchar(1)='',
@partycode int =0,
@partyname varchar(50)='',
@partyjdate datetime='',
@partyphone int=0,
@partymobile int=0,
@partyfax int=0,
@partyzip int=0,
@partyemail varchar(100)='',
@partycity varchar(20)='',
@partystate varchar(20)='',
@partyadd varchar(100)=''
as
if @common='A'
begin
select * from party_entry
end
else if @common='S'
begin
insert into
party_entry(party_code,party_name,party_jdate,party_phone,party_mobile,party_fax,part
y_zip,party_email,party_city,party_state,party_add)values (@partycode,@partyname,
@partyjdate,@partyphone,@partymobile,@partyfax,@partyzip,@partyemail,@partycity,
@partystate,@partyadd)
end
else if @common ='U'
begin
update party_entry set
party_code=@partycode,party_name=@partyname,party_jdate=@partyjdate,party_phon
e=@partyphone,party_mobile=@partymobile,party_fax=@partyfax,party_zip=@partyzi
p,party_email=@partyemail,party_city=@partycity,party_state=@partystate,party_add=
@partyadd where party_code=@partycode
end
else if @common='D'
begin
delete from party_entry where party_code=@partycode
end
@party varchar(50)=''
as
select * from party_entry where party_name=@party
use mgms
create table Sup_entry(sup_code int, sup_name varchar(50),sup_phone int,sup_mobile
int,sup_fax int,sup_zip int, sup_email varchar(100),sup_city varchar(20),sup_state
varchar(20),sup_add varchar(100))
if @common='A'
begin
select * from sup_entry
end
else if @common='S'
begin
insert into
sup_entry(sup_code,sup_name,sup_phone,sup_mobile,sup_fax,sup_zip,sup_email,sup_ci
ty,sup_state,sup_add)values(@supcode,@supname,@supphone,@supmobile,@supfax,@
supzip,@supemail,@supcity,@supstate,@supadd)
end
else if @common='D'
begin
delete from sup_entry where sup_code=@supcode
end
else if @common='U'
begin
update sup_entry set sup_code=@supcode,sup_name=@supname, sup_phone =
@supphone,sup_mobile=@supmobile,sup_fax=@supfax,sup_zip=@supzip,sup_email=
@supemail,sup_city=@supcity,sup_state=@supstate,sup_add=@supadd where
sup_code=@supcode
end
use mgms
create table pur(bill_no int primary key ,prod_date datetime, prod_type varchar
(20),prod_cmpname varchar(20),prod_name varchar(20),party_name varchar(50),prod_rs
int, prod_qty int,prod_stotal int, prod_tax int, prod_gtotal int)
if @common='A'
begin
select * from pur
end
if @common='S'
begin
insert into
pur(bill_no,prod_date,prod_type,prod_cmpname,prod_name,party_name,prod_rs,prod_qt
y,prod_stotal,prod_tax,prod_gtotal) values(@billno,@proddate,@prodtype,
@prodcmpname,@prodname,@partyname,@prodrs,@prodqty,@prodstotal,@prodtax,@
prodgtotal)
end
if @common='U'
begin
update pur set bill_no=@billno,prod_date=@proddate, prod_type=@prodtype,
prod_cmpname=@prodcmpname,prod_name=@prodname,party_name=@partyname,pro
d_rs=@prodrs,prod_qty=@prodqty,prod_stotal=@prodstotal,prod_tax=@prodtax,prod_g
total=@prodgtotal where bill_no=@billno
end
5) SYSTEM TESTING
5.1) Preparation of Test Data:
Test data has been prepared for each and every module and for every process. Test data for whole
integrated system is also prepared and system has been tested for different errors.
5.2) Testing:
Software testing is a critical element of quality assurance and represents the ultimate review of
specification, design plus coding. Following is a testing strategy as laid out for testing of “hotel
management system”.
Testing configuration:
Testing was done in various phases. A “Bottom Up” testing methodology was followed where all
modules tested before proceeding to integrating them as a whole.
Testing was done in following phases:
1. Unit Testing
2. Feature Testing
3. System Testing
Unit testing:
Unit testing is a white box testing. The goal is to verify a unit of design i.e. module. Unit testing is done
to ensure 100% codes coverage and all modules are tested exhaustively. After this phase the code is
frozen so that further testing is executed without changing the code. Unit test cases are written for each
module before commencement of coding are carried out in parallel with development. These cases are
designed to cover instance such as module interface, local data structure, boundary condition and basic
error handling path through this control structure.We designed different modules for different purposes.
We tested each modules and its each method individually for its proper functionality.
Feature Testing:
The basic objective of this testing is to test whether the module confirms according to the feature
requirements and specifications. Module Testing is Black Box in nature and aims to test the complete
functionality of module including the basic error handling. We tested different modules successfully.
6) SYSTEM IMPLEMENTATION
Following installations are required for implementing this project:
Windows operating system 2000/xp.
VB.NET.
SQL Server.
After installing the above requirements the system can be implemented in any Mobile Gallery. The user
does not require any special training. There is no need specialization in any language. The user requires
only basic knowledge of computers.
7) CONCLUSION
7.1) Advantages:
The “MOBILE GALLERY MANAGEMENT SYSTEM” is advantageous to both user and the
developer. It is advantageous for user since managing the data/information has become easy. It is
advantageous for developer since developer can make it more attractive and easy by adding various
modules.
7.2) Limitations:
Since we just want to know how the data/information in Mobile Gallery is managed, we have included
few modules in our project.
So, our project has limited in following areas:
• Printing Report is not completed
• Linux/Unix does not support.
8. RESEARCH METHODOLOGY
b. HARDWARE
The Following Fare Minimum Hardware Requirement for Project.
Computer : Intel or Compatible Pentium 1.66 GHz
or Higher
9. BIBLIOGRAPHY/ REFERENCES