Banking Management System
Banking Management System
Banking Management System
SDLC 7
DFD 13-15
Design 25-29
Coding 30-82
Testing 83-87
1
Bank Management System
INTRODUCTION
During the past several decades personnel function has been transformed from a
relatively obscure record keeping staff to central and top level management function.
There are many factors that have influenced this transformation like technological
important resources.
all the details required for the correct statement calculation and generation.
This project intends to introduce more user friendliness in the various activities such
as record updation, maintenance, and searching. The searching of record has been
made quite simple as all the details of the customer can be obtained by simply keying
maintenance and updation can also be accomplished by using the account number
with all the details being automatically generated. These details are also being
promptly automatically updated in the master file thus keeping the record absolutely
up-to-date.
The entire information has maintained in the database or Files and whoever wants to
retrieve can’t retrieve, only authorization user can retrieve the necessary information
2
Bank Management System
statement of any month. Separate database is maintained to handle all the details required
This project intends to introduce more user friendliness in the various activities such as
record updation, maintenance, and searching. The searching of record has been made
quite simple as all the details of the customer can be obtained by simply keying in the
updation can also be accomplished by using the account number with all the details being
automatically generated. These details are also being promptly automatically updated in
The main objective of our project is providing the different typed of customers facility,
the main objective of this system is to find out the actual customer service. Etc.
• It should increase the productivity of bank by utilizing the working hours more
This project includes the entire upgraded feature required for the computerization
banking system. This system is very easy to use, so that any user can use without getting
pre-knowledge about this. Its very much user friendly and meet almost all daily working
process requirements. This system is completely GUI based and can be use by mouse and
as well as keyboard. This system is melded in such a way that has got all features to
3
Bank Management System
FEASIBILITY ANALYSIS:-
Depending on the results of the initial investigation, the survey is expanded to a
needs and effective use of the resources its main task done during the feasibility
study are:-
are using and evaluating those system and the procedures invoked in it during
FEASIBILITY STUDY
The only tangible benefit provided by the proposed system is that the paper work is
reduced to the minimum and hence the reduction in cost incurred on Stationary and its
4
Bank Management System
storage. The system provides many benefits that can’t be measured in terms of Money for
TECHNICAL FEASIBILITY:-
The proposed system is technically feasible as it can be developed easily with the
Studio 2005 using VB.Net as a Interface for Programming & back-end as MS-
SQL Server 2000 for storing/maintaining database. The database can be easily
OPERATIONAL FEASIBILITY:-
Automation makes our life easy. The proposed system is highly user friendly and
is much easily able to interact with the system. Therefore the users will readily
accept the system as data entry and making queries can be easily done.
5
Bank Management System
SYSYTEM REQUIREMENTS
Hardware specifications
Hardware is a set of physical components, which performs the functions of applying
appropriate, predefined instructions. In other words, one can say that electronic and
mechanical parts of computer constitute hardware.
This package is designed on a powerful programming language Visual Basic. It is a
powerful Graphical User Interface. The backend is ACCESS, which is used to maintain
database. It can run on almost all the popular microcomputers. The following are the
minimum hardware specifications to run this package: -
Personal Computer: -
Software Requirements:
6
Bank Management System
2. Application Software:- Application software uses front end visual basic and database
access etc.
A system development life cycle is a logical process by which system analysts, software
engineers, programmers, and end users build information systems and computer
The major phases involved in the MIS development process are referred to as system
development life cycle. Each phase of the development process must have well defined
objectives ,and at the end of each phase ,progress towards meeting the objectives must be
evaluated.
The development process should not continue until the objectives of all prior phases have
been met.
7
Bank Management System
System development life cycle is a phased approach to analysis and design to ensure that
The system development life cycle can be divided into seven phases as shown in fig
Visual programming aims at providing the user with an interface that is intuitive and
easy to use. In developing such an interface, the programmer employs user-friendly
features such as windows, menus, buttons and list boxes.
8
Bank Management System
Its Environment provides all features that are required to develop a graphical user
interface as ready -to- use components. The programmer does not have to write code
to create and display commonly required user-friendly features each time around.
When the programmer needs a specific user interface feature such as button, he
selects the appropriate ready-to-use component provided by the visual programming
environment. These components can be moved, resized and renamed as required.
For Example:-
If the programmer needs to have a button then the visual programming environment
provides him with one. All that, the programmer does this selec t the button and
Typically the mouse is used to select and place the necessary components. Thus, the
In addition it also provides a means of associating code with each component. In each
case of calculator, for each button, we can specific that the code is to execute when
we click on it.
9
Bank Management System
There are several programming tools that allow us to build such visually appealing
and intuitive interface. These tools allow us to design interface that employ user
However, the disadvantage of such tools is that the interface is designed using code.
The programmer has to code the user interface features specifying the size, position
etc. this makes designing the user interface a major task in itself.
Visual development of graphical user interface which are easy to use and easy to
learn.
For Example:-
programmer picks up the required component from this list to display it.
For example:-
10
Bank Management System
A button’ knows’ when it has been clicked upon. In the case of conventional
programming tools, the programmer has to write code to determine the component that
Visual Basic is one of the most popular programming tools available today. And it’s
also secret that there have been massive changes in it as it became Visual Basic.Net.
The reason of that change is Visual Basic itself, which has now become Visual
Basic.Net. The difference between Visual Basic.Net and the previous version. Visual
Basic 6.0 is revolutionary and far reaching. Visual Basic.Net has been more than four
years in the marking and it represents entirely new directions for Visual Basic.
Besides the biggest change integrated support for web development the very syntax,
of techniques that you’ve probably learned carefully are now completely different
such as data handling and many controls; project types and other aspects of Visual
Visual Basic has a long and so far glorious history. When it first appeared, it created a
windows programming just builds the program you want right before your eyes, and
then run it. In so doing it changed programming form a chore to something very like
fun.
11
Bank Management System
12
Bank Management System
Introduction to SQL: -
Unfortunately, there are many different versions of the SQL language, but to be in
compliance with the ANSI standard; they must support the same major keywords in a
similar manner (such as SELECT, UPDATE, DELETE, INSERT, WHERE, and
others).
13
Bank Management System
A database most often contains one or more tables. Each table is identified by a name
(e.g. "Customers" or "Orders"). Tables contain records (rows) with data.
The table above contains three records (one for each person) and four columns (Last
Name, First Name, Address, and City).
SQL Queries: -
With SQL, we can query a database and have a result set returned.
Last Name
14
Bank Management System
Hansen
Svendson
Petersen
SQL Data Manipulation Language (DML)
SQL (Structured Query Language) is syntax for executing queries. But the SQL
language also includes syntax to update, insert, and delete records.
These query and update commands together form the Data Manipulation Language
(DML) part of SQL: -
The Data Definition Language (DDL) part of SQL permits database tables to be
created or deleted. We can also define indexes (keys), specify links between tables,
and impose constraints between database tables.
15
Bank Management System
16
Bank Management System
DATA FLOW DIAGRAM: -The data flow diagram is also known as “bubble
chart” has the purpose of clarifying system requirements and identifying major
series if bubbles joined by lines. The bubbles represent data transformation and
DFD SYMBOLS:
17
Bank Management System
DATABASE
18
Bank Management System
E-R DIAGRAM
19
Bank Management System
20
Bank Management System
Dr. Peter Chen is the originator of the Entity-Relationship Model. His original paper
about ER-modeling is one of the most cited papers in the computer software field.
Currently the ER model serves as the foundation of many system analysis and design
methodologies, computer-aided software engineering (CASE) tools, and repository
systems.
The original notation for ER-Diagrams uses rectangles to represent entities, and
diamonds to represent relationships.
• Entities are the "things" for which we want to store information. An entity is a
person, place, thing or event.
• Attributes are the data we want to collect for an entity.
• Relationships describe the relations between the entities.
ERDs show entities in a database and relationships between tables within that database. It
is essential to have ER-Diagrams if you want to create a good database design. The
diagrams help focus on how the database actually works.
Entity (Instance)
An instance of a physical object in the real world.
Entity Class
: Group of objects of the same type.
–
E.g. Entity Class “Student”, Entities “John”, “Trish” etc
Attributes
21
Bank Management System
Simple
: Attribute that is not divisible, e.g. age.
Composite
: Attribute composed of several simple attributes,
e.g. address (house number, street, district)
Multiple
: Attribute with a set of possible values for the same
entity, e.g. Phone (home, mobile etc.) or email
Key
: Uniquely Ids the Entity e.g. PPSN, Chassis No.
Each simple attribute associated with a VS that may be assigned to that attribute for each
individual entity,
e.g. age = integer
22
Bank Management System
“ACCOUNT_INFO” Table: -
Saluation_S Varchar(5)
Name_P_O_S Varchar(50)
Fa_Name_S Varchar(50)
Gender_S Varchar(6)
23
Bank Management System
DOB_S DateTime
Occupation_S Varchar(15)
Photo_S Image
Sign_S Image
Address_S Varchar(100)
Ph_No_S Varchar(11)
Mob_No_S Varchar(14)
Saluation_T Varchar(5)
Name_P_O_T Varchar(50)
Fa_Name_T Varchar(50)
Gender_T Varchar(6)
DOB_T DateTime
Occupation_T Varchar(15)
Photo_T Image
Sign_T Image
Address_T Varchar(100)
Ph_No_T Varchar(11)
Mob_No_T Varchar(14)
24
Bank Management System
Opening_Bal Varchar(10)
“Branch_Info” Table: -
“Deposit_Info” Table: -
Account_Info(Account_No)
Branch_No Varchar(7)
Depositor_Name Varchar(150)
Account_H_Type Varchar(15)
Deposit_Amt Varchar(10)
Deposit_Date DateTime
“Fixed_Info” Table: -
25
Bank Management System
“Login_Info” Table: -
“Withdrawl_Info” Table: -
26
Bank Management System
Account_Info(Account_No)
Branch_No Varchar(7)
Withdrawee_Name Varchar(150)
Account_H_Type Varchar(15)
Withdrawl_Amt Varchar(10)
Withdrawl_Date DateTime
“Loan_Info” Table: -
Account_Info(Account_No)
Branch_No Varchar(7)
Acc_Holder_Name Varchar(50)
Account_Type Varchar(15)
Account_Sub_Type Varchar(15)
Rate_Of_Interest_Info(Time_Span)
ROI Varchar(5)
Issue_Date DateTime
Due_Date Varchar(15)
Loan_Sanctioned Varchar(10)
No_Installments Varchar(5)
EMI Varchar(10)
Total_Loan_Ret Varchar(10)
27
Bank Management System
28
Bank Management System
DESIGN
SPLASH FORM
LOGIN FORM
29
Bank Management System
MDI FORM
30
Bank Management System
DEPOSIT FORM
31
Bank Management System
WITHDRAWL FORM
32
Bank Management System
• LOAN FORM
33
Bank Management System
34
Bank Management System
CODING
SPLASH FORM
35
Bank Management System
Label1.ForeColor = SystemColors.Control
Timer3.Stop()
End Sub
End Class
Imports System.Data.SqlClient
36
Bank Management System
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Login_Info"
DR = CMD.ExecuteReader
While DR.Read
If DR.HasRows Then
If TextBox1.Text = DR(0) And TextBox2.Text = DR(1) Then
Me.Hide()
Dim A As Integer
A = MsgBox("Login Successfully", MsgBoxStyle.OkOnly)
If A = vbOK Then
MAIN.Show()
End If
Return
End If
End If
End While
TextBox1.Text = ""
TextBox2.Text = ""
Button1.Enabled = False
37
Bank Management System
TextBox1.Select()
CMD.Dispose()
CON.Close()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
Me.Hide()
CHANGE_PASSWORD_FORM.Show()
End Sub
38
Bank Management System
End Class
Imports System.Windows.Forms
39
Bank Management System
40
Bank Management System
41
Bank Management System
Imports System.Data.SqlClient
Imports System.IO
TextBox1.ReadOnly = True
TextBox1.Enabled = False
TextBox2.ReadOnly = True
TextBox2.Enabled = False
CON.Open()
CMD.Connection = CON
42
Bank Management System
While DR.Read
TextBox1.Text = DR(0)
End While
DR.Close()
CMD.Dispose()
CON.Close()
TextBox1.Text = Val(TextBox1.Text) + 1
TextBox9.ReadOnly = True
TextBox9.Enabled = False
TextBox10.ReadOnly = True
TextBox10.Enabled = False
TextBox11.ReadOnly = True
TextBox11.Enabled = False
TextBox23.ReadOnly = True
TextBox23.Enabled = False
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Branch_Info"
DR = CMD.ExecuteReader
While DR.Read
ComboBox1.Items.Add(DR(0))
End While
43
Bank Management System
DR.Close()
CMD.Dispose()
CON.Close()
End Sub
44
Bank Management System
Exit Sub
End If
CON.Open()
CMD.Connection = CON
CMD.CommandType = CommandType.StoredProcedure
CMD.CommandText = "InsertAccount_Info"
'Try
45
Bank Management System
CMD.Parameters.Add("@Account_H_Type", SqlDbType.VarChar).Value =
RadioButton3.Text
End If
If RadioButton4.Checked = True Then
CMD.Parameters.Add("@No_Account_H", SqlDbType.VarChar).Value =
RadioButton4.Text
ElseIf RadioButton5.Checked = True Then
CMD.Parameters.Add("@No_Account_H", SqlDbType.VarChar).Value =
RadioButton5.Text
ElseIf RadioButton6.Checked = True Then
CMD.Parameters.Add("@No_Account_H", SqlDbType.VarChar).Value =
RadioButton6.Text
End If
CMD.Parameters.Add("@Saluation_F", SqlDbType.VarChar).Value =
ComboBox2.Text
CMD.Parameters.Add("@Name_P_O_F", SqlDbType.VarChar).Value =
TextBox3.Text
CMD.Parameters.Add("@Fa_Name_F", SqlDbType.VarChar).Value =
TextBox6.Text
CMD.Parameters.Add("@Gender_F", SqlDbType.VarChar).Value =
ComboBox5.Text
CMD.Parameters.Add("@DOB_F", SqlDbType.DateTime).Value =
DateTimePicker1.Text
CMD.Parameters.Add("@Age_F", SqlDbType.VarChar).Value = TextBox9.Text
CMD.Parameters.Add("@Occupation_F", SqlDbType.VarChar).Value =
ComboBox8.Text
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
46
Bank Management System
'Try
Dim FS As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY(FS.Length) As Byte
FS.Read(BYTEARRAY, 0, FS.Length)
FS.Close()
CMD.Parameters.AddWithValue("@Photo_F", BYTEARRAY)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
Dim FS1 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY1(FS1.Length) As Byte
FS1.Read(BYTEARRAY1, 0, FS1.Length)
FS1.Close()
CMD.Parameters.AddWithValue("@Sign_F", BYTEARRAY1)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
CMD.Parameters.Add("@Address_F", SqlDbType.VarChar).Value =
TextBox12.Text
CMD.Parameters.Add("@Ph_No_F", SqlDbType.VarChar).Value =
TextBox15.Text
47
Bank Management System
CMD.Parameters.Add("@Mob_No_F", SqlDbType.VarChar).Value =
TextBox18.Text
CMD.Parameters.Add("@Saluation_S", SqlDbType.VarChar).Value =
ComboBox3.Text
CMD.Parameters.Add("@Name_P_O_S", SqlDbType.VarChar).Value =
TextBox4.Text
CMD.Parameters.Add("@Fa_Name_S", SqlDbType.VarChar).Value =
TextBox7.Text
CMD.Parameters.Add("@Gender_S", SqlDbType.VarChar).Value =
ComboBox6.Text
CMD.Parameters.Add("@DOB_S", SqlDbType.DateTime).Value =
DateTimePicker2.Text
CMD.Parameters.Add("@Age_S", SqlDbType.VarChar).Value = TextBox10.Text
CMD.Parameters.Add("@Occupation_S", SqlDbType.VarChar).Value =
ComboBox9.Text
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
Dim FS2 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY2(FS2.Length) As Byte
FS2.Read(BYTEARRAY2, 0, FS2.Length)
FS2.Close()
CMD.Parameters.AddWithValue("@Photo_S", BYTEARRAY2)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
48
Bank Management System
'End Try
'Try
Dim FS3 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY3(FS3.Length) As Byte
FS3.Read(BYTEARRAY3, 0, FS3.Length)
FS3.Close()
CMD.Parameters.AddWithValue("@Sign_S", BYTEARRAY3)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
CMD.Parameters.Add("@Address_S", SqlDbType.VarChar).Value =
TextBox13.Text
CMD.Parameters.Add("@Ph_No_S", SqlDbType.VarChar).Value =
TextBox16.Text
CMD.Parameters.Add("@Mob_No_S", SqlDbType.VarChar).Value =
TextBox19.Text
CMD.Parameters.Add("@Saluation_T", SqlDbType.VarChar).Value =
ComboBox4.Text
CMD.Parameters.Add("@Name_P_O_T", SqlDbType.VarChar).Value =
TextBox5.Text
CMD.Parameters.Add("@Fa_Name_T", SqlDbType.VarChar).Value =
TextBox8.Text
CMD.Parameters.Add("@Gender_T", SqlDbType.VarChar).Value =
ComboBox7.Text
CMD.Parameters.Add("@DOB_T", SqlDbType.DateTime).Value =
DateTimePicker3.Text
49
Bank Management System
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
Dim FS4 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY4(FS4.Length) As Byte
FS4.Read(BYTEARRAY4, 0, FS4.Length)
FS4.Close()
CMD.Parameters.AddWithValue("@Photo_T", BYTEARRAY4)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
Dim FS5 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY5(FS5.Length) As Byte
FS5.Read(BYTEARRAY5, 0, FS5.Length)
FS5.Close()
CMD.Parameters.AddWithValue("@Sign_T", BYTEARRAY5)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
50
Bank Management System
'Try
CMD.Parameters.Add("@Address_T", SqlDbType.VarChar).Value =
TextBox14.Text
CMD.Parameters.Add("@Ph_No_T", SqlDbType.VarChar).Value =
TextBox17.Text
CMD.Parameters.Add("@Mob_No_T", SqlDbType.VarChar).Value =
TextBox20.Text
CMD.Parameters.Add("@Account_Type", SqlDbType.VarChar).Value =
ComboBox11.Text
CMD.Parameters.Add("@Witness_Name", SqlDbType.VarChar).Value =
TextBox21.Text
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
Dim FS6 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY6(FS6.Length) As Byte
FS6.Read(BYTEARRAY6, 0, FS6.Length)
FS6.Close()
CMD.Parameters.AddWithValue("@Witness_Sign", BYTEARRAY6)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
CMD.Parameters.Add("@Nominee_Rel", SqlDbType.VarChar).Value =
ComboBox12.Text
51
Bank Management System
CMD.Parameters.Add("@Nominee_Name", SqlDbType.VarChar).Value =
TextBox22.Text
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
Dim FS7 As New FileStream(STRImage, FileMode.Open, FileAccess.Read)
Dim BYTEARRAY7(FS7.Length) As Byte
FS7.Read(BYTEARRAY7, 0, FS7.Length)
FS7.Close()
CMD.Parameters.AddWithValue("@Nominee_Sign", BYTEARRAY7)
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
'Try
CMD.Parameters.Add("@Opening_Bal", SqlDbType.VarChar).Value =
TextBox23.Text
CMD.Parameters.Add("@T_Date", SqlDbType.DateTime).Value =
DateTimePicker4.Text
'Catch ex As Exception
'MessageBox.Show(ex.Message)
'End Try
CMD.ExecuteNonQuery()
CMD.Dispose()
52
Bank Management System
CON.Close()
Dim A1 As Integer
If A1 = vbOK Then
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""
TextBox10.Text = ""
TextBox11.Text = ""
TextBox12.Text = ""
TextBox13.Text = ""
TextBox14.Text = ""
TextBox15.Text = ""
TextBox16.Text = ""
TextBox17.Text = ""
TextBox18.Text = ""
TextBox19.Text = ""
TextBox20.Text = ""
TextBox21.Text = ""
TextBox22.Text = ""
TextBox23.Text = ""
53
Bank Management System
ComboBox1.Text = ""
ComboBox2.Text = ""
ComboBox3.Text = ""
ComboBox4.Text = ""
ComboBox5.Text = ""
ComboBox6.Text = ""
ComboBox7.Text = ""
ComboBox8.Text = ""
ComboBox9.Text = ""
ComboBox10.Text = ""
ComboBox11.Text = ""
ComboBox12.Text = ""
RadioButton1.Checked = False
RadioButton2.Checked = False
RadioButton3.Checked = False
RadioButton4.Checked = False
RadioButton5.Checked = False
RadioButton6.Checked = False
DateTimePicker1.Text = ""
DateTimePicker2.Text = ""
DateTimePicker3.Text = ""
DateTimePicker4.Text = ""
End If
End Sub
54
Bank Management System
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Branch_Info"
DR = CMD.ExecuteReader
While DR.Read
If ComboBox1.SelectedItem = DR(0) Then
TextBox2.Text = DR(1)
End If
End While
DR.Close()
CMD.Dispose()
CON.Close()
End Sub
GroupBox2.Enabled = True
55
Bank Management System
RadioButton4.Enabled = False
RadioButton5.Enabled = True
RadioButton6.Enabled = True
ComboBox2.Enabled = True
ComboBox3.Enabled = True
ComboBox4.Enabled = True
TextBox3.Enabled = True
TextBox4.Enabled = True
TextBox5.Enabled = True
TextBox6.Enabled = True
TextBox7.Enabled = True
TextBox8.Enabled = True
ComboBox5.Enabled = True
ComboBox6.Enabled = True
ComboBox7.Enabled = True
DateTimePicker1.Enabled = True
DateTimePicker2.Enabled = True
DateTimePicker3.Enabled = True
TextBox9.Enabled = True
TextBox10.Enabled = True
TextBox11.Enabled = True
ComboBox8.Enabled = True
ComboBox9.Enabled = True
ComboBox10.Enabled = True
LinkLabel1.Enabled = True
LinkLabel2.Enabled = True
LinkLabel3.Enabled = True
PictureBox1.Enabled = True
PictureBox2.Enabled = True
PictureBox3.Enabled = True
56
Bank Management System
LinkLabel4.Enabled = True
LinkLabel5.Enabled = True
LinkLabel6.Enabled = True
PictureBox4.Enabled = True
PictureBox5.Enabled = True
PictureBox6.Enabled = True
TextBox12.Enabled = True
TextBox13.Enabled = True
TextBox14.Enabled = True
TextBox15.Enabled = True
TextBox16.Enabled = True
TextBox17.Enabled = True
TextBox18.Enabled = True
TextBox19.Enabled = True
TextBox20.Enabled = True
RadioButton4.Enabled = False
RadioButton5.Enabled = True
RadioButton6.Enabled = True
ComboBox2.Enabled = True
ComboBox3.Enabled = True
TextBox3.Enabled = True
TextBox4.Enabled = True
TextBox6.Enabled = True
TextBox7.Enabled = True
ComboBox5.Enabled = True
57
Bank Management System
ComboBox6.Enabled = True
DateTimePicker1.Enabled = True
DateTimePicker2.Enabled = True
TextBox9.Enabled = True
TextBox10.Enabled = True
ComboBox8.Enabled = True
ComboBox9.Enabled = True
LinkLabel1.Enabled = True
LinkLabel2.Enabled = True
PictureBox1.Enabled = True
PictureBox2.Enabled = True
LinkLabel4.Enabled = True
LinkLabel5.Enabled = True
PictureBox4.Enabled = True
PictureBox5.Enabled = True
TextBox12.Enabled = True
TextBox13.Enabled = True
TextBox15.Enabled = True
TextBox16.Enabled = True
TextBox18.Enabled = True
TextBox19.Enabled = True
End If
End If
End Sub
58
Bank Management System
ComboBox4.Enabled = False
TextBox5.Enabled = False
TextBox8.Enabled = False
ComboBox7.Enabled = False
DateTimePicker3.Enabled = False
TextBox11.Enabled = False
ComboBox10.Enabled = False
LinkLabel3.Enabled = False
PictureBox3.Enabled = False
LinkLabel6.Enabled = False
PictureBox6.Enabled = False
TextBox14.Enabled = False
TextBox17.Enabled = False
TextBox20.Enabled = False
End If
End Sub
RadioButton4.Checked = True
GroupBox2.Enabled = False
ComboBox3.Enabled = False
TextBox4.Enabled = False
ComboBox4.Enabled = False
59
Bank Management System
TextBox5.Enabled = False
TextBox7.Enabled = False
TextBox8.Enabled = False
ComboBox6.Enabled = False
ComboBox7.Enabled = False
DateTimePicker2.Enabled = False
DateTimePicker3.Enabled = False
TextBox10.Enabled = False
TextBox11.Enabled = False
ComboBox9.Enabled = False
ComboBox10.Enabled = False
LinkLabel2.Enabled = False
PictureBox1.Enabled = False
LinkLabel3.Enabled = False
PictureBox2.Enabled = False
LinkLabel5.Enabled = False
PictureBox4.Enabled = False
LinkLabel6.Enabled = False
PictureBox5.Enabled = False
TextBox13.Enabled = False
TextBox14.Enabled = False
TextBox16.Enabled = False
TextBox17.Enabled = False
TextBox19.Enabled = False
TextBox20.Enabled = False
End If
End Sub
60
Bank Management System
RadioButton4.Enabled = False
RadioButton5.Enabled = True
RadioButton6.Enabled = True
ComboBox2.Enabled = True
ComboBox3.Enabled = True
ComboBox4.Enabled = True
TextBox3.Enabled = True
TextBox4.Enabled = True
TextBox5.Enabled = True
TextBox6.Enabled = True
TextBox7.Enabled = True
TextBox8.Enabled = True
ComboBox5.Enabled = True
ComboBox6.Enabled = True
ComboBox7.Enabled = True
DateTimePicker1.Enabled = True
DateTimePicker2.Enabled = True
DateTimePicker3.Enabled = True
TextBox9.Enabled = True
TextBox10.Enabled = True
TextBox11.Enabled = True
ComboBox8.Enabled = True
ComboBox9.Enabled = True
ComboBox10.Enabled = True
LinkLabel1.Enabled = True
61
Bank Management System
LinkLabel2.Enabled = True
LinkLabel3.Enabled = True
PictureBox1.Enabled = True
PictureBox2.Enabled = True
PictureBox3.Enabled = True
LinkLabel4.Enabled = True
LinkLabel5.Enabled = True
LinkLabel6.Enabled = True
PictureBox4.Enabled = True
PictureBox5.Enabled = True
PictureBox6.Enabled = True
TextBox12.Enabled = True
TextBox13.Enabled = True
TextBox14.Enabled = True
TextBox15.Enabled = True
TextBox16.Enabled = True
TextBox17.Enabled = True
TextBox18.Enabled = True
TextBox19.Enabled = True
TextBox20.Enabled = True
End If
End Sub
62
Bank Management System
RadioButton4.Checked = True
GroupBox2.Enabled = False
ComboBox3.Enabled = False
TextBox4.Enabled = False
ComboBox4.Enabled = False
TextBox5.Enabled = False
TextBox7.Enabled = False
TextBox8.Enabled = False
ComboBox6.Enabled = False
ComboBox7.Enabled = False
DateTimePicker2.Enabled = False
DateTimePicker3.Enabled = False
TextBox10.Enabled = False
TextBox11.Enabled = False
ComboBox9.Enabled = False
ComboBox10.Enabled = False
LinkLabel2.Enabled = False
PictureBox1.Enabled = False
LinkLabel3.Enabled = False
PictureBox2.Enabled = False
LinkLabel5.Enabled = False
PictureBox4.Enabled = False
LinkLabel6.Enabled = False
PictureBox5.Enabled = False
TextBox13.Enabled = False
TextBox14.Enabled = False
TextBox16.Enabled = False
TextBox17.Enabled = False
TextBox19.Enabled = False
TextBox20.Enabled = False
63
Bank Management System
End If
End Sub
Date1 = Convert.ToDateTime(DateTimePicker1.Value)
TextBox9.Text = A
End Sub
'Dim count, count1, count2, count3, count4, count5, count6, count7 As Integer
64
Bank Management System
PictureBox1.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
count = count + 1
End Sub
PictureBox2.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
65
Bank Management System
End If
count1 = count1 + 1
End Sub
PictureBox3.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
count2 = count2 + 1
End Sub
66
Bank Management System
PictureBox4.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
count3 = count3 + 1
End Sub
PictureBox5.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
count4 = count4 + 1
End Sub
67
Bank Management System
PictureBox6.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
count5 = count5 + 1
End Sub
PictureBox7.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
68
Bank Management System
count6 = count6 + 1
End Sub
PictureBox8.Image = Image.FromFile(OpenFileDialog1.FileName)
STRImage = OpenFileDialog1.FileName
End If
count7 = count7 + 1
End Sub
Date1 = Convert.ToDateTime(DateTimePicker2.Value)
69
Bank Management System
TextBox10.Text = A
End Sub
Date1 = Convert.ToDateTime(DateTimePicker3.Value)
TextBox11.Text = A
End Sub
TextBox23.Text = "15000"
Else
70
Bank Management System
TextBox23.Text = "0"
End If
End Sub
End Class
Imports System.Data.SqlClient
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandType = CommandType.StoredProcedure
71
Bank Management System
CMD.CommandText = "InsertDeposit_Info"
CMD.ExecuteNonQuery()
CMD.Dispose()
CON.Close()
Button2.Enabled = True
End Sub
TextBox1.Enabled = False
TextBox2.Enabled = False
TextBox3.Enabled = False
TextBox4.Enabled = False
72
Bank Management System
TextBox6.Enabled = False
TextBox1.ReadOnly = True
TextBox2.ReadOnly = True
TextBox3.ReadOnly = True
TextBox4.ReadOnly = True
TextBox6.ReadOnly = True
Button2.Enabled = False
Dim DR As SqlDataReader
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Account_Info"
DR = CMD.ExecuteReader
While DR.Read
ComboBox1.Items.Add(DR(0))
End While
DR.Close()
CMD.Dispose()
CON.Close()
73
Bank Management System
End Sub
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Account_Info"
DR = CMD.ExecuteReader
While DR.Read
If ComboBox1.SelectedItem = DR(0) Then
TextBox1.Text = DR(1)
TextBox2.Text = DR(6) & "," & DR(18) & "," & DR(30)
TextBox3.Text = DR(3)
TextBox4.Text = DR(47)
End If
End While
DR.Close()
CMD.Dispose()
CON.Close()
74
Bank Management System
End Sub
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandType = CommandType.StoredProcedure
CMD.CommandText = "UpdateAccount_Info"
CMD.ExecuteNonQuery()
CMD.Dispose()
CON.Close()
ComboBox1.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
75
Bank Management System
TextBox5.Text = ""
TextBox6.Text = ""
Button2.Enabled = False
End Sub
End Class
Imports System.Data.SqlClient
76
Bank Management System
End If
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandType = CommandType.StoredProcedure
CMD.CommandText = "InsertWithdrawl_Info"
CMD.ExecuteNonQuery()
CMD.Dispose()
CON.Close()
77
Bank Management System
Button2.Enabled = True
End Sub
Private Sub WITHDRAWL_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
TextBox1.Enabled = False
TextBox2.Enabled = False
TextBox3.Enabled = False
TextBox4.Enabled = False
TextBox6.Enabled = False
TextBox1.ReadOnly = True
TextBox2.ReadOnly = True
TextBox3.ReadOnly = True
TextBox4.ReadOnly = True
TextBox6.ReadOnly = True
Button2.Enabled = False
Dim DR As SqlDataReader
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Account_Info"
DR = CMD.ExecuteReader
78
Bank Management System
While DR.Read
ComboBox1.Items.Add(DR(0))
End While
DR.Close()
CMD.Dispose()
CON.Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim CON As New SqlConnection
Dim CMD As New SqlCommand
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandType = CommandType.StoredProcedure
CMD.CommandText = "UpdateAccount_Info"
CMD.ExecuteNonQuery()
CMD.Dispose()
CON.Close()
79
Bank Management System
ComboBox1.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
Button2.Enabled = False
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
Me.Close()
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Dim CON As New SqlConnection
Dim CMD As New SqlCommand
Dim DR As SqlDataReader
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Account_Info"
DR = CMD.ExecuteReader
While DR.Read
If ComboBox1.SelectedItem = DR(0) Then
TextBox1.Text = DR(1)
80
Bank Management System
TextBox2.Text = DR(6) & ", " & DR(18) & ", " & DR(30)
TextBox3.Text = DR(3)
TextBox4.Text = DR(47)
End If
End While
DR.Close()
CMD.Dispose()
CON.Close()
End Sub
Private Sub TextBox5_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox5.TextChanged
TextBox6.Text = Val(TextBox4.Text) - Val(TextBox5.Text)
End Sub
End Class
81
Bank Management System
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandType = CommandType.StoredProcedure
CMD.CommandText = "InsertLoan_Info"
CMD.ExecuteNonQuery()
CMD.Dispose()
CON.Close()
82
Bank Management System
TextBox1.ReadOnly = True
TextBox2.ReadOnly = True
TextBox3.ReadOnly = True
TextBox4.ReadOnly = True
TextBox6.Enabled = False
'Button2.Enabled = False
Dim DR As SqlDataReader
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
83
Bank Management System
CMD.Connection = CON
CMD.CommandText = "Select * From Account_Info Where Account_Type='
LOAN '"
DR = CMD.ExecuteReader
While DR.Read
ComboBox1.Items.Add(DR(0))
End While
DR.Close()
CMD.Dispose()
CON.Close()
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Rate_Of_Interest_Info"
DR = CMD.ExecuteReader
While DR.Read
ComboBox2.Items.Add(DR(0))
End While
DR.Close()
CMD.Dispose()
CON.Close()
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Dim CON As New SqlConnection
Dim CMD As New SqlCommand
Dim DR As SqlDataReader
84
Bank Management System
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Account_Info"
DR = CMD.ExecuteReader
While DR.Read
If ComboBox1.SelectedItem = DR(0) Then
TextBox1.Text = DR(1)
TextBox2.Text = DR(6) & " , " & DR(18) & " , " & DR(30)
TextBox3.Text = DR(3)
'TextBox4.Text = DR(47)
End If
End While
DR.Close()
CMD.Dispose()
CON.Close()
End Sub
Private Sub TextBox5_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox5.TextChanged
'TextBox6.Text = Val(TextBox4.Text) + Val(TextBox5.Text)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Me.Close()
End Sub
85
Bank Management System
CON.ConnectionString = "Server=ANGELDEVIL;Initial
Catalog=BankingSystem;Integrated Security=True"
CON.Open()
CMD.Connection = CON
CMD.CommandText = "Select * From Rate_Of_Interest_Info"
DR = CMD.ExecuteReader
While DR.Read
If ComboBox2.SelectedItem = DR(0) Then
TextBox4.Text = DR(1)
End If
End While
DR.Close()
CMD.Dispose()
CON.Close()
Dim a, b, c As String
a = DateTimePicker1.Value.Date.Year
c = DateTimePicker1.Value.Date.Month
b = DateTimePicker1.Value.Date.Day ' 19 '
86
Bank Management System
TextBox6.Enabled = True
End Sub
Private Sub TextBox6_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox6.TextChanged
Dim A As Integer
87
Bank Management System
INTRODUCTION:-
specification into source code. The preliminary goal of implementation is to write source
code and internal documentation so that conformance of the code to its specifications can
be easily verified, and so that debugging, testing and modifications are eased. This goal
can be achieved by making the source code as clear and straightforword as possible.
Simplicity, clarity and elegance are the hallmark of good programs, obscurity, cleverness,
Source code clarity is enhanced by structured coding techniques, by good coding style,
88
Bank Management System
1. Error
The term error is used in two ways. It refers to the difference between the actual output of
software and the correct output, in this interpretation, error is essential a measure of the
difference between actual and ideal. Error is also to used to refer to human action that
2. Fault
Fault is a condition that causes to fail in performing its required function. A fault is a
basic reason for software malfunction and is synonymous with the commonly used term
Bug.
3. Failure
to its specifications. A software failure occurs if the behavior of the software is the
different from the specified behavior. Failure may be caused due to functional or
performance reasons.
a. Unit Testing
The term unit testing comprises the sets of tests performed by an individual programmer
89
Bank Management System
A program unit is usually small enough that the programmer who developed it can test it
in great detail, and certainly in greater detail than will be possible when the unit is
integrated into an evolving software product. In the unit testing the programs are tested
separately, independent of each other. Since the check is done at the program level, it is
b. Module Testing
A module and encapsulates related component. So can be tested without other system
module.
c. Subsystem Testing
Subsystem testing may be independently design and implemented common problems are
There are four categories of tests that a programmer will typically perform on a program
unit.
1) Functional test
2) Performance test
3) Stress test
4) Structure test
1) Functional Test
Functional test cases involve exercising the code with Nominal input values for which
expected results are known; as well as boundary values (minimum values, maximum
values and values on and just outside the functional boundaries) and special values.
90
Bank Management System
2) Performance Test
Performance testing determines the amount of execution time spent in various parts of the
unit, program throughput, response time, and device utilization by the program unit. A
certain amount of avoid expending too much effort on fine-tuning of a program unit that
contributes little to the over all performance of the entire system. Performance testing is
3) Stress Test
Stress test are those designed to intentionally break the unit. A great deal can be learned
about the strengths and limitations of a program by examining the manner in which a
4) Structure Test
Structure tests are concerned with exercising the internal logic of a program and
performance and stress testing as “black box” testing. While structure testing is referred
to as “white box” or “glass box” testing. The major activities in structural testing are
deciding which path to exercise, deriving test date to exercise those paths, determining
the test coverage criterion to be used, executing the test, and measuring the test coverage
DEBUGGING
Defect testing is intended to find areas where the program does not confirm to its
specifications. Tests are designed to reveal the presence of defect in the system.When
defect have been found in the program. There must be discovered and removed. This is
called “Debugging”.
91
Bank Management System
92
Bank Management System
We can establish and start various Branches and available help centers for Account
Holder’s Queries.
We can also deal through internet by creating web pages and a banking website for
internet dealing.
To attract Account Holder’s we can offer various offers during festivals months.
To have more and more customer satisfaction we will emphasize more and more on
our dealings.
93
Bank Management System
WEBSITES: - WWW.VBTUTORIALS.COM
WWW.VBSOURCECODE.COM
WWW.LOGICATWORK.INFO
94