Professional Documents
Culture Documents
Introduction
Purpose of The System
Scope of The Proposed System
2. OVERVIEW OF PROPOSED SYSTEM
Menu Driven
User Confirmation
Graphical User Interface
Multiple Document Interface
Security and Access
3. BUSINESS CONTEXT
Paper Work
Time Consumption
Complexity:
Redundancy
4. SYSTEM ANALYSIS
5. .NET Programming Framework
6. System Design
7. Coding
8. Conclusion
INTRODUCTION
Though there are many online systems available on internet but this can
compete with them with some advancement in its functionality and can
be used by any bank organization to maintain their customer’s account
and online transaction process.
Create Account
Login
Update Profile
Password Recovery
View Profile
ATM and Bank finder
Contact Form
EMI and Loan Calculator
Delete account
Logout
OVERVIEW OF PROPOSED SYSTEM
1. MENU DRIVEN:
2. USER CONFIRMATION:
Whenever the user tries to delete or edit the data, the system asks for the
confirmation. This is used to avoid the accidental changes to the
database. A confirmation is also provided for the exit of the application.
1. PAPER WORK:
2. TIME CONSUMPTION:
3. COMPLEXITY:
Complexity of information handling and the gathering and
determination of information is usually the most difficult problem
faced.
4. REDUNDANCY:
Maintaining separate files for each department can lead to
duplication of data present in files. This can lead to:
a) Inconsistencies
b) Update anomalies
c) Decentralization problems
SYSTEM ANALYSIS
Functional requirement
System requirement:
To view your accounts in Online Banking you will need internet access
using one of the following supported browsers:
Program requirement
The following are the most essential requirements for developing and
hosting web applications:
SPEED aims to help you track these developments not just at a national
or global level, but as an integrated whole.
Feasibility study
Operational
Now almost all Banks branches are connected through the online
banking facilities. The transactions of a particular bank are transmitted
through the Micro-Bank software from INFLEX Solutions to the Head
Office, where every data is stored in the database. Real-time On-line
any branch banking for the clients is used to facilitate the clients to
deposit / draw or remit funds to and from their accounts, from one bank
to another. Meanwhile, for the Smooth operation and efficient
functioning of the system they have completed the proper training to the
related personnel
Technical
In fact, all the .NET languages are compiled to the same intermediate
language, which isJust IL. The CLR only runs IL code, which is the
reason why the C# and VB .NET languages are so similar (and perform
essentially the same).
Code in
Code in VB .NET Code in C#
another .NET
language
Appropriate compiler
VB .NET compiler C# compiler
IL (Intermediate
Language) code
ADO.NET
Web forms Windows forms
data access
XML
File I/O (and so on)
The Common Language Runtime (CLR) is the engine that supports all
the .NET languages. Most modern languages use runtimes, these
runtimes may provide libraries used by the language, or they may have
the additional responsibility of executing the code (as with Java).
Runtimes are nothing new, but the CLR represents a radical departure
from Microsoft’s previous strategy. To start, the CLR and .NET
framework are much larger and more ambitious. The CLR also provides
a whole set of related services such as code verification, optimization,
and garbage collection, and can run the code from any .NET language.
However, before it can be executed by the CLR, any source code that
you develop (in C# or some other language) needs to be compiled.
Compilation occurs in two steps in .NET:
Scope:
Though there are many online systems available on internet but this can
compete with them with some advancement in its functionality and can
be used by any bank organization to maintain their customer’s account
and online transaction process.
Create Account
Login
Update Profile
Password Recovery
View Profile
ATM and Bank finder
Contact Form
Amount Transaction
EMI and Loan Calculator
Delete account
Logout
Database design:
Control Redundancy
Ease of use
Accuracy and integrity
Avoiding inordinate delays
Recovery from failure
Privacy and security
Performance
There are 6 major steps in design process. The first 5 steps are
usually done on paper and finally the design is implemented.
Identify the tables and relationship
Identify the data that is needed for each table and relationship
Resolve the relationship
Verify the design
Implement the design
NORMALIZATION
Normalization is a technique that is more applicable to record based
data models. Each of the process can be carried out independently to
arrive at normalized tables. Normalization refines the data structure and
data are group in simple way as possible. So later changes can be bring
about the least impact on database structure and eliminates data
redundancy.
DATA INTEGRITY
DATA CONSISTENCY
Problem with data consistency occur when adding records without first
checking for records with same key or deleting records without deleting
other related records. Likewise the software is coded such that primary
keys can’t be duplicated. For developing an efficient database, we have
to fulfil certain conditions such as:
• Control redundancy
• Ease of use
• Data independence
• Privacy and security
• Performance
For achieving the above criteria’s we have to make use of various
features that are available with DBMS such as:
• Enforcing integrity constraints to ensure data integrity and to reduce
data inconsistency.
• Recovery from failures using backup facility.
DATABASE TABLES AND STORED PROCEDURES
* DATABASE TABLES
1. bk_register
This table has been included in many modules such as Login, register,
Update, View Profile, Transaction, Password Recovery.
2.contac
t
This
table has
been
used in
the contact page where user can submit the feedback and queries along
with his name and email id.
3.loc
This table has been used in the ATM and Bank finding Module where
one can find the address of ATM or bank by providing the type and
the state.
* STORED PROCEDURES
sps_contact
sps_forgot
Sps_Global
sps_loc
sps_register
sps_transac
CREATE ACCOUNT
This module is used by the user to create a new account to join services
of online banking. The user is required to fill in a few details and is
automatically assigned as an user at the end of process.
LOGIN
This module is used by all the users to log into the account. The user is
required enter his/her user name and password. After login user will be
redirected to the user’s home page.
UPDATE PROFILE
Update profile module will be used to update or change any detail of
user such as address, phone number, city, state, etc.
PASSWORD RECOVERY
This module is used to recover the lost password by the user by entering
his/her valid email address. This email address will be matched from
database and automatically generated email will be sent to the user
containing his/her user name and password.
VIEW PROFILE
This module is the automatically generated page when user clicks the
view profile button. This contains the user account detail such as name,
account balance, email id, address, and city.
ATM AND BANK LOCATOR
This module is used to find the address and location of ATM and banks
in the selected city.
AMOUNT TRANSACTION
This module is the user view page after login where he/she can transfer
the amount to other account by providing the amount to be transferred
and the account number where to be transferred.
CONTACT FORM
This module is used by both registered and non-registered user to
contact bank or to give any feedback trough message. His/her message
will be saved into the database and further bank can contact him/her.
DELETE ACCOUNT
LOGOUT
This module is used to logout from the user’s session and redirected to
the home page of website.
Interface requirement
Graphical interface
Internet Explorer
Google Chrome
Mozilla Firefox
Opera
Command line interface
Notepad ++
Dreamweaver
Visual Studio
Hardware interface
Intel Pentium-IV processor
256 MB RAM or higher
40 GB HDD or higher
Software interface
Microsoft Windows XP / 2000 or Above.
Dot Net framework 2.0 OR ABOVE
IIS
RDBMS (Back end): Sql Server
Web Browser: Internet Explorer6 or higher, Mozilla Firefox,
Opera.
Front End: HTML and Asp.net, C#.
CONTACT FORM
Annexure B – Sample Coding
USE [raj1]
GO
/****** Object: Table [dbo].[loc] Script Date: 12/13/2011 00:11:21
******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[loc](
[state] [nvarchar](50) NULL,
[address] [nvarchar](max) NULL,
[type] [nvarchar](10) NULL
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[contact] Script Date: 12/13/2011
00:11:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[contact](
[name] [nvarchar](max) NOT NULL,
[email] [nvarchar](max) NOT NULL,
[msg] [nvarchar](max) NULL
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[bk_register] Script Date: 12/13/2011
00:11:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[bk_register](
[fname] [nvarchar](max) NOT NULL,
[lname] [nvarchar](max) NOT NULL,
[acc_no] [nvarchar](50) NOT NULL,
[userid] [nvarchar](50) NOT NULL,
[passwd] [nvarchar](max) NOT NULL,
[confirmpw] [nvarchar](max) NOT NULL,
[dob] [datetime] NOT NULL,
[street] [nvarchar](max) NOT NULL,
[city] [nvarchar](max) NOT NULL,
[zip] [int] NOT NULL,
[state] [nvarchar](max) NOT NULL,
[email] [nvarchar](max) NOT NULL,
[contactno] [nvarchar](50) NULL,
[amount] [int] NOT NULL,
CONSTRAINT [PK__bk_regis__9A20FDBB1A14E395] PRIMARY
KEY CLUSTERED
(
[acc_no] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE =
OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
CONSTRAINT [IX_bk_register] UNIQUE NONCLUSTERED
(
[userid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE =
OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object: StoredProcedure [dbo].[sps_transac] Script Date:
12/13/2011 00:11:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sps_transac]
@firstacc nvarchar(50),
@Amount int,
@Secondacc nvarchar(50)
AS
BEGIN
declare @currentAmount int
select @currentAmount = amount from dbo.bk_register where
acc_no = @Secondacc
if (@currentAmount >1000)
begin
update dbo.bk_register -- update secone per account
set amount=@currentAmount + @Amount where acc_no=
@Secondacc
declare @netAmount int
select @netAmount = Amount from dbo.bk_register where
acc_no=@firstacc
update dbo.bk_register -- update secone per account
set amount =@netAmount -@Amount where acc_no =
@firstacc
end
else
begin
print 'Transaction not completed'
end
END
GO
/****** Object: StoredProcedure [dbo].[sps_register] Script Date:
12/13/2011 00:11:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sps_register]
@flag int,
@fname nvarchar(max),
@lname nvarchar(max),
@acc_no nvarchar(50),
@user_id nvarchar(max),
@passwd nvarchar(max),
@confirmpw nvarchar(max),
@dob datetime,
@street nvarchar(max),
@city nvarchar(max),
@zip int,
@state nvarchar(max),
@email_id nvarchar(max),
@contact nvarchar(50)
AS
BEGIN
if (@flag=1)
begin
if exists (select userid,passwd from dbo.bk_register where
userid=@user_id and passwd=@passwd)
begin
select fname from dbo.bk_register where userid=@user_id
end
else
begin
print 'invalid username or password'
end
end
if(@flag=2)
begin
insert into dbo.bk_register values
(@fname,@lname,@acc_no,@user_id,@passwd,@confirmpw,@dob,
@street,@city,@zip,@state,@email_id,@contact,'10000')
end
if(@flag=3)
begin
update bk_register set fname=@fname, lname=@lname,
passwd=@passwd, confirmpw=@confirmpw, dob=@dob,
street=@street, city=@city, zip=@zip, state=@state,
email=@email_id, contactno=@contact where userid=@user_id
end
END
GO
/****** Object: StoredProcedure [dbo].[sps_loc] Script Date:
12/13/2011 00:11:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sps_loc]
@state nvarchar(max),
@add nvarchar(max)
AS
BEGIN
select address,state from dbo.loc where state like '%'+@state+'%'
and type =@add
END
GO
/****** Object: StoredProcedure [dbo].[Sps_Global] Script Date:
12/13/2011 00:11:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[Sps_Global]
@flag int,
@value nvarchar(100)
AS
BEGIN
if(@flag=1)
begin
select acc_no from dbo.bk_register where userid=@value
end
if(@flag=2)
BEGIN
select fname,lname,acc_no,amount,state,email from
dbo.bk_register where userid=@value
END
if(@flag=3)
BEGIN
select
fname,lname,acc_no,userid,passwd,confirmpw,dob,street,city,zip,state,e
mail,contactno from dbo.bk_register where userid=@value
END
if(@flag=4)
begin
delete from dbo.bk_register where userid=@value
end
if(@flag=5)
BEGIN
select fname,lname,email from dbo.bk_register where
userid=@value
END
END
GO
/****** Object: StoredProcedure [dbo].[sps_forgot] Script Date:
12/13/2011 00:11:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sps_forgot]
@email nvarchar(max)
AS
BEGIN
if exists (select email from dbo.bk_register where email=@email)
begin
select email,userid,passwd from dbo.bk_register where email=@email
end
END
GO
/****** Object: StoredProcedure [dbo].[sps_contact] Script Date:
12/13/2011 00:11:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sps_contact]
@flag int,
@name nvarchar(max),
@email nvarchar(50),
@msg nvarchar(max)
AS
BEGIN
if(@flag=1)
begin
insert into dbo.contact values (@name,@email,@msg)
end
END
GO
Style.css code
/* -- UTILITY -- */
.clear {clear:both;display:block;overflow:hidden;width:0;height:0}
/* -- COLUMNS SECTION -- */
.maincol { width: 639px; border-right: 1px solid #ccc; top: 0px; left:
0px; height: 839px;}
Masterpage.master code
<html xmlns="http://www.w3.org/1999/xhtml">
<title></title>
<!--[if IE 6]>
<![endif]-->
<meta name="description" content="" />
<!--[if lt IE 7]>
<![endif]-->
</div>
<span class="clear"></span>
<div id="page">
<ul>
</div>
<span class="clear"></span>
<div>
</asp:ContentPlaceHolder>
</div>
<span class="clear"></span>
<div class="padd10">
<div id="secnav">
<ul>
</ul>
</div>
<div id="copy">
</div>
</div>
</div>
<span class="clear"></span>
</form>
</body>
</html>
MasterPage.master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NAM;
using System.Data;
public partial class MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.AppendHeader("Cache-Control", "no-store");
}
protected void hy_logout_Click(object sender, System.EventArgs e)
{
Session.Abandon();
Session.Clear();
Session["userid"] = null;
Response.Redirect("bk_home.aspx");
}
}
9. Reference & Appendices
BOOKS REFERRED
The following books were used extensively for the project development
and implementation.
WEBSITES REFERRED
The following links were searched and exploited extensively for the
project development and implementation.
http://www.w3schools.com/aspnet/default.asp
http://www.w3schools.com/sql/default.asp
Conclusion
This project was successfully completed within the time span allotted.
The project Online Banking has been developed in asp.net. All the
modules are tested separately and put together to form the main system.
Finally the system is tested with real data and everything worked
successfully. Thus the system has fulfilled the entire objective
identified.
The system had been developed in an attractive dialogs fashion. So user
with minimum knowledge about computers can also operate the system
easily. It will make easy interactions between users and store. The speed
and accuracy are maintained in proper way.