Sie sind auf Seite 1von 231

Submitted in partial fulfillment of the requirements for the award of the degree of

Master of Computer Application (MCA)

To

Guru Gobind Singh Indraprastha University, Delhi

Guide(s): by: (Guide Name) name)

Submitted

(Student

Roll No.:

Institute of Information Technology & Management, New Delhi 1100 58 Batch (2010-2013)

CERTIFICATE

I, Mr./Ms._______________________________, Roll No. ________________ certify that the Project Report/Dissertation (MCA-302) entitled ________________________________ is done by me and it is an authentic work carried out by me at ___________________________ (Name of the organisation or of the Institute). The matter embodied in this project work has not been submitted earlier for the award of any degree or diploma to the best of my knowledge and belief.

Signature of the Student Date:

Certified that the Project Report/Dissertation (MCA-302) entitled __________________ Done by Mr./Ms._______________________________, Roll No. ________________, is Completed under my guidance.

Signature of the Guide Date: Name of the Guide: Countersigned Designation: Address: Institute of Information Technology & Management, New Delhi110058 Director/HOD

Program Code

MCA

Course Code

Course Title

PROJECT

Project Title

HDFC Online Banking

Enrolment No.

Name

Address

Date

Signature of student

CONTENTS

Certificates .............

Synopsis

1.

Introduction & Objectives Introduction Objectives

2.

System Analysis Identification of the need Preliminary Investigation Feasibility Study Software Engineering Paradigm Software Requirement Specifications (SRS) Design Entity Relationship (ER) Diagram Test case Data Structure of Tables Data Dictionary of Tables Forms

3. 4.

5.

6. 7. 8. 9.

Coding Code Efficiency and Optimization of Code Validation Checks Testing (Testing Techniques and Strategies)

10.

Security Measures Taken

11. 12.

Work Schedule and Cost Estimation Reports Limitations of the Project Future Scope of Project Bibliography

13. 14. 15.

Program Code Course Code

: :

MCA

Course Title

PROJECT

Project Title

HDFC Online Banking

Roll No.

Name

Address

Date

Signature of student

1. Title of the Project. 2. Introduction. 3. Objective of the Project. 4. Project category. 5. Analysis and design. 6. DFDs, ERD and Tables. 7. Module description. 8. Process logic. 9. Reports 10 . Tools and Platform to be Used 11 . Hardware and Software Requirements Specification 12 Is there any Client?

13 Future Scope.

INTRODUCTION

HDFC Online Banking is a Software Product that has been developed for provide a complete automated and computerized solution to the HDFC. This System includes all basic operations that are needed in HDFC. The Project has a very interactive GUI interface and is very user friendly. The Primary Concern of HDFC Online Banking is to provide a complete functionality for the Requests for New Saving Account, Home Loan, Personal Loan, Customers Details & all other Operations needs in HDFC. The goal is to apply information technology in the HDFC and to provide a very quick service to the users and inquiry service to customers which will result in error free data and greater customer satisfaction.

The System records each and every transaction in computers and saves the time that was too long in case of manual recording. The System keeps all Registration Related Information and does most of the work automatically like generating Application Number, Loan Requests, and Credit Card Requests etc.

This System uses ASP .Net as a front-end tool and Microsoft SQL Server 2008 as the back-end that has been used to manipulate the Database.

OBJECTIVE This objective of this project is dual. The primary objective is the completion of Master of Computer Application. The main objective of developing this kind of Product is to applying the Information Technology for HDFC. This provides a wellmaintained information structure for processing of Requests. The main idea behind is to provide a complete system to cater to all the activities that take place in HDFC Bank. The HDFC Online Banking includes the complete data which include Registration information, Customer Information & Employee Details. This data can be referred to any time as and when required. The Primary objectives behind the development of the HDFC Online Banking are as follows:

Proper Back-Up and recovery facilities. Making the System reliable and secured. Providing the security to valuable data. Speeding up the all the transactions. Enabling the HDFC to maintain its data through computers. Quick and fast service to the customers. Remove the old Computerized by transaction handling with the fast computerized system.

Applying a reliable and efficient functionality. Save time and efforts.

10

PROJECT CATEGORY

This Project is a Database Application: This project belongs to the category of Database Applications. All the data about the Customer, Registration, Transaction, are maintained through MS-SQL Server 2008. The records about all the customers coming for Enquiry, Registration are stored in the database and can be retrieved on the basis of Query. The data maintenance and manipulation is an important aspect of this project. The application controls great amount of data, which is updated and maintained using MS-SQL Server 2008 Database.

11

12

System Analysis: System Analysis is a management technique which helps us in designing a new system or improving an existing system. System study is study about the operations of set of connected elements and interconnections between these elements. One cannot ignore any part or element of a system without finding out the effect that element has on the operation of system as whole. System approach shows a set of procedure for solving a particular problem. OUTPUT INPUT FILE PROCESS

ANALYSIS REPORTS Requirements Definition -A software requirement is an abstract description of the services that the system shall provide and the constraints under which the system must operate.

Requirements determination involves studying the current Registration System to find out how it works and where improvements should be made. System studies result in an evaluation of how current methods are working and whether adjustments are necessary or possible.

A requirement is a feature that must be included in a new system. It may include a way of capturing or processing data, producing information, controlling a business activity, or supporting management. The determination of requirements thus entails studying the existing system and collecting details about it to find out what these requirements. Requirements can either be functional or non-functional.

13

Requirement Analysis: - Requirement Analysis is a Software Engineering task that bridges the gap between system level requirements engineering and software design. In the proposed project Software Requirements Analysis have been divided into five areas of effort:1. Problem recognition 2. Evaluation and Synthesis 3. Modeling 4. Specification 5. Review

Requirements Elicitation for the Software: - Before requirements can be analyzed, modeled or specified they are gathered through an elicitation process.

Context free questions were asked to the management people belonging to different large organizations/ institutes regarding how they would characterize a good output that would generate a successful solution, what kind of problems will this solution address, how they describe the environment in which the solution will be used and will special performance issues or constraints effect the way the solution is approached.

Software Engineering Paradigm Applied: METHODOLOGY:For develop the software the basic thing is that what is the model will be used. The model will be used is of great importance for development of the software.

14

In the waterfall model, the sequence of the activities performed in a software development project: requirement analysis, project planning, system design, detailed design, coding, and unit testing, system integration and testing. This is the order the different phases will be apply for develop of the project.

Linear ordering of the phases is the important for the development of the software because by using this model you can follow the phases in the linear order. First the requirement analysis is done then you can proceed the next phase like Designing. This model is used when you know all the phases in advance i.e. you know the requirement of the client because requirement analysis is important for the development of the software. For the development of the software there are two parties are involved in the development of the software a client and a developer. Most often the requirement of the client does not know and the requirement of the client will be changed. So before using this model requirement of the client is known in advanced.

To overcome these problems we can used the prototype model. The basic idea for using this model is that the requirements have not known initially. In this model a prototype is built to understand the requirements. This prototype is developed based on the currently known requirements. The prototype means to develop the formal model of the software which meets the current requirements. By using this prototype, the client can get an actual feeling of the system because the interaction with the prototype can enable the client to better understand the requirements of the desired

15

system. By using this model there is no work manually. By using this model we can create a prototype, which meets the primary requirements of the Power management system. By seeing this model the user knows the requirements of the HDFC Online Banking. In the waterfall model the requirements had been known in advanced. To solve this problem we can used the prototype model.

Fig: - The Prototyping Model

The development of the Prototype typically starts when the Preliminary version of the requirements specification document has been developed. After developed the Prototype, the end users and clients are given an opportunity to use the Prototype. Based on the experience, they provide the feedback to the developers regarding the Prototype: what is correct, what are needs to be modified, what is missing, what is not needed, etc. In this software when we give the Prototype to the client. They give the feedback like the needed of the login in the software.

16

17

0 LEVEL DFD

Login

Validated

Employees
Generate Payroll Enquiry Registration for Saving account

HDFC Management System

Received

Employees

Response Registered

Customers

Customers

18

1 LEVEL DFD

Login 1.0

Data retrieve from DB

login

Emp 2.0

data store

employee

Tras 3.0

Data store

transaction

login

update confirmation

Data SA 4.0

Saving account

Loan 5.0

Date store

loan

CD 6.0

Data store

Credit Card

Search 7.0

Data store

employee

19

2 level DFD

nd

Add 1.1

employee

employee

Update 1.2

20

Create 4.1

customer

Custome r

Update 4.3

21

Add 5.1

Customer

Loan application
Update 5.2

22

Add 6.1

Customer/emp

Saving Account

Save 6.2

23

Customer

Searching acc info confirmatio n

Acc info 7.1

Data store

account

Customer

Searching for trans confirmation

Transac tion 7.2

Data store

transaction

24

25

Appl_no

Saving_acnt

Dob

Name Register for Adds

F_Name

Adds Br_nm Opened_ by Fthr_Nam Branches Br_id city Needed adds

cstmr

Appl_no

dob

Regd_by

Register for Issued by

HDFC

Appl_no Works_i n

F_name

Fthr_nam

Provided by

Credit_card
L_name

Hme_Loans
C_no dob adds

Emp_id

Name Name Appl_n Date F_Nam

Employees

Email adds

Name

26

Account Details Field acc_no Acc_type Open_date Bal Credit Card Field Appl_np F_name L_name Email Dob Resi_city Mob emplnt_type comp_nm monthly_income acc_holder exstng_card min_card_limit add_proof aplied_bfore Data Type varchar(10) Varchar(50) Varchar(50) Varchar(50) Date Varchar(50) Varchar(15) Varchar(50) Varchar(50) varchar(50) varchar(10) varchar(50) varchar(12) varchar(50) varchar(10) Constraint Primary key Data Type Bigint Varchar(30) Date Varchar(12) Constraints Primary key

Customer Field cust_id f_name l_name acc_no e_mail branch_name branch_id Pin Dob Data Type varchar(10) varchar(50) varchar(50) Bigint Varchar(50) varchar(50) varchar(20) varchar(10) Date Constraint Primary key

27

Home Loan Field appl_no F_name L_name Dob Email mob_no City off_ph home_ph Occupation monthly_income existing_cust loan_amnt loan_tenure preperty_identified Personal Loan Field appl_no F_name L_name Dob yrs_at_crnt_resi City hav_hdfc_acc e_mail ph_no Mob Occupation comp_name loan_tenure net_sal Saving Account Field appl_no Title F_name L_name City nearest_branch mob_no Data Type varchar(10) varchar(10) Varchar(50) Varchar(50) varchar(30) varchar(30) varchar(15) Constraint Primary key Data Type varchar(10) Varchar(50) Varchar(50) Date varchar(20) varchar(30) varchar(10) varchar(50) varchar(15) varchar(15) varchar(30) varchar(50) yrs_in_crnt_comp varchar(20) Constraint Primary key Data Type varchar(10) Varchar(50) Varchar(50) Date Varchar(50) varchar(15) varchar(30) varchar(15) varchar(15) varchar(50) varchar(20) varchar(5) varchar(15) Int varchar(10) Constraint Primary key

28

contact_no landline_no Email

varchar(15) varchar(15) varchar(50)

Transaction Field reqst_code request_for acc_from acc_to Amount Vehicle Loan Field appl_no F_name L_name Applying_for Dob yrs_at_crnt_resi City hav_hdfc_acc e_mail ph_no Mob Occupation comp_name loan_tenure net_sal Data Type varchar(10) Varchar(50) Varchar(50) varchar(20) Date varchar(20) varchar(30) varchar(10) varchar(50) varchar(15) varchar(15) varchar(30) varchar(50) yrs_in_crnt_comp varchar(20) Constraint Primary key Data Type varchar(20) varchar(20) varchar(20) varchar(20) nchar(10) Constraint

Employee Details Field Emp_id F_Name L_name Fthr_name Dept Desg ed_qual marital_status Gender Adds c_no Data Type Varchar(20) Varchar(50) Varchar(50) Varchar(50) varchar(30) varchar(30) varchar(30) varchar(30) varchar(10) varchar(100) varchar(13) Constraint Primary key

29

Employee Login Table Field Emp_id Pass Data Type Varchar(30) Varchar(12) Constraint Primary key

Employee Payroll Field Emp_id B_sal Hra Da Ta Tot_sal IT PF Net_sal sal_month Data Type Varchar(10) Bigint Int Int Int Bigint Int Int Bigint Varchar(20) Constraint Primary key

30

Account Details Module: This module will enable the user to see his account details & fetch the particular data about his or her account like, acc_no acc_type, open_date, bal. Credit Card Module: This module will enable the user to register for a Credit Card and fetch the particular data about the credit card such as appl_no, f_name, l_name, email, dob, resi_city, mob, emplnt_type, comp_nm, monthly_income, acc_holder, exstng_card, min_card_limit, add_proof, aplied_bfore. Customer Module: This module will enable the user to see the customer details and fetch the particular data about the Customer such as cust_id, f_name, l_name, acc_no, e_mail, branch_name, branch_id, pin, dob. Employee Details Module: This module will enable the user to see the Employee Details & fetch the particular data about the Employees such as emp_id, f_name, l_name, fthr_name, dept, desg, ed_qual, marital_status, gender, adds, c_no. Employee Login Module: This module will enable the user to Login into the System. Employee Payroll Module: This module will enable the user to fetch the particular data about the Employee Payroll such as Emp_id, B_sal, Da, Hra, Ta, tot_sal, Pf,IT, Net_sal, sal_month.

Home Loan Module: This module will enable the user to register for a Home Loan & Fetch the particular data about Home Loan such as appl_no, f_name, l_name, dob, email, mob_no, city, off_ph, home_ph, occupation, monthly_income, existing_cust, loan_amnt, loan_tenure, preperty_identified. Personal Loan Module:

31

This module will enable the user to register for the Personal Loan & Fetch the particular data about the Personal Loan such as appl_no, f_name, l_name, dob, yrs_at_crnt_resi, city, hav_hdfc_acc, e_mail, ph_no, mob, occupation, comp_name, yrs_in_crnt_comp, net_sal. Saving Account Module: This module will enable the user to register for Saving Account & Fetch the particular data about the Saving Account such as appl_no, Title, f_name, l_name, city, nearest_branch, mob_no, contact_no, landline_no, email. Transaction Module: This module will enable the user to see his transaction details & Fetch the particular data about the transaction such as reqst_code, request_for, acc_from, acc_to, amount. Vehicle Loan Module: This module will enable the user to register for the Vehicle Loan & Fetch the particular data about the Vehicles Loan like appl_no, f_name, l_name, applying_for, dob, yrs_at_crnt_resi, city, hav_hdfc_acc, e_mail, ph_no, mob, occupation comp_name, yrs_in_crnt_comp, net_sal. Login Table Module: This module will enable the user to register for Login the Database.

32

Process Logic

The user has to use the Internet Browser to run this website first the User has to Enter the URL of the website on their respective browser, then the browser will Load a complied Html Copy of website on server. After the website Loads Completely the user will be able to fill the forms like saving account, home loan & personal loan etc. If the potential user of the Website is the employee wants to access this website or Update content they have to provide the Login id and Password in order to get the permission to update this website. This website all enables the user to receive receipts and employees to create Reports.

33

34

Account Details Module: This module will enable the user to see his account details & fetch the particular data about his or her account like , acc_type, open_date, bal. Customer Module: This module will enable the user to see the customer details and fetch the particular data about the Customer such as cust_id, f_name, l_name, acc_no, e_mail, branch_name, branch_id, pin, dob. Employee Details Module: This module will enable the user to see the Employee Details & fetch the particular data about the Employees such as emp_id, f_name, l_name, fthr_name, dept, desg, ed_qual, marital_status, gender, adds, c_no. Employee Payroll Module: This module will enable the user to fetch the particular data about the Employee Payroll such as Emp_id, B_sal, Da, Hra, Ta, tot_sal, Pf,IT, Net_sal, sal_month.

Transaction Module: This module will enable the user to see his transaction details & Fetch the particular data about the transaction such as reqst_code, request_for, acc_from, acc_to, and amount.

35

This Software is a database application that uses MICROSOFT VISUAL STUDIO 2008 as the front-end tools. VISUAL STUDIO is a very popular tool for developing WEB based GUI applications. MICROSOFT SQL SEVER 2008 is the backbone of this software. It has been used as the back-end tool of this web portal. MICROSOFT VISUAL STUDIO 2010: Microsoft .net is a platform for developing the next generation of web and window based applications. These applications are created to run across various devices. .Net framework provides a language neutral environment and designed to Provide cross language compatibility and a consistent object oriented programming environment. Minimize software deployment and versioning conflicts Promote safe execution of code. ASP.NET 4.0 ASP.NET is a part of visual studio 2010 which was launched in 2010. It makes development of web application easier and quicker as compared to the earlier version of asp.net. The asp.net is a Technology used to create the dynamic web applications. It is based on the .net Platform andthus supports most .net compatible languages for its applications we have chosen c#. ASP.Net provides an infrastructure for faster development of scalable and secure web applications.

36

MICROSOFT SQL SERVER 2008: Microsoft SQL Server 2008 is a comprehensive, integrated data management and analysis software that enables organizations to reliably manage project-critical information and confidently run todays increasingly complex business applications. Data management is done in database engine: The Database Engine is the core service for storing, processing, and securing data. The Database Engine provides controlled access and rapid transaction processing to meet the requirements of the most demanding data consuming applications.

OPERATING SYSTEM MICROSOFT Windows 95, 98, 2000, Me, XP sp1/XP sp2 FRONT END MICROSOFT Visual Studio 2005 BACK END

37

MICROSOFT SQL Server 2005 MINIMUM HARDWARE REQUIREMENT Pentium IV or Higher 512 MB RAM or Higher

38

No, there is no client of this Web Portal.

39

In future HDFC ONLINE BANKING can be extended to take online payments for shopping and conduct surveys to get the information about the various Issues Related to HDFC Bank. And further it can be used to implement a Better Complaint System.

40

CONTENTS 1. Introduction & Objectives Introduction Objectives System Analysis Identification of the need. Preliminary Investigation Feasibility Study. Software Engineering Paradigm Software Requirement Specifications (SRS) Design Entity Relationship (ER) Diagram Test case Data Structure of Tables Data Dictionary of Tables. Forms Coding Code Efficiency and Optimization of Code Validation Checks Testing (Testing Techniques and Strategies) Security Measures Taken Work Schedule and Cost Estimation Reports Limitations of the Project Future Scope of Project Bibliography

2.

3. 4.

5.

6. 7. 8. 9. 10. 11. 12. 13. 14. 15.

41

42

INTRODUCTION

HDFC Online Banking is a Software Product that has been developed for provide a complete automated and computerized solution to the HDFC. This System includes all basic operations that are needed in HDFC. The Project has a very interactive GUI interface and is very user friendly. The Primary Concern of HDFC Online Banking is to provide a complete functionality for the Requests for New Saving Account, Home Loan, Personal Loan, Customers Details & all other Operations needs in HDFC. The goal is to apply information technology in the HDFC and to provide a very quick service to the users and inquiry service to customers which will result in error free data and greater customer satisfaction.

The System records each and every transaction in computers and saves the time that was too long in case of manual recording. The System keeps all Registration Related Information and does most of the work automatically like generating Application Number, Loan Requests, and Credit Card Requests etc.

This System uses ASP .Net as a front-end tool and Microsoft SQL Server 2008 as the back-end that has been used to manipulate the Database.

43

OBJECTIVE This objective of this project is dual. The primary objective is the completion of Master of Computer Application. The main objective of developing this kind of Product is to applying the Information Technology for HDFC. This provides a wellmaintained information structure for processing of Requests. The main idea behind is to provide a complete system to cater to all the activities that take place in HDFC Bank. The HDFC Online Banking includes the complete data which include Registration information, Customer Information & Employee Details. This data can be referred to any time as and when required. The Primary objectives behind the development of the HDFC Online Banking are as follows:

Proper Back-Up and recovery facilities. Making the System reliable and secured. Providing the security to valuable data. Speeding up the all the transactions. Enabling the HDFC to maintain its data through computers. Quick and fast service to the customers. Remove the old Computerized by transaction handling with the fast computerized system.

Applying a reliable and efficient functionality. Save time and efforts.

44

45

Requirements Definition:A requirement is a feature of the system or a description of something the system is capable of doing in order to fulfill the systems purposes. A software requirement is a distinct observation of the services that the system shall provide and the constraints and validation under which the system must function. Requirements determination involves studying the existing working system to find out how it works and where and where improvements should be made. System studies results in an evaluation of how current methods are working and weather adjustment are necessary or possible. A requirement is a feature that must be included in a proposed system. It may be to include a way of capturing data or generating information, controlling a business activity, or supporting management. The determination of requirements thus entails studying the existing system and collecting details about it to find out what these requirements. Requirements can either be functional or nonfunctional. Types of Requirements:There are different types of requirement such as: Known Requirements Unknown Requirements Undreamt Requirements Requirement Analysis:Requirements analysis is very important and essential activity after elicitation. We analyze refine and scrutinized the gathered requirements in order to make

46

consistent and unambiguous requirements. Requirement Analysis is a software Engineering method that narrows the gap between system level requirements engineering and software design. In the proposed project software requirements analysis have been divided into five areas of effort: Problem Recognition Evaluation and Synthesis Modeling Specification Review

47

Requirements Elicitation for the softwareBefore requirements can be analyzed, modeled or specification they are gathered, through an elicitation process. Open Ended Question were asked to the potential users and various MCQ Collected from the employees, Potential user and the management people belonging to different large organizations / institute regarding how they would characterize a good output that would generate a successful solution, what kind of problems will this solution address, how they describe the environment in which the solution will be used and will special performance issues or constraints effects the way the solution is approached.

48

Quality function RequirementsQuality function development (QFD) is a quality management technique that translates the needs of the customer into technical requirements for software. In QFD three types of requirement are identified Normal Requirements:1. Graphical displays: a. Fully menu driven. a) Intuitive key assignments and user interactive screen. b) User configurable. b. c. Facility to add, delete, modify a record. Report generation.

Expected Requirements: These requirements are implicit to the product or system and may be so fundamental that the customer dose not state them. The following are listed. (1) (2) (3) (4) (5) (6) Ease of Human / Machine Interaction Reliability and Operational correctness Fast loading to even slow Browsers Single point data storage for data element Maintenance of integrity and inter linkage of data Extensive query facility to provide immediate answers for management

49

(7) (8)

Matching of physical and logical movement of file Should be upgradeable to incorporate new features

(9) Should be expandable

Exciting Requirements: (1) Error control mechanism (2) Tool tip next display (3) Graphical animations (4) Other look and feel appeals

Security Requirements: The following security requirements are considered in this project. (1) (2) (3) User Level Authentication Restricted Menu access Backup and Restore

Functional Requirements: Functional requirements include the statements of the services the system should provide. These are related to the expectations from the intended software. They are also called product features. Sometimes, functional requirements may also specify what the software not to do. Non Functional Requirements:Non functional requirements include contains on services or function provided by system. Non functional requirements that are especially important to users include specifications of desired performance, availability, reliability, usability,

50

and flexibility. Non functional requirements for developers are maintainability, portability and testability. List of function and non-function requirements of the HDFC Online Banking is given below:

Functional RequirementsEmployees:This process should provide a feature to see the personal details of employee, their salary detail, departments details of the employees.

Loan:This process should provide a feature to keep the tracks of the Home Loan, Personal Loan & Vehicle Loan. Customer:This process keeps the details about the Customer Account details & personal Details.

51

Non-Functional RequirementsThe Non-functional requirements can be classified into three main categories that are: (1) Product requirements (2) Organizational requirements (3) External requirements

Functional Requirements:These are the expectations from a system. Product requirements include the following: Usability requirements:-

The system should have a good interface and it should be used friendly because if the user who would be using the system most of the time. Along with the user friendly interface the system should be easy to use and should not be confusing. A list of command or instructions on how to work with the system and operate it should be provided with the system.

Efficiency Requirements:To make the system run efficiently system requirements of the software will have to be kept minimum.

52

Reliability Requirements:A system is said to be reliable is a user can depend on it. The process be execute in the same manner it has been programmed. And the out puts of the project must be very correct. If outputs are not reliable then there is no advantage of using the software. Moreover, the Database must be handled very carefully because loss of the data may result in bankrupting or closing the organization.

53

Feasibility Study Feasibility study is defined as an evaluation or analysis of the potential impact of a proposed project or program. It is conducted to assist decision makers in determining whether or not to implement a project/program. Feasibility study is the determination of whether or not a project is worth doing. The process followed in making this determination is called a feasibility study. This type of study determines if a project can and should be taken. Once it has been determined that a project is feasible, the analyst can go ahead and prepare the project specification which finalize the project requirements.

Different type of feasibility study undertaken is: Economic Feasibility:Economic feasibility is the most frequently used technique for evaluating the effectiveness of the proposed system. More commonly knows, as cost/benefit analysis; the procedure is to determine the benefits and saving that are expected from a proposed system and compare them with costs. If benefits outweigh costs, a decision is taken to design and implement a system. Otherwise, further justification or alternative in a proposed system will have to be made if it is to have a chance of being approved. This is an outgoing effort that improves in accuracy at each phase of system lifecycle. Time feasibility:It is determination of whether a proposed project can be implemented fully with in a stipulated time frame. If a project takes too much time it is likely to be rejected. Time feasibility is important because the client companies usually give deadlines for the system to be changed. Usually give deadlines for the system to be changed. Usually deadlines are very strict and should be followed by companies.

54

Technical feasibility:This is concerned with specifying equipments and will satisfy the user requirements. The technical needs of the system may vary considerably but might include: (1) (2) (3) (4) The facility to produce outputs in a given time. Response time under certain conditions. Ability to process a certain volume of transaction at a particular speed. Facility to communicate data to distant location.

Technical feasibility centers on the existing computer system, hardware, software, etc. and to what extent it can support the system. In examination technical feasibility configuration of the system is given more important that the actual make of hardware. The configuration should give the complete picture of the system requirements e.g. how many workstations are required, how these units are interconnected so that they would operate smoothly, etc. the result of technical feasibility study is used as the basic for documents against which dealer and manufactures can make the bids. Specified hardware and software product can then be evaluated keeping in view the logical needs.

Resource Feasibility:This was also important to check whether required resources will be available or not. For the software, there were no such constraints as most of the web-related languages are platform independent and freely available. Here, I decided to use C#.NET as the most prominent tool, the compiler for which is freely available. For the database, a general approach was adopted by means of which the same coding can be implied on

55

all the web-related database management system software available. The database may be implemented on Microsoft SQL Server 2005. Behavioral feasibility:Normal human psychology of human being indicates that people are resistant to change and computers are knows to facilitate. Any project formulations should consider this factor also. Before the development of the project titled Regional Transport Office Management System, the need to study the feasibility of the successful execution of the project was felt and thus the following factors are considered for a feasibility study. (1) (2) Need Analysis. Provide the users information pertaining to the above requirements.

56

Feasibility Study Report Questionnaires were used to gather information from the key users i.e. the customers, operators and managements to determine the following:

(A) Whether there is a need for an automated system. (B) If the need is there, what are the drawbacks of existing system that
have to be rectified in the new system?

(C) That omissions are there in the existing systems, which have to be
incorporated in the new system? The result of the feasibility study provided us with the following facts: (1) (2) (3) The automated system would increases the efficiency of the system. The automated system would increases customers satisfaction. The automated system has many requirements such as:

(I). (II). (III). (IV).


(4) (5)

Efficiency Cost effectiveness Prompt services Reliability

The automated system would add to the security features of the system The automated system should be:

(I). (II). (III).


(6)

Simple to use Incorporate all necessary services Maintainable

This will cause some changes in the organization. These are:-

57

(I). Change in staffing policies-present employees will have to be sent


for training.

(II). New employees to be recruited will have the knowledge about the
automated system.

58

Software Engineering Paradigm is also referred as Software Development Life Cycle or a process model. A software life cycle model is a particular abstraction that represents a software life cycle. A software life cycle is a series of identifiable stage that a software product undergoes during its life time. A software product development effort usually starts with a feasibility study stage, and then subsequently requirements analysis & specification, design, coding, testing and maintenance are undertaken. Each of these stages is called Life Cycle Phase. While developing a software product, it is necessary for the development team to identify a suitable life cycle model and adhere to it. The primary advantage of adhering to a life model is that it encourages development of software in a systematic and disciplined manner. There are several software engineering paradigms (process module) for developing software. Some of the important and commonly used models are as under: Prototyping model applied in to the Project Information System Evolutionary model Rapid Application Development (RAD) model Spiral model Clean room model Build and fix model

59

Prototyping paradigm of software Engineering is applied in the HDFC ONLINE BANKING the prototyping model suggests that before development of the software, a working prototype of the system should be built first. There were several reasons for developing a prototype. An important purpose was to illustrate the input data formats, reports, and the interactive dialogues to the end user. This was a valuable mechanism for gaining better understanding of the Business Development Divisions needs. For much easier for the user to form his option by experimenting with a working model rather than just trying to imaging the working of a hypothetical system. After gathering the requirements from the Business Development division, a quick design (prototype) was made and showed to the HODs of information Technology and Business Development Division. The system prototype built was quit close to the requirements of the Business Development Division. Some additional requirements were also added to the system on the system on the pretext of slight increase in the earlier scope. Following figure depicts the prototyping paradigm applied in the HDFC ONLINE BANKING. As shown in the figure the model starts with an initial requirements gathering phase. A quick design was carried out and the system proto- type was built. The developed prototype was then shown to the end user for their suggestion on it. Based on the feedback, the requirements were refined and classical waterfall approach was used to develop the HDFC Online Banking.

60

Requirements Gathering

Quick Design Build Prototype Requirement of Requirements Build Prototype

Prototype Evaluation

Design

Coding and Reports

Testing

Implementation

61

62

63

This document aims at defining the overall software requirement for HDFC Online Banking. Efforts have been made to define the requirement exhaustively. The final product will be having only feature/functionalities mentioned in this moment and assumption for any additional functionality/feature should not be made by any of the parties involved in developing/testing/implementing/using this product. In case it is required to have some additional features, a formal change request will need to be raised subsequently a new release of this document and product will be produced.

Purpose: This Software Specification Document describes the capability that will be provided by this Website HDFC Online Banking. This document also states the various required constraints by which the System will abide. Scope: This website GDFC Online Banking will be a Management Information System (MIS) and an application that will be used for Generating report about the data of the Regional Transport Office. The application will manage the information about Loans, Customer Account Details in the HDFC. It contains all facility to manage a HDFC and also contain details of on which request of the Applicants recently HDFC is working and how already completed Loans & Accounts is maintained. It also contains information about the Staff of the HDFC, Loans, Saving Accounts Requests, Credit Card requests. This application will greatly simplify and speed up the work of Management of HDFC Online Banking.

Abbreviation:

Appl_no: Application Number Mob: Mobile Ph_no: Phone Number Off_ph: Office Phone Fthrs_name: Fathers Name Dob: Date of Birth Adds: Address E_mail: E-Mail ID

64

Yrs_at_crnt_resi: Years at Current Residence Comp_name: Company Name Net_sal: Net Salary B_sal: Basic Salary Da: Dearness Allowances HRA: house rent allowances Ta: transport allowances IT: Income Tax PF: Provident Fund Tot_sal: Total Salary

65

A HDFC Bank maintains many Loans, Accounts at a time. It is specially designed for handling daily and long term problem involving the management of HDFC. This website contains various areas like maintenance of Loans, Customer Accounts in the HDFC. HDFC keeps the information about Credit Cards, Employees, Transactions & login details of the Customers or Employees. To store all the information related to Loans, Credit Cards, Saving Accounts, Login details of the Employees and the Customer, Employee Details, Transactions separate database have been created.

System Interface: None

User Interface: The user interface can be defined as the space where interaction between humans and machines occurs. The goal of interaction between a human and a machine at the user interface is effective operation and control of the machine, and feedback from the machine which aids the operator in making operational decisions This Website will have a user friendly and menu based interface. This Website will provide the various functions to the user like Register for Loan, Request for a Saving Account, etc. a) A Login screen for entering login id and password to access the Employee Panel. b) There will be a Screen to capturing information about the Home Loans Request in the HDFC Bank. c) There will be a Screen to displaying and capturing information about the Employees Payroll. d) There will be a Screen to capturing information about the Personal Loans Request in the HDFC Bank.

66

e) There will be a Screen to capturing information about the Vehicle Loans Request in the HDFC Bank f) There will be a Screen to capturing information about the Credit Card Request in the HDFC Bank g) There will be a Screen to capturing information about the Make Transaction Request in the HDFC Bank h) There will be a Screen to capturing information about the Home Loans Request in the HDFC Bank i) There will be a Screen to displaying and capturing information about the Employees. j) There will be a Screen to capturing information about the Saving Accounts Loans Request in the HDFC Bank k) There will be a Screen to Displaying the information about the Response to all the Request received in the HDFC Bank Search is provided on some of the pages on the requirement basis.

The will be following Report generated:(1) Account Details Report: Printable report will be generated to show the Accounts Details in the HDFC Bank. (2) Customer Report: Printable report will be generated to show the Customer details in the HDFC Bank. (3) Employee Details Report: Printable report will be generated to show the Employee details in the HDFC Bank. (4) Employee Payroll Reports: Printable report will be generated to show the Employee Payroll. (5) Transaction Report: Printable report will be generated to show the Transaction requests from the customer in the HDFC Bank.

67

Hardware Interface: Screen Resolution of at least 800X600 is required for proper and complete viewing of screens. Printer either dot matrix/laser or ink jet to print the reports. Pentium IV or Higher 512 MB RAM or Higher

Software Interface: MICROSOFT Windows 95, 98, 2000, Me, XP sp1/xp sp2 Front End: Microsoft Visual Studio 2005 Asp.Net (2.0) Back End: Microsoft SQL Server 2005

68

69

Account Details:Description: This process is designed to store the information of the Accounts in the HDFC Bank & also maintain information about Accounts Details in the HDFC. The following information would be maintained for each Account: acc_no, acc_type, open_date, bal. The system will be allows creation of new requests for Accounts. Validation check:

Acc_type: A unique numeric value upto 10 Digits. This field cant


be left blank.

Acc_type: Account type should be alphabet upto 30 Characters. Open_date: This field allows the user to enter the date of birth in
(dd/mm/YYYY) format.

Bal: Balance field can store the numeric data upto 8 Fields.
Error handing/response to abnormal situation

Error handling is applied to the submit button to handle the error at run time. If any error is occurred during submit operation then it will handle and submit operation will be terminated and website will continued. If any of the above validation does not hold true, appropriate error messages will be prompted to the user for doing the needful.

Credit Card:Description

70

This process is designed to store the information of the Credit card. The following information would be maintained for each request: appl_no, f_name, l_name, email, dob, resi_city, mob, emplnt_type, comp_nm, monthly_income, acc_holder, exstng_card, min_card_limit, add_proof, aplied_bfore. The system will allow creation of new requests of credit card. Validation check

Appl_no: A unique alphanumeric value upto 10 Characters. F_name: First name should be in Alphabets upto 50 Characters. L_name: Last name should be in Alphabets upto 50 Characters. E_mail: This field accepts Alphabetic data only and length should
not be greater than 50 Characters.

dob: Date should be in (dd/mm/yyyy) format. Resi_city: This field should not be greater than 50 characters and
user is not allowed to enter numeric data in this field.

Mob: This field accepts the numeric data upto 15 characters. Emplnt_type: This field should not be greater than 50 characters and
user is not allowed to enter numeric data in this field.

Comp_nm: This field should not be greater than 50 characters and


user is not allowed to enter numeric data in this field.

Monthly_income: This field should not be greater than 50 characters


and user is not allowed to enter numeric data in this field.

Acc_holder: This field should not be greater than 10 characters and


user is not allowed to enter numeric data in this field.

Existing_card: This field should not be greater than 50 characters


and user is not allowed to enter numeric data in this field.

Min_card_limit: This field should not be greater than 12 characters


and user is not allowed to enter numeric data in this field. Error handing/response to abnormal situation

71

Error handling is applied to the submit button to handle the error at run time. If any error is occurred during submit operation then it will handle and submit operation will be terminated and website will continued. If any of the above validation does not hold true, appropriate error messages will be prompted to the user for doing the needful.

Employee_detailsDescription This process will maintain information about the permanent license to the HDFC. The following information would be maintained for the staff: emp_id, f_name, l_name, fthr_name, dept, desg, ed_qual, marital_status, gender, adds, c_no. The system will be allows to creation/modification of new/existing staff detail and also have the ability to list all the staff in the software tracking. Validation check a. Emp ID: Employee Id should be alphanumeric of length upto 10 Characters. b. F_name: First name should be in Alphabets upto 50 Characters. c. L_name: Last name should be in Alphabets upto 50 Characters. d. Fthr_name: Fathers name should be in Alphabets upto 50 characters. e. Dept: Department name should be in Alphabets upto 30 Characters. f. Desg: Designation should be in Alphabets upto 30 Characters. g. Ed_qual: Education Qualification should be in Alphabets upto 50 Characters. h. Marital_status: Marital status should be Alphabets of maximum upto 30 Characters. i. Gender: Gender should be in Alphabets upto 10 Characters. j. Adds: Address should be in Alphabets upto 100 Characters. k. C_no: This filed must be in numeric upto 15 digits.

72

Error handing/response to abnormal situation

Error handling is applied to the submit button to handle the error at run time. If any error is occurred during submit operation then it will handle and submit operation will be terminated and website will continued. If any of the above validation does not hold true, appropriate error messages will be prompted to the user for doing the needful.

Transaction:Description This process will maintain information about the Transaction request to the HDFC system. The following information would be maintained for each transaction: reqst_code, request_for, acc_from, acc_to, amount. The system will be allows to creation/modification/deletion of new/existing new class vehicle information and also have the ability to list all the Information of Addition of New Class: Validation check a. Request_code:Request code should be alphanumeric of length upto 20 Characters. b. Request_for: Request for field should be in alphanumeric of length upto 20 characters. l. Acc_from: Account from should be alphanumeric of length upto 20 Digits. m. Acc_to: This should be alphanumeric of length upto 20 Characters. c. Amount: Amount should be in numeric and upto 10 digits.

73

Error handing/response to abnormal situation

Error handling is applied to the submit button to handle the error at run time. If any error is occurred during submit operation then it will handle and submit operation will be terminated and website will continued. If any of the above validation does not hold true, appropriate error messages will be prompted to the user for doing the needful.

74

Security:The application will be password protected .Employees will have to enter correct username, and password to access the Employee Section in the Website.

Maintainability:The application will be designed in a manner. It will be easy to incorporate new requirement the individual modules (acc_det, credit_card, customer, emp_det, emp_login, emp_pay, home_loan, personal_loan, saving acnt, transaction, vehicle_loan).

Portability:The application will be portable on any window based system that has MICROSOFT SQL SERVER 2008 and MICROSOFT VISUAL STUDIO 2010.

75

The following information will be placed in a database:

Acc_det: acc_no, acc_type, open_date, bal. empl_det:-emp_id, f_name, l_name, father_name, gender, marital_status,
nationality, dob, emp_add, dept_name, d_o_join, cont_no, highst_qual.

empl_pay:-emp_id, bas_salary, da, hra, ta, tot_sal, pf,IT, net_sal,


sal_month.

Emp_login:-emp_id, pass. Acc_det: acc_no acc_type, open_date, bal. Credit_card: appl_no, f_name, l_name, email, dob, resi_city, mob,
emplnt_type, comp_nm, monthly_income, acc_holder, exstng_card, min_card_limit, add_proof, aplied_bfore.

Customer: cust_id, f_name, l_name, acc_no, e_mail, branch_name,


branch_id, pin, dob.

Home_loan: appl_no, f_name, l_name, dob, email, mob_no, city, off_ph,


home_ph, occupation, monthly_income, existing_cust, loan_amnt, loan_tenure, preperty_identified.

76

Personal_loan: appl_no, f_name, l_name, dob, yrs_at_crnt_resi, city,


hav_hdfc_acc, e_mail, ph_no, mob, occupation, comp_name, yrs_in_crnt_comp, net_sal.

Saving_account: appl_no, Title, f_name, l_name, city, nearest_branch,


mob_no, contact_no, landline_no, email.

Transaction: reqst_code, request_for, acc_from, acc_to, amount. Vehicle_loan: appl_no, f_name, l_name, applying_for, dob,
yrs_at_crnt_resi, city, hav_hdfc_acc, e_mail, ph_no, mob, occupation comp_name, yrs_in_crnt_comp, net_sal.

77

78

0 LEVEL DFD

Login

Validated

Employees
Generate Payroll Enquiry Registration for Saving account

HDFC Management System

Received

Employees

Response Registered

Customers

Customers

79

1 LEVEL DFD

Login 1.0

Data retrieve from DB

login

Emp 2.0

data store

employee

Tras 3.0

Data store

transaction

login

update confirmation

Data SA 4.0

Saving account

Loan 5.0

Date store

loan

CD 6.0

Data store

Credit Card
Data store

Search 7.0

employee

80

81

1 LEVEL DFD

Login 1.0

Data retrieve from DB

login

Emp 2.0

data store

employee

Tras 3.0

Data store

transaction

login

update confirmation

Data SA 4.0

Saving account

Loan 5.0

Date store

loan

CD 6.0

Data store

Credit Card

Search 7.0

Data store

employee

82

2 level DFD

nd

Add 1.1

employee

employee

Update 1.2

83

Create 4.1

customer

Custome r

Update 4.3

84

Add 5.1

Customer

Loan application
Update 5.2

85

Add 6.1

Customer

Saving Account

Save 6.2

86

Customer

Searching acc info confirmatio n

Acc info 7.1

Data store

account

Customer

Searching for trans confirmation

Transac tion 7.2

Data store

transaction

87

88

Appl_no

Saving_acnt

Dob

Name Register for Adds

F_Name

Adds Br_nm Opened_ by Fthr_Nam Branches Br_id city Needed adds

cstmr

Appl_no

dob

Regd_by

Register for Issued by

HDFC

Appl_no Works_i n

F_name

Fthr_nam

Provided by

Credit_card
L_name

Hme_Loans
C_no dob adds

Emp_id

Name Name Appl_n Date F_Nam

Employees

Email adds

Name

89

90

91

Use Case Model

Identifying Use Cases


A use case represents a function that the system performs. Alternatively, a use case can be thought of as a goal that some actor can achieve with the system. An actor association is an arrow connecting an actor to a use case. This arrow represents a conversation between the actor and the system component responsible for executing the use case.

A conversation can be viewed as an exchange of messages. For example, the system might send a message to the user by displaying a dialog box. The user might reply to this message by clicking a button on the dialog box. Conversations can be long or short. The initiator of the conversation is indicated by the direction of the arrow, which points from the initiator to the responder. Primary actors, such as users, always initiate conversations. Secondary actors, such as servers, always respond to an initiating use case. The optional system boundary helps to remind us that use cases are internal to the system and actors are external.

92

Writing sets of use cases: Use cases exist

in sets, and the relationships

between the various use cases and Actors are important. As you learn more about the Actors, you also learn more about the system's boundaries and transactions. Likewise, as you learn more about the system's transactions, you learn more about its Actors. Therefore, it is more efficient to write several use cases simultaneously than to write them sequentially. This way, you can identify and understand the effects of the various use cases upon each other as you write them, rather than as afterthoughts that require rewriting or elimination of previous work.
Writing individual use cases. Similarly,

it makes sense to write each individual

use case iteratively. Starting with the main scenario, you can then identify various alternative and error flows that the use case might follow, then evaluate, rearrange or eliminate them, and then add the details of the surviving scenarios. Consider factors that can influence the format and level of detail for your use case description.
Detail the flow of events of the main scenario

As a starting point, use the step-by-step description of the use-case main scenario. Then, gradually add details to this scenario, describing what the use case does, not how to solve problems internal to the system.
A flow of events description explores:

How and when the use case starts When the use case interacts with the Actors, and what data they exchange When the use case uses data stored in the system or stores data in the system How and when the use case ends

It does not describe:

The GUI

93

Technical details of hardware or software Design issues

Identify alternate flows

A use case consists of a number of scenarios, each representing specific instances of the use case that correspond to specific inputs from the Actor or to specific conditions in the environment. Each scenario describes alternate ways that the system provides a behavior, or it can describe failure or exception cases.
As you detail the main scenario, identify alternate flows by asking these questions:

Are there different options available, depending on input from the Actor? What business rules can come into play? What could go wrong?

94

Use Case Diagram

A use case diagram at its simplest is a representation of a user's interaction with the system and depicting the specifications of a use case. A use case diagram can portray the different types of users of a system and the various ways that they interact with the system. This type of diagram is typically used in conjunction with the textual use case and will often be accompanied by other types of diagrams as well.

With regards to use case diagrams, that is exactly what they are meant to do. While a use case itself might drill into a lot of detail about every possibility, a use-case diagram can help provide a higher-level view of the system. It has been said before that "Use case diagrams are the blueprints for your system". They provide the simplified and graphical representation of what the system must actually do.

Due to their simplistic nature, use case diagrams can be a good communication tool for stakeholders. The drawings attempt to mimic the real world and provide a view for the stakeholder to understand how the system is going to be designed. Siau and Lee conducted research to determine if there was a valid situation for use case diagrams at all or if they were unnecessary. What was found was that the use case diagrams conveyed the intent of the system in a more simplified manner to stakeholders and that they were "interpreted more completely than class diagrams". The purpose of the use case diagrams is simply to provide the high level view of the system and convey the requirements in layman's terms for the stakeholders. Additional diagrams and documentation can be used to provide a complete functional and technical view of the system.

95

Use Case Diagram

96

Test Cases

Transaction Session 1 Before execution (1) (2) (3) Purpose: To Save the Record Pre-condition: none Input: request_code(112e3), Request_for(deposit), Acc_from(112255447788) Acc_to(111223445577) (4) (5) (6) (7) Expected output: save the record in database Post-condition(if any):None Written by: Date: 12-3-2013

After execution (1) Execution history: SqlException Occurred. (2) (3) (4) (5) (6) (7) Result: Null violation If fails, any possible reason(if any): amount() was left blank..

Any observation: none Any suggestion: none Run by: Date: : 12-3-2013

Session 2

97

Before execution (1) Purpose: To Save the Record (2) Pre-condition: none (3) Input: request_code(112e3), Request_for(deposit), Acc_from(112255447788) Acc_to(111223445577) (4) Expected output: save the record in database (5) Post-condition(if any):None (6) Written by: (7) Date: 12-3-2013

After execution (8) Execution history: Record Stored successfully (9) Result: record saved. (10) If fails, any possible reason(if any): none (11) Any observation: none (12) Any suggestion: none (13) Run by: (14) Date: : 12-3-2013

LOGIN:Session 1

Before execution Purpose: To check authorized person who can access the project.

98

Pre-condition: None (1) Input: Login_id (user101) AND Password (sumit) (2) Expected output: successful login and open the employee panel. (3) Post-condition(if any): if login is successful, then open the Employee panel form and close the login form. (4) Written by: (5) Date: 15-03-2013

After execution (1) (2) (3) (4) (5) (6) (7) Execution history: login failed Result: invalid Login_id or password. If fail, any possible reason(if any): wrong password or login_id Any other observation: case sensitive Any suggestion: change the input case Run by: Date15-03-2013

LOGIN:Session 2

Before execution (1) (2) (3) (4) (5) Purpose: To check authorized person Pre-condition: none Input: Login_id(user101) AND password (SUMIT) Expected output: login is successful and open the employee panel form Post-condition: if login is successful then open employee panel form

99

(6)

Written by:

(7) Date: 15-03-2013

After execution (1) (2) (3) (4) (5) (7) Execution history: login successed Result: login is successful If fails, any possible reason(if any): None Any observation: none Any suggestion: none

(6) Run by: Date: 15-03-2012

100

Account Details Field acc_no Acc_type Open_date Bal Credit Card Field Appl_np F_name L_name Email Dob Resi_city Mob emplnt_type comp_nm monthly_income acc_holder exstng_card min_card_limit add_proof aplied_bfore Data Type varchar(10) Varchar(50) Varchar(50) Varchar(50) Date Varchar(50) Varchar(15) Varchar(50) Varchar(50) varchar(50) varchar(10) varchar(50) varchar(12) varchar(50) varchar(10) Constraint Primary key Data Type Bigint Varchar(30) Date Varchar(12) Constraints Primary key

Customer Field cust_id f_name l_name acc_no e_mail branch_name branch_id Pin Dob Data Type varchar(10) varchar(50) varchar(50) Bigint Varchar(50) varchar(50) varchar(20) varchar(10) Date Constraint Primary key

101

Home Loan Field appl_no F_name L_name Dob Email mob_no City off_ph home_ph Occupation monthly_income existing_cust loan_amnt loan_tenure preperty_identified Personal Loan Field appl_no F_name L_name Dob yrs_at_crnt_resi City hav_hdfc_acc e_mail ph_no Mob Occupation comp_name loan_tenure net_sal Data Type varchar(10) Varchar(50) Varchar(50) Date varchar(20) varchar(30) varchar(10) varchar(50) varchar(15) varchar(15) varchar(30) varchar(50) yrs_in_crnt_comp varchar(20) Constraint Primary key Data Type varchar(10) Varchar(50) Varchar(50) Date Varchar(50) varchar(15) varchar(30) varchar(15) varchar(15) varchar(50) varchar(20) varchar(5) varchar(15) Int varchar(10) Constraint Primary key

102

Saving Account Field appl_no Title F_name L_name City nearest_branch mob_no contact_no landline_no Email Transaction Field reqst_code request_for acc_from acc_to Amount Vehicle Loan Field appl_no F_name L_name Applying_for Dob yrs_at_crnt_resi City hav_hdfc_acc e_mail ph_no Mob Occupation comp_name loan_tenure net_sal Data Type varchar(10) Varchar(50) Varchar(50) varchar(20) Date varchar(20) varchar(30) varchar(10) varchar(50) varchar(15) varchar(15) varchar(30) varchar(50) yrs_in_crnt_comp varchar(20) Constraint Primary key Data Type varchar(20) varchar(20) varchar(20) varchar(20) nchar(10) Constraint Data Type varchar(10) varchar(10) Varchar(50) Varchar(50) varchar(30) varchar(30) varchar(15) varchar(15) varchar(15) varchar(50) Constraint Primary key

103

Employee Details Field Emp_id F_Name L_name Fthr_name Dept Desg ed_qual marital_status Gender Adds c_no Data Type Varchar(20) Varchar(50) Varchar(50) Varchar(50) varchar(30) varchar(30) varchar(30) varchar(30) varchar(10) varchar(100) varchar(13) Constraint Primary key

Employee Login Table Field Emp_id Pass Data Type Varchar(30) Varchar(12) Constraint Primary key

Employee Payroll Field Emp_id B_sal Hra Da Ta Tot_sal IT PF Net_sal sal_month Data Type Varchar(10) Bigint Int Int Int Bigint Int Int Bigint Varchar(20) Constraint Primary key

104

Data Dictionary Account Details Field acc_no Acc_type Open_date Bal Data Type Bigint Varchar(30) Date Varchar(12) Constraints Primary key Description Account number Account type Date of opening account Balance in the account

Credit Card Field Appl_np F_name L_name Email Dob Resi_city Mob emplnt_type comp_nm monthly_income acc_holder exstng_card min_card_limit add_proof aplied_bfore Data Type varchar(10) Varchar(50) Varchar(50) Varchar(50) Date Varchar(50) Varchar(15) Varchar(50) Varchar(50) varchar(50) varchar(10) varchar(50) varchar(12) varchar(50) varchar(10) Constraint Primary key Description Application number First name Last name E mail id Date of birth Residence city Mobile number Employment type Company name Monthly income Existing account holder Existing card Minimum card limit Address proof Applied before

105

Customer Field cust_id f_name l_name acc_no e_mail branch_name branch_id Pin Dob Home Loan Field appl_no F_name L_name Dob Email mob_no City off_ph home_ph Occupation monthly_income existing_cust loan_amnt loan_tenure preperty_identified Data Type varchar(10) Varchar(50) Varchar(50) Date Varchar(50) varchar(15) varchar(30) varchar(15) varchar(15) varchar(50) varchar(20) varchar(5) varchar(15) Int varchar(10) Constraint Primary key Description Application number First name Last name Date of birth E mail id Mobile number City Office phone Home phone Occupation Monthly income Existing customer Loan amount Loan tenure or duration Property identified or not Data Type varchar(10) varchar(50) varchar(50) Bigint Varchar(50) varchar(50) varchar(20) varchar(10) Date Constraint Primary key Description Customer id First name Last name Account number E mail id Branch name Branch id Pin number Date of birth

106

Personal Loan Field appl_no F_name L_name Dob yrs_at_crnt_resi City hav_hdfc_acc e_mail ph_no Mob Occupation comp_name loan_tenure net_sal Saving Account Field appl_no Title F_name L_name City nearest_branch mob_no contact_no landline_no Email Data Type varchar(10) varchar(10) Varchar(50) Varchar(50) varchar(30) varchar(30) varchar(15) varchar(15) varchar(15) varchar(50) Constraint Primary key Description Application number Title First name Last name City Nearest branch Mobile number Contact number Landline number Email id Data Type varchar(10) Varchar(50) Varchar(50) Date varchar(20) varchar(30) varchar(10) varchar(50) varchar(15) varchar(15) varchar(30) varchar(50) yrs_in_crnt_comp varchar(20) Constraint Primary key Description Application number First name Last name Date of birth Years at current residence City Have hdfc account Email id Phone number Mobile Occupation Company name Loan tenure Net salary

107

Transaction Field reqst_code request_for acc_from acc_to Amount Vehicle Loan Field appl_no F_name L_name Applying_for Dob yrs_at_crnt_resi City hav_hdfc_acc e_mail ph_no Mob Occupation comp_name loan_tenure net_sal Data Type varchar(10) Varchar(50) Varchar(50) varchar(20) Date varchar(20) varchar(30) varchar(10) varchar(50) varchar(15) varchar(15) varchar(30) varchar(50) yrs_in_crnt_comp varchar(20) Constraint Primary key Description Application number First name Last name Applying for Date of birth Years at current residence City Have hdfc account E mail id Phone number Mobile number Occupation Company name Loan tenure Net salary Data Type varchar(20) varchar(20) varchar(20) varchar(20) nchar(10) Constraint Description Request code Request for Account from Account to amount

108

Employee Details Field Emp_id F_Name L_name Fthr_name Dept Desg ed_qual marital_status Gender Adds c_no Data Type Varchar(20) Varchar(50) Varchar(50) Varchar(50) varchar(30) varchar(30) varchar(30) varchar(30) varchar(10) varchar(100) varchar(13) Constraint Primary key Description Employee id First name Last name Fathers name Department Designation Educational qualification Marital status Gender Address Conatact number

Employee Login Table Field Emp_id Pass Data Type Varchar(30) Varchar(12) Constraint Primary key Description Employee id Password

Employee Payroll Field Emp_id B_sal Hra Da Ta Tot_sal IT PF Net_sal sal_month Data Type Varchar(10) Bigint Int Int Int Bigint Int Int Bigint Varchar(20) Constraint Primary key Description Employee id Basic salary House rent allowances Dearness allowances Travel allowances Total salary Income tax Provident fund Net salary Salary month

109

Class Diagrams

In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among the classes.

The class diagram is the main building block of object oriented modelling. It is used both for general conceptual modelling of the systematics of the application, and for detailed modelling translating the models into programming code. Class diagrams can also be used for data modeling. The classes in a class diagram represent both the main objects, interactions in the application and the classes to be programmed.

A class with three sections.

In the diagram, classes are represented with boxes which contain three parts. The upper part holds the name of the class The middle part contains the attributes of the class The bottom part gives the methods or operations the class can take or undertake In the design of a system, a number of classes are identified and grouped together in a class diagram which helps to determine the static relations between those objects. With detailed modelling, the classes of the conceptual design are often split into a number of subclasses.

110

In order to further describe the behavior of systems, these class diagrams can be complemented by state diagram or UML state.

111

Dynamic Models
Computer models offer a means of interpreting and analyzing the dynamics of realworld systems ranging from population growth to ozone depletion and a new section on modeling in genetics. Dynamic Modeling introduces an approach to modeling that makes it a more practical, intuitive endeavor. The book enables readers to convert their understanding of a phenomenon to a computer model, and then to run the model and let it yield the inevitable dynamic consequences built into the structure of the model. Dynamic Modeling uses STELLA software to develop simulation models.

Dynamic modelling is modelling of processes over time. In dynamic modelling new attributes are computed as a function of attribute changes over time. After the general concepts) are explained, each part of the script will be described, from the structure in the seperate sections of the program (script) for a dynamic model to some special contents of a dynamic modelling script (timeinput, report) and the running of a script.

112

Sequence Diagrams. A sequence diagram is a kind of interaction diagram that shows how processes operate with one another and in what order. It is a construct of a Message Sequence Chart. A sequence diagram shows object interactions arranged in time sequence. It depicts the objects and classes involved in the scenario and the sequence of messages exchanged between the objects needed to carry out the functionality of the scenario. Sequence diagrams are typically associated with use case realizations in the Logical View of the system under development. Sequence diagrams are sometimes called event diagrams, event scenarios, and timing diagrams.

A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects that live simultaneously, and, as horizontal arrows, the messages exchanged between them, in the order in which they occur. This allows the specification of simple runtime scenarios in a graphical manner.

113

Sequence Diagram

114

State Chart Diagram

A state diagram is a type of diagram used in computer science and related fields to describe the behavior of systems. State diagrams require that the system described is composed of a finite number of states; sometimes, this is indeed the case, while at other times this is a reasonable abstraction. Many forms of state diagrams exist, which differ slightly and have different semantics.

State diagrams are used to give an abstract description of the behavior of a system. This behavior is analyzed and represented in series of events that could occur in one or more possible states. Hereby "each diagram usually represents objects of a single class and track the different states of its objects through the system".

State diagrams can be used to graphically represent finite state machines. This was introduced by C.E. Shannon and W. Weaver in their 1949 book "The Mathematical Theory of Communication". Another source is Taylor Booth in his 1967 book "Sequential Machines and Automata Theory". Another possible representation is the State transition table.

115

State Chart Diagram

116

Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions with support for choice, iteration and concurrency. In the Unified Modeling Language, activity diagrams can be used to describe the business and operational step-by-step workflows of components in a system. An activity diagram shows the overall flow of control.

Activity diagrams are constructed from a limited number of shapes, connected with arrows. The most important shape types:

rounded rectangles represent actions; diamonds represent decisions; bars represent the start (split) or end (join) of concurrent activities; a black circle represents the start (initial state) of the workflow; an encircled black circle represents the end (final state).

Arrows run from the start towards the end and represent the order in which activities happen.

Hence they can be regarded as a form of flowchart. Typical flowchart techniques lack constructs for expressing concurrency. However, the join and split symbols in activity diagrams only resolve this for simple cases; the meaning of the model is not clear when they are arbitrarily combined with decisions or loops. While in UML 1.x, activity diagrams were a specialized form of state diagrams, in UML 2.x, the activity diagrams were reformalized to be based on Petri net-like semantics, increasing the scope of situations that can be modeled using activity diagrams. These changes cause many UML 1.x activity diagrams to be interpreted differently in UML 2.x

117

Activity Diagram

118

System Decomposition
Analysis vs Design
Analysis

Recall that analysis activities focus on understanding the application domain Analysis activities will produce: o use case model (functional requirements) o a set of non-functional requirements and constraints o an object model (describing participating objects/entities) o a sequence diagram for each use case, describing interactions between objects Analysis model -- describes everything from the actors' point of view o This serves as the basis of communication between client and developers

Design

Design activities focus on the solution domain o Internal structure of the system, how will it be realized? System design will produce: o Design goals -- what qualities of the system should developers optimize? These are often derived from the non-functional requirements o subsystem decomposition -- overall architecture, subsystem responsibilities, mapping to hardware, etc o boundary use cases -- configuration, startup, shutdown, etc Using top-down techniques (divide and conquer), the overall system is usually modeled as a set of subsystems

System Design Concepts


Subsystems

subsystem -- a smaller, simpler part of a larger system o a subsystem is made of a number of solution domain classes o often one developer or development team is responsible for one subsystem service -- a set of related operations that share a common purpose

119

Subsystem interface -- a set of operations of a subsystem available to other subsystems. o One subsystem provides services to others, specified through its interface o Application Programmer Interface (API) -- refinement of general subsystem interface subsystem decomposition -- the activity of identifying subsystems, their services, and their relationships to each other

Coupling and Cohesion

coupling -- the strength of dependencies between two subsystems o strongly coupled == changes to one subsystem likely to affect the other o loosely coupled == relatively independent (as long as the interface doesn't change) o Goal: Strive for loose couplings. Don't share attributes; use operations and a well-specified interface cohesion / coherence -- strength of dependencies within a subsystem o High cohesion: subsystem contains related objects performing similar tasks o Low cohesion: subsystem contains a number of unrelated objects o Goal: Strive for high cohesion

Subsystems -- Layering and Partitioning


Subsystems can related to each other in more than one way. Two common ways: layering and partitioning Partitioning - dividing a system into independent peer subsystems o subsystems provide services to each other on same level of abstraction o each subsystem responsible for a different class of services Layering - a more hierarchical decomposition o A layer is a grouping of subsystems providing related services to a higher level of abstraction o a layer depends on lower layers o a layer has no knowledge of higher layers o Closed architecture -- a layer depends only one the one immediately below it o Open architecture -- a layer can access the one immediately below, as well as deeper layers
120

A common example of layers -- web applications through TCP/IP o Application layer - interface to the user (web browser, SSH client, etc) o Transport layer - Client/server programs communication through sockets. Focus on communication betweem programs. o Internet (network) layer - routing of individual packets from machine to machine o Physical and DataLink layer (Ehternet and physical wire) sending chunks of data over the physical medium Subsystem decomposition often involves both partitioning and layering

Architectural styles

A software architecture includes specification of o system decomposition o global control flow o handling of boundary conditions (startup, shutdown, failures, etc) o communication between subsystems There are many architectural styles. Here are some common ones (not a comprehensive list, just examples) that can be used as a basis for the architecture of some systems o Repository o Model/View/Controller o Client/Server o Peer-to-peer o Pipes and Filters o Three-tier and four-tier

Repository Architecture

There's a single data structure called the central repository Subsystems all access and modify data from this repository Subsystems are mostly independent Examples: o Database management systems o Compilers -- different subsystems (compiler, linker, debugger, etc) access and update central parse tree and symbol table Pro: Well suited for changing data processing tasks

121

New services can be added simply by building a new subsystem Con: Repository can become a bottleneck o Performance -- speed of access o Modifiability of repository -- high coupling with each subsystem
o

Model/View/Controller (MVC) Architecture

Has three types of subsystems: o Model - responsible for domain data, information o View - responsible for displaying information to user o Controller - Manage interactions with user Special case of repository architecture o a model subsystem acts as repository. Doesn't depend on other subsystems. o Controller subsystems dictate the control flow Rationale: user interfaces (view, control) more likely to change than domain knowledge o Similar to idea of entity, boundary, and control objects Well-suited for interactive systems, especially if multiple views of the same model are needed Con: Can have same performance bottleneck as repository systems

Client/Server Architecture

One or many servers provide services to instances of other subsystems, called clients. o Generalization of repository architecture o But not restricted to a single server (e.g. WWW) Client calls on the server, which performs some service and returns the result o Client knows the interface of the server (its service) o Server does not need to know the interface of the client o Request for services usually done with remote procedure call mechanism or common protocols (like HTTP) Users interact only with the client Well suited for distributed systems that manage large amounts of data Example: information systems with a central database: o Client: customized user interface, front-end data processing, intiation of remote procedure calls to server across network

122

Server: central data management, data integrity, database consistency, security, concurrency (multiple user access) o This example is a special case of repository architecture, where the repository is managed by the server process Other common client/server examples: HTTP, SSH, FTP, Telnet, etc
o

Peer-to-peer Architecture

Generalization of Client/Server Architecture Subsystems can act as both clients and servers o Each subsystem can request and provide services More difficult to design o Greater possibility of deadlocks o More complicated control flow Example: Database receives queries from application but also sends notifications to application when data have changed More well-known examples: File sharing applications o Napster: Started as a sort of peer-to-peer architecture, mixed with a little client/server. Central servers kept lists of peers, then file transfers were done peer-to-peer o Later networks were more true peer-to-peer (FastTrack, Limewire, eDonkey)

Three-tier and Four-tier Architectures

Three-tier: Subsystems organized into three layers o interface layer -- includes all boundary objects that deal with the user o application logic layer -- includes control and entity objects. Main processing, rule checking, etc o storage layer -- storage, retrieval, and query of persistent objects Four-tier: Same as three-tier, except interface layer is decomposed into: o Presentation client layer -- located on user machines o Presentation server layer -- located on one or more servers Four-tier is kind of a mix between three-tier and client/server o allows for different presentation clients o allows reuse of presentation objects (from the server) across clients o Example: A banking system's clients -- ATM, web interface (internet banking), application client for bank employees --

123

can all provide same services, defined in the presentation server layer
Pipe and Filter Architecture

Filters: the subsystems o Process data received through inputs o Send results to outputs (to other subsystems) Pipes: the associations between subsystems o Connects output of a filter to input of another Filters dont know about each other. They only know about the format of data received on input pipes Good for systems that apply transformations to streams of data Not so good for systems with complex user interaction, or interaction between components Example: Unix shell

124

125

Home

126

Products

127

128

Loan Panel

129

Home Loan

130

Personal Loan

131

Vehicle Loan

132

Employee Login

133

Employee Panel

134

Employee Details

135

Customer Care

136

About

137

FAQs

138

Response

139

Transaction

140

CODING

141

ASP .NET CODE

142

About.aspx
<%@ Page Title="About Us" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="About.aspx.cs" Inherits="About" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </asp:Content> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <h2 align="center"> About </h2> <table> <tr><td colspan="2" align="center"><asp:Image ID="Image1" runat="server" ImageUrl="~/Images/hd_profile.jpg" /> </td></tr><tr><th> Profile</th> <td> The Housing Development Finance Corporation Limited (HDFC) was amongst the first to receive an 'in principle' approval from the Reserve Bank of India (RBI) to set up a bank in the private sector, as part of the RBI's liberalisation of the Indian Banking Industry in 1994. The bank was incorporated in August 1994 in the name of 'HDFC Bank Limited', with its registered office in Mumbai, India. HDFC Bank commenced operations as a Scheduled Commercial Bank in January 1995.</td></tr> <tr> <td colspan="2" align="center"> <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/hd_award_march11.jpg" /> </td></tr> <tr><th>Quality</th><td>HDFC Bank began operations in 1995 with a simple mission: to be a "World-class Indian Bank". We realised that only a singleminded focus on product quality and service excellence would help us get there. Today, we are proud to say that we are well on our way towards that goal. It is extremely gratifying that our efforts towards providing customer convenience have been appreciated both nationally and internationally.</td></tr> <tr> <td colspan="2" align="center"><asp:Image ID="Image2" runat="server" ImageUrl="~/Images/hd_loans.jpg" /> </td></tr> <tr><th>Citizen's Charter</th><td>Our Citizen's Charter offers relevant information about the products, facilities and services we provide. Customers can also find out about the time norms for various banking transactions, our policy on customer information, and the process followed for redressal of grievances.</td></tr></table> <br /> <br /> </asp:Content>

143

Add_prf.xml
<?xml version="1.0" encoding="utf-8" ?> <addr_prf> <Item ddlValue="1" ddlText="Select"/> <Item ddlValue="1" ddlText="Bank Statement/Pass Book"/> <Item ddlValue="1" ddlText="Driving License"/> <Item ddlValue="1" ddlText="Gas Bill/Water Bill"/> <Item ddlValue="1" ddlText="Pospaid Mobile Bill"/> <Item ddlValue="1" ddlText="Passport"/> <Item ddlValue="1" ddlText="Ration Card/Voter ID"/> <Item ddlValue="1" ddlText="Telephone/Electricity Bill"/> <Item ddlValue="1" ddlText="Other"/> </addr_prf>

144

Auto_loan.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Auto_loan.aspx.cs" Inherits="Auto_loan" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { color: #FFFFFF; } </style> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Vehicle Loan</h1> <br /> <table> <tr><th colspan="4">Vehicle Loan Request Page</th></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4">Thank You for your interest in HDFC Bank Auto Loan. Please Leave your details & we will contact you shortly.</td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4">Please Remember Your Application Number in Reference to your Appliation.</td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Personal Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td ><asp:Label ID="Label1" runat="server" Text="Appplication Number:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox1" runat="server" Width="150px" ReadOnly="True"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="First Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label3" runat="server" Text="Last Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label4" runat="server" Text="Date of Birth(mm/dd/yyyy):" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label5" runat="server" Text="Years at Current Residence:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="resi_yr" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="resi_yr" runat="server" DataFile="~/crnt_resi_yr.xml"> </asp:XmlDataSource></td></tr> <tr><td><asp:Label ID="Label6" runat="server" Text="City" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="city" Width="150px" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="city" runat="server" DataFile="~/city.xml"> </asp:XmlDataSource></td> <td><asp:Label ID="Label10" runat="server" Text="Are you an existing HDFC Account Holder?" Width="150px"></asp:Label></td>

145

<td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="150px"> <asp:ListItem>Yes</asp:ListItem> <asp:ListItem>No</asp:ListItem> </asp:RadioButtonList> </td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Contact Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label7" runat="server" Text="E-Mail:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label8" runat="server" Text="Phone No:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td><asp:Label ID="Label9" runat="server" Text="Mobile:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label15" runat="server" Text="Applying For: "></asp:Label></td> <td><asp:DropDownList ID="DropDownList6" runat="server" Width="150px"> <asp:ListItem>Select</asp:ListItem> <asp:ListItem>Car Loan</asp:ListItem> <asp:ListItem>Two Wheeler Loan</asp:ListItem> </asp:DropDownList> </td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Employment Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label11" runat="server" Text="Occupation" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList3" runat="server" Width="150px" DataSourceID="occptn" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="occptn" runat="server" DataFile="~/occptn.xml"> </asp:XmlDataSource></td> <td><asp:Label ID="Label12" runat="server" Text="Company Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox8" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td><asp:Label ID="Label13" runat="server" Text="Years in Current Company" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList4" runat="server" Width="150px" DataSourceID="resi_yr" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList></td> <td><asp:Label ID="Label14" runat="server" Text="Current Salary(Take Home)" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList5" runat="server" Width="150px" DataSourceID="salry" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="salry" runat="server" DataFile="~/salary.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"><asp:CheckBox ID="CheckBox1" runat="server" Text="I Authorize HDFC Bank to call me Or SMS me with reference to my Application." /></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="2" align="center"><asp:Button ID="Button1" runat="server" Text="Submit"

146

BackColor="#006699" Font-Bold="True" ForeColor="White" Width="120px" onclick="Button1_Click" /></td> <td colspan="2" align="center"><asp:Button ID="Button2" runat="server" Text="Reset" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="120px" onclick="Button2_Click" /></td></tr> </table> <br /> <br /> </asp:Content>

147

Card_limit.xml
<?xml version="1.0" encoding="utf-8" ?> <card_limit> <Item ddlValue="1" ddlText="Select Card Limit"/> <Item ddlValue="2" ddlText="Less Than 15000"/> <Item ddlValue="3" ddlText="Less Than 50000"/> <Item ddlValue="4" ddlText="More Than 50000"/> </card_limit>

148

Careers.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Careers.aspx.cs" Inherits="Careers" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Careers</h1> <table> <tr> <th>Welcome to Our Careers Page</th></tr> <tr><td align="center"> <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Careers.jpg" /></td> </tr> <tr><th>Join the Winning Team</th></tr><tr><td></td></tr> <tr><td>HDFC Bank is a young and dynamic bank, with a youthful and enthusiastic team determined to accomplish the vision of becoming a world-class Indian bank. Our business philosophy is based on four core values - Customer Focus, Operational Excellence, Product Leadership and People. We believe that the ultimate identity and success of our bank will reside in the exceptional quality of our people and their extraordinary efforts. For this reason, we are committed to hiring, developing, motivating and retaining the best people in the industry.</td></tr> <tr><td></td></tr> <tr><th>Mssion and Business Strategy</th></tr> <tr><td> Our mission is to be "a World Class Indian Bank", benchmarking ourselves against international standards and best practices in terms of product offerings, technology, service levels, risk management and audit & compliance. The objective is to build sound customer franchises across distinct businesses so as to be a preferred provider of banking services for target retail and wholesale customer segments, and to achieve a healthy growth in profitability, consistent with the Bank's risk appetite. We are committed to do this while ensuring the highest levels of ethical standards, professional integrity, corporate governance and regulatory compliance.</td></tr></table> <br /> <br /> </asp:Content>

149

City.xml
<?xml version="1.0" encoding="utf-8" ?> <City> <Item ddlValue="1" ddlText="Select City"/> <Item ddlValue="2" ddlText="Delhi"/> <Item ddlValue="3" ddlText="Agra"/> <Item ddlValue="4" ddlText="Chandigarh"/> <Item ddlValue="5" ddlText="Kolkata"/> </City>

150

Credit_card.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="crdt_card.aspx.cs" Inherits="crdt_card" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { color: #FFFFFF; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1> Credit Card</h1> <br /> <table> <tr><th colspan="4">Credit Card Application Forme</th></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4">Thank You for your interest in HDFC Bank Credit Card. Please Provide all tha details & we will contact you shortly.</td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Personal Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="2"><asp:Label ID="Label14" runat="server" Text="Appplication Number:" Width="150px"></asp:Label></td><td colspan="2"> <asp:TextBox ID="TextBox1" runat="server" Width="150px" ReadOnly="True"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="First Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label3" runat="server" Text="Last Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label1" runat="server" Text="E-Mail:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label4" runat="server" Text="Date of Birth(MM/DD/YYYY):" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Contact Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label5" runat="server" Text="Current Resident City:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList1" runat="server" Width="150px" DataSourceID="city" DataTextField="ddlText" DataValueField="ddlValue"> </asp:DropDownList> <asp:XmlDataSource ID="city" runat="server" DataFile="~/city.xml"> </asp:XmlDataSource> </td> <td><asp:Label ID="Label6" runat="server" Text="Mobile:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox></td></tr>

151

<tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label7" runat="server" Text="Current Employment Type:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList2" runat="server" Width="150px" DataSourceID="emp_type" DataTextField="ddlText" DataValueField="ddlValue"> </asp:DropDownList> <asp:XmlDataSource ID="emp_type" runat="server" DataFile="~/empmnt_type.xml"></asp:XmlDataSource> </td> <td><asp:Label ID="Label8" runat="server" Text="Company Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td><asp:Label ID="Label9" runat="server" Text="Monthly Income:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList3" runat="server" Width="150px" DataSourceID="sal_range" DataTextField="ddlText" DataValueField="ddlValue" ></asp:DropDownList> <asp:XmlDataSource ID="sal_range" runat="server" DataFile="~/salary.xml"> </asp:XmlDataSource> </td> <td><asp:Label ID="Label10" runat="server" Text="Are you an existing HDFC Account Holder?" Width="150px"></asp:Label></td> <td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="150px"> <asp:ListItem>Yes</asp:ListItem> <asp:ListItem>No</asp:ListItem> </asp:RadioButtonList> </td></tr> <tr><td><asp:Label ID="Label11" runat="server" Text="Existing Credit Card:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList4" runat="server" Width="150px" DataSourceID="exstng_card" DataTextField="ddlText" DataValueField="ddlValue" AutoPostBack="True" onselectedindexchanged="DropDownList4_SelectedIndexChanged"></asp:DropDownList> <asp:XmlDataSource ID="exstng_card" runat="server" DataFile="~/crdt_card.xml"> </asp:XmlDataSource> </td> <td><asp:Label ID="Label12" runat="server" Text="Maximum Card Limit (Rs.):" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList5" runat="server" Width="150px" DataSourceID="crd_lmt" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="crd_lmt" runat="server" DataFile="~/card_limit.xml"> </asp:XmlDataSource> </td></tr> <tr><td><asp:Label ID="Label13" runat="server" Text="Address Proof:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList6" runat="server" Width="150px" DataSourceID="add_prf" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="add_prf" runat="server" DataFile="~/add_prf.xml"> </asp:XmlDataSource></td> <td>&nbsp;</td> <td>&nbsp;</td></tr> <tr><td colspan="3">Have you applied for an HDFC Credit Card within last 6 Months?</td> <td><asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal" Width="150px">

152

<asp:ListItem>Yes</asp:ListItem> <asp:ListItem>No</asp:ListItem> </asp:RadioButtonList></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"><asp:CheckBox ID="CheckBox1" runat="server" Text="I Authorize HDFC Bank to call me Or SMS me with reference to my Application." /></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4" align="center"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/submit.jpg" onclick="ImageButton1_Click" /></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4">Please Remember Your Application Number in Reference to your Appliation.</td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4">&nbsp;</td></tr> </table> <br /> <br /> </asp:Content>

153

Credit_crd.xml
<?xml version="1.0" encoding="utf-8" ?> <crdt_card> <Item ddlValue="1" ddlText="Credit Card Held"/> <Item ddlValue="2" ddlText="American Exp"/> <Item ddlValue="3" ddlText="City Bank"/> <Item ddlValue="4" ddlText="HDFC Bank"/> <Item ddlValue="5" ddlText="HSBC"/> <Item ddlValue="6" ddlText="ICICI Bank"/> <Item ddlValue="7" ddlText="SBI"/> <Item ddlValue="8" ddlText="None"/> <Item ddlValue="9" ddlText="Other"/> </crdt_card>

154

Crnt_resi.xml
<?xml version="1.0" encoding="utf-8" ?> <resi_yr> <Item ddlValue="1" ddlText="Select"/> <Item ddlValue="2" ddlText="0-1 Years"/> <Item ddlValue="3" ddlText="1-5 Years"/> <Item ddlValue="4" ddlText="5-10 Years"/> <Item ddlValue="5" ddlText="10-20 Years"/> <Item ddlValue="6" ddlText="More Than 20 Years"/> </resi_yr>

155

Cstmr_care.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="cstmr_care.aspx.cs" Inherits="cstmr_care" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Customer Care</h1> <table> <tr><th colspan="2">We are always There to Help You</th></tr> <tr><td colspan="2"></td> </tr> <tr><th colspan="2" align="center">Call Center</th> </tr> <tr><td colspan="2">Call our Toll Free Number: 1800224060 (BSNL & MTNL)</td></tr> <tr><td colspan="2">Timings:</td> </tr> <tr><td>Monday to Friday</td><td>8:00AM to 8:00 PM</td></tr> <tr><td>Saturday to Sunday</td><td>8:00AM to 4:00 PM</td></tr> <tr><td colspan="2"></td> </tr> <tr><th colspan="2" align="center">E-Mail US</th></tr> <tr><td colspan="2">HDFC_care@HDFCbank.com</td></tr> </table> </asp:Content>

156

Defaults.aspx
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </asp:Content> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <h2>Welcome to HDFC Online banking</h2> <br /> <table> <tr> <th>Introduction </th> </tr> <tr> <td> <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/logo_hdfcbank.gif" /> </td> </tr> <tr> <td> HDFC Bank Limited (BSE: 500180, NSE: HDFCBANK, NYSE: HDB) is an Indian financial services company based in Mumbai, Maharashtra that was incorporated in August 1994. HDFC Bank is the fifth or sixth largest bank in India by assets and the first largest bank by market capitalization as of November 1, 2012. The bank was promoted by the Housing Development Finance Corporation, a premier housing finance company (set up in 1977) of India.</td></tr> <tr> <td>As on December 2012, HDFC Bank has 2,776 branches and 10,490 ATMs, in 1,399 cities in India, and all branches of the bank are linked on an online real-time basis. As of December 2012 the bank had balance sheet size of Rs. 3837 billion. For the fiscal year 2011-12, the bank has reported net profit of 5167.07 crore (US$950 million), up 31.6% from the previous fiscal.</td></tr> <tr> <td>On March 14, 2013 an online magazine named Cobrapost.com released video footage from Operation Red Spider showing high ranking officials and some employees of HDFC bank willing to turn black money into white which is violation of Money Laundering Control Act. After this The government of India and Reserve Bank of India have ordered an inquiry</td></tr></table><br /> </asp:Content>

157

Emp_details.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="emp_details.aspx.cs" Inherits="emp_details" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { color: #FFFFFF; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Employees Details</h1> <table> <tr><th colspan="4">Welcome to Employee Details Page</th></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Personal Details</strong></td></tr> <tr><td colspan="4" align="right"> <asp:HyperLink ID="HyperLink1" runat="server" BackColor="#006699" Font-Bold="True" Font-Underline="False" ForeColor="White" NavigateUrl="~/Default.aspx">Log Out</asp:HyperLink></td></tr> <tr><td colspan="2"><asp:Label ID="Label12" runat="server" Text="Employee ID:"></asp:Label></td> <td colspan="2"><asp:TextBox ID="TextBox9" runat="server"></asp:TextBox> </td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label1" runat="server" Text="First Name: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> </td> <td><asp:Label ID="Label2" runat="server" Text="Last Name: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox> </td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label3" runat="server" Text="Father's Name: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox> </td> <td><asp:Label ID="Label4" runat="server" Text="Department: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox> </td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label5" runat="server" Text="Designation:" Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox> </td> <td><asp:Label ID="Label6" runat="server" Text="Education Qualification: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox> </td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label7" runat="server" Text="Marital Status:" Width="120"></asp:Label></td> <td><asp:DropDownList ID="DropDownList1" runat="server" Width="150px" DataSourceID="XmlDataSource1" DataTextField="ddlText" DataValueField="ddlText"> </asp:DropDownList>

158

<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/maritalstatus.xml"></asp:XmlDataSource> </td> <td><asp:Label ID="Label8" runat="server" Text="Gender: " Width="120"></asp:Label></td> <td><asp:DropDownList ID="DropDownList2" runat="server" Width="150px" DataSourceID="gndr" DataTextField="ddlText" DataValueField="ddlText"> </asp:DropDownList> <asp:XmlDataSource ID="gndr" runat="server" DataFile="~/gender.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label9" runat="server" Text="Address: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox7" runat="server" Height="52px" TextMode="MultiLine" Width="193px"></asp:TextBox> </td> <td><asp:Label ID="Label10" runat="server" Text="Contact No: " Width="120"></asp:Label></td> <td><asp:TextBox ID="TextBox8" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td> <asp:Button ID="Button1" runat="server" Text="Edit" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="150px" onclick="Button1_Click" /></td> <td><asp:Button ID="Button2" runat="server" Text="Cancel" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="150px" onclick="Button2_Click" /></td> <td><asp:Button ID="Button3" runat="server" Text="Save" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="150px" onclick="Button3_Click" /></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"><asp:Label ID="Label11" runat="server" Text=""></asp:Label> </td></tr> </table> <br /> <br /> </asp:Content>

159

Emp_login
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Emp_login.aspx.cs" Inherits="Emp_login" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Employee Login</h1> <table> <tr><th align="center" colspan="2">Welcome TO Employee Login Page</th></tr> <tr><td><asp:Label ID="Label1" runat="server" Text="Employee ID" Width="150px" Font-Bold="True"></asp:Label> </td> <td><asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td></td><td></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="Password" Width="150px" Font-Bold="True"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px" TextMode="Password"></asp:TextBox></td></tr> <tr><td></td><td></td></tr> <tr> <td><asp:Button ID="Button1" runat="server" Text="Login" BackColor="#336699" Font-Bold="True" ForeColor="White" onclick="Button1_Click" Width="150px" /></td> <td><asp:Button ID="Button2" runat="server" Text="Clear" BackColor="#336699" Font-Bold="True" ForeColor="White" onclick="Button2_Click" Width="150px" /> </td></tr> <tr><td></td><td></td></tr> <tr><td colspan="2" align="center"><asp:Label ID="Label3" runat="server" ForeColor="#CC3300" Font-Size="14px" Width="250px"></asp:Label> </td></tr> <tr><td></td><td></td></tr> <tr><td colspan="2"></td></tr> </table> </asp:Content>

160

Emp_pay.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="emp_pay.aspx.cs" Inherits="emp_pay" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { color: #FFFFFF; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Employee Payroll</h1> <table> <tr><th colspan="4">Welcome to Employee Payroll Page</th></tr> <tr><td colspan="4"><asp:HyperLink ID="HyperLink1" runat="server" BackColor="#006699" Font-Bold="True" Font-Underline="False" ForeColor="White" NavigateUrl="~/Default.aspx">Log Out</asp:HyperLink></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Payroll Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="2"><asp:Label ID="Label1" runat="server" Text="Employee ID:" Width="150px"></asp:Label></td><td></td> <td colspan="2"><asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> </td><td></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="Basic Salary:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label3" runat="server" Text="HRA:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label4" runat="server" Text="DA:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label5" runat="server" Text="TA:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label6" runat="server" Text="Total Salary:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label7" runat="server" Text="Income Tax:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label8" runat="server" Text="PF:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox8" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label9" runat="server" Text="Net Salary:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox9" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr>

161

<tr><td><asp:Label ID="Label10" runat="server" Text="Salary Month:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList1" runat="server" Width="150px" DataSourceID="months" DataTextField="ddlText" DataValueField="ddlValue"> </asp:DropDownList> <asp:XmlDataSource ID="months" runat="server" DataFile="~/months.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="4"></td></tr> <tr><td> <asp:Button ID="Button1" runat="server" Text="Edit" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="150px" onclick="Button1_Click" /></td> <td><asp:Button ID="Button2" runat="server" Text="Cancel" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="150px" onclick="Button2_Click" /></td> <td><asp:Button ID="Button3" runat="server" Text="Save" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="150px" onclick="Button3_Click" /></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"><asp:Label ID="Label11" runat="server" Text=""></asp:Label> </td></tr> </table> </asp:Content>

162

Empmnt.xml
<?xml version="1.0" encoding="utf-8" ?> <emp_type> <Item ddlValue="1" ddlText="Select Employment Type"/> <Item ddlValue="2" ddlText="Salaried"/> <Item ddlValue="3" ddlText="Self-Employed"/> </emp_type>

163

Empanel.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Emppanel.aspx.cs" Inherits="Emppanel" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { color: #000099; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1 class="style2"><strong>Employees Panel</strong></h1> <table><tr><th colspan="2">Welcome to Emplyee Panel</th></tr> <tr><td><asp:ImageButton ID="ImageButton1" runat="server" Height="50px" ImageUrl="~/Images/emp_det.jpg" Width="50px"/> </td> <td valign="bottom"><asp:HyperLink ID="HyperLink1" runat="server" FontBold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/emp_details.aspx">Employee Details</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows the Employees to See their Personal Details.</td></tr> <tr><td><asp:ImageButton ID="ImageButton2" runat="server" Height="50px" ImageUrl="~/Images/emp_pay.jpg" PostBackUrl="~/emp_pay.aspx" Width="50px"/> </td> <td valign="bottom"><asp:HyperLink ID="HyperLink2" runat="server" FontBold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/emp_pay.aspx">Employee Payroll</asp:HyperLink> </td></tr> <tr><td colspan="2">This Link Allows the Employees to See their Payroll Details.</td></tr> </table> <br /> <br /> </asp:Content>

164

FAQs
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="FAQs.aspx.cs" Inherits="FAQs" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h2>FAQ's</h2> <table><tr><td>Frequently Asked Question's</td></tr></table> <table> <tr><th align="left">Can I get the benefit of Verified by Visa/ MasterCard SecureCode security at online stores that are not participating in the service?</th></tr> <tr><td>No. you can only get the benefits of Verified by Visa/ MasterCard SecureCode at the participating online stores. However a number of online stores have the service available to them. In the meantime, if an online stores you trust is not yet participating; you can perform the transaction using NetSafe.</td></tr> <tr><th align="left">Must I open an account in each location where I have my company office?</th></tr> <tr><td>No. As a Premium Current Account holder you have the advantage of a single account, multi-location banking facility.</td></tr> <tr><th align="left">What is the rate of interest I will earn on the balance in my Savings Account?</th></tr> <tr><td>Interest on a Savings Account is paid at 4.00% p.a. on a daily end of day balance, w.e.f. May 3, 2011.</td></tr> <tr><th align="left">What is the frequency of interest pay-out?</th></tr> <tr><td>Interest earned on your Savings Account balance shall be credited to your account on a half yearly basis in the months ended September and March.</td></tr> <tr><th align="left">What happens if I don't use my savings account for a very long time?</th></tr> <tr><td>The account becomes dormant if there are no customer initiated transactions (excludes system generated transactions like credit interest, debit interest), in the account for a continuous period of two years. If the account status is 'Dormant', transactions through Direct Banking Channels like ATM, NetBanking, PhoneBanking are not be allowed by the Bank.</td></tr> <tr><th align="left">What are the documents required to open a Savings Account?</th></tr> <tr><td>To open a Savings Account you have to:</td></tr> <tr><td>1. Submit your identity proof and address proof along with your latest passport size photographs.</td></tr> <tr><td>2.Submit self-attested copies and originals for verification</td></tr> <tr><th align="left">How long can the tenure of my loan be?</th></tr> <tr><td>Usually the tenure of an Auto Loan is 3 to 7 years. The tenure also depends on the type of car you wish to purchase. If it is a super premium car the tenure is restricted to 3 years only. In addition, the higher your tenure is the lower your EMI will be, but the total interest outflow is higher.</td></tr> <tr><th align="left">What documents do I need to submit after the loan amount is disbursed?</th></tr> <tr><td>You can keep the original car documents, registration certificate, insurance policy and tax papers with you; but you need to submit photocopies of these documents to the bank.</td></tr> <tr><td></td></tr></table> <br /> </asp:Content>

165

Gender.xml
<?xml version="1.0" encoding="utf-8" ?> <gender> <Item ddlValue="1" ddlText="Male"/> <Item ddlValue="1" ddlText="Female"/> </gender>

166

Site.css
/* DEFAULTS ----------------------------------------------------------*/ body { background: #b6b7bc; font-size: .80em; font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif; margin: 0px; padding: 0px; color: #696969; } a:link, a:visited { color: #034af3; } a:hover { color: #1d60ff; text-decoration: none; } a:active { color: #034af3; } p { margin-bottom: 10px; line-height: 1.6em; height: 8px; }

/* HEADINGS ----------------------------------------------------------*/ h1, h2, h3, h4, h5, h6 { font-size: 1.5em; color: #666666; font-variant: small-caps; text-transform: none; font-weight: 200; margin-bottom: 0px; } h1 { font-size: 1.6em; padding-bottom: 0px; margin-bottom: 0px; text-align:center; } h2

167

{ font-size: 1.5em; font-weight: 600; } h3 { font-size: 1.2em; } h4 { font-size: 1.1em; } h5, h6 { font-size: 1em; } /* this rule styles <h1> and <h2> tags that are the first child of the left and right table columns */ .rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 { margin-top: 0px; }

/* PRIMARY LAYOUT ELEMENTS ----------------------------------------------------------*/ .page { width: 960px; background-color: #fff; margin: 20px auto 0px auto; border: 1px solid #496077; } .header { position: relative; margin: 0px; padding: 0px; background: #4b6c9e; width: 100%; } .header h1 { font-weight: 700; margin: 0px; padding: 0px 0px 0px 20px; color: #f9f9f9; border: none; line-height: 2em; font-size: 2em; } .main { padding: 0px 12px;

168

margin:12px 8px 8px 20px inherit; min-height: 500px; } .leftCol { padding: 6px 0px; margin: 12px 8px 8px 8px; width: 200px; min-height: 200px; } .footer { color: #4e5766; padding: 8px 0px 0px 0px; margin: 0px auto; text-align: center; line-height: normal; }

/* TAB MENU ----------------------------------------------------------*/ div.hideSkiplink { background-color:#3a4f63; width:100%; } div.menu { padding: 4px 0px 4px 8px; } div.menu ul { list-style: none; margin: 0px; padding: 0px; width: auto; } div.menu ul li a, div.menu ul li a:visited { background-color: #465c71; border: 1px #4e667d solid; color: #dde4ec; display: block; line-height: 1.35em; padding: 4px 20px; text-decoration: none; white-space: nowrap; } div.menu ul li a:hover { background-color: #bfcbd6; color: #465c71; text-decoration: none;

169

} div.menu ul li a:active { background-color: #465c71; color: #cfdbe6; text-decoration: none; } /* FORM ELEMENTS ----------------------------------------------------------*/ fieldset { margin: 1em 0px; padding: 1em; border: 1px solid #ccc; } fieldset p { margin: 2px 12px 10px 10px; } fieldset.login label, fieldset.register label, fieldset.changePassword label { display: block; } fieldset label.inline { display: inline; } legend { font-size: 1.1em; font-weight: 600; padding: 2px 4px 8px 4px; } input.textEntry { width: 320px; border: 1px solid #ccc; } input.passwordEntry { width: 320px; border: 1px solid #ccc; } div.accountInfo { width: 42%; } /* MISC ----------------------------------------------------------*/ .clear

170

{ clear: both; } .title { display: block; float: left; text-align: left; width: auto; } .loginDisplay { font-size: 1.1em; display: block; text-align: right; padding: 10px; color: White; } .loginDisplay a:link { color: white; } .loginDisplay a:visited { color: white; } .loginDisplay a:hover { color: white; } .failureNotification { font-size: 1.2em; color: Red; } .bold { font-weight: bold; } .submitButton { text-align: right; padding-right: 10px; } .left { float:left; margin-left:0px; width: 14em; margin-right:10px; padding-bottom:20px; }

171

.right { padding-left:10px; padding-top: 0em; padding-right: 1em; margin-left: 57em; width:14em; } .middle { padding-top:1em; padding:4px 0 0; margin-left:15em; vertical-align:middle; width: 727px; position:absolute; top: 153px; left: 63px; height: 234px; }

172

Global.asax
<%@ Application Language="C#" %> <script runat="server"> void Application_Start(object sender, EventArgs e) { // Code that runs on application startup } void Application_End(object sender, EventArgs e) { // Code that runs on application shutdown } void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs } void Session_Start(object sender, EventArgs e) { // Code that runs when a new session is started } void Session_End(object sender, EventArgs e) { // Code that runs when a session ends. // Note: The Session_End event is raised only when the sessionstate mode // is set to InProc in the Web.config file. If session mode is set to StateServer // or SQLServer, the event is not raised. } </script>

173

Homeloan.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="homeloan.aspx.cs" Inherits="homeloan" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Home Loan</h1> <table> <tr><th colspan="2" align="center">HDFC Bank Online Home Loan Application Form</th></tr> <tr><td colspan="2"></td></tr> <tr><td colspan="2">Thank You for you interest in HDFC Home Loans. Provide your complete details & we will get in touch with you shortly.</td></tr> <tr><td colspan="2"></td></tr> <tr><td colspan="2">Please Remember Your Application Number for further Queries.</td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label1" runat="server" Text="Application Number" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox1" runat="server" Width="150px" ReadOnly="True"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="First Name" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label3" runat="server" Text="Last Name" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label4" runat="server" Text="Date of Birth" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label5" runat="server" Text="E-Mail ID" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label6" runat="server" Text="Mobile Number" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label7" runat="server" Text="City" Width="150px"></asp:Label></td> <td> <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="city" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="city" runat="server" DataFile="~/city.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label8" runat="server" Text="Office Phone" Width="150px"></asp:Label></td>

174

<td><asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label9" runat="server" Text="Home Phone" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox8" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label10" runat="server" Text="Occupation" Width="150px"></asp:Label></td> <td> <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="ocptn" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="ocptn" runat="server" DataFile="~/occptn.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label11" runat="server" Text="Monthly Income" Width="150px"></asp:Label></td> <td> <asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="income" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="income" runat="server" DataFile="~/salary.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label12" runat="server" Text="Are you existing HDFC Account Holder?" Width="150px"></asp:Label></td> <td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="150px"> <asp:ListItem>Yes</asp:ListItem> <asp:ListItem>No</asp:ListItem> </asp:RadioButtonList> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label13" runat="server" Text="Laon Amount Required" Width="150px"></asp:Label></td> <td> <asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="loan" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="loan" runat="server" DataFile="~/laon_amnt.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label14" runat="server" Text="Loan Tenure(In Years)" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox9" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label15" runat="server" Text="Property Identified?" Width="150px"></asp:Label></td> <td><asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal" Width="150px"> <asp:ListItem>Yes</asp:ListItem> <asp:ListItem>No</asp:ListItem> </asp:RadioButtonList> </td></tr> <tr><td colspan="2"></td></tr> <tr><td colspan="2" align="center">

175

<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/sbmt.gif" Width="70px" onclick="ImageButton1_Click" /></td></tr> </table> <br /> <br /> </asp:Content>

176

Loan_amnt.xml
<?xml version="1.0" encoding="utf-8" ?> <loan> <Item ddlValue="1" ddlText="Less Than 1 Lakh"/> <Item ddlValue="1" ddlText=" 1-2 Lakhs"/> <Item ddlValue="1" ddlText="2-5 Lakhs"/> <Item ddlValue="1" ddlText="5-10 Lakhs"/> <Item ddlValue="1" ddlText="10-15 Lakhs"/> <Item ddlValue="1" ddlText="15-20 Laksh"/> <Item ddlValue="1" ddlText="More Than 20 Lakhs"/> </loan>

177

Loanpanel.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Loan_panel.aspx.cs" Inherits="Loan_panel" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Loan Panel</h1> <table> <tr><th colspan="2">Welcome To the Loan Panel of HDFC Bank</th></tr> <tr><td><asp:ImageButton ID="ImageButton2" runat="server" Height="50px" ImageUrl="~/Images/home_loan.jpg" Width="50px" PostBackUrl="~/homeloan.aspx" /></td> <td valign="bottom"><asp:HyperLink ID="HyperLink2" runat="server" FontBold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/homeloan.aspx">Home Loans</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Home Loans Requests.</td></tr> <tr><td> <asp:ImageButton ID="ImageButton3" runat="server" Height="50px" ImageUrl="~/Images/pers_loan.jpg" PostBackUrl="~/personal_laon.aspx" Width="50px" /> </td><td valign="bottom"> <asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/personal_laon.aspx">Personal Loans</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Personal Loans Requests.</td></tr> <tr><td> <asp:ImageButton ID="ImageButton4" runat="server" Height="50px" ImageUrl="~/Images/AutoLoan.gif" PostBackUrl="~/Auto_loan.aspx" Width="50px" /> </td><td valign="bottom"> <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/Auto_loan.aspx">Auto Loans</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Auto Loans Requests.</td></tr> </table> </asp:Content>

178

Maritalstatus.xml
<?xml version="1.0" encoding="utf-8" ?> <marital_status> <Item ddlValue="1" ddlText="Married"/> <Item ddlValue="1" ddlText="Single"/> <Item ddlValue="1" ddlText="Widow"/> <Item ddlValue="1" ddlText="Divorced"/> <Item ddlValue="1" ddlText="Engaged"/> </marital_status>

179

Months.aspx
<?xml version="1.0" encoding="utf-8" ?> <month> <Item ddlValue="1" ddlText="January"/> <Item ddlValue="2" ddlText="February"/> <Item ddlValue="3" ddlText="March"/> <Item ddlValue="4" ddlText="April"/> <Item ddlValue="5" ddlText="May"/> <Item ddlValue="6" ddlText="June"/> <Item ddlValue="7" ddlText="July"/> <Item ddlValue="8" ddlText="August"/> <Item ddlValue="9" ddlText="September"/> <Item ddlValue="10" ddlText="October"/> <Item ddlValue="11" ddlText="November"/> <Item ddlValue="12" ddlText="December"/> </month>

180

Occptn.aspx
<?xml version="1.0" encoding="utf-8" ?> <occupation> <Item ddlValue="1" ddlText="Select Your Occupation"/> <Item ddlValue="1" ddlText="Salaried(MNC)"/> <Item ddlValue="1" ddlText="Salaried(Pvt. Ltd."/> <Item ddlValue="1" ddlText="Salaried(Public Ltd.)"/> <Item ddlValue="1" ddlText="Salaried(State Govt. Org)"/> <Item ddlValue="1" ddlText="Professional"/> <Item ddlValue="1" ddlText="Others"/> <Item ddlValue="1" ddlText="Bussinessman"/> </occupation>

181

Personal_loan.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="personal_laon.aspx.cs" Inherits="personal_laon" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> <style type="text/css"> .style2 { color: #FFFFFF; } </style> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Personal Loan</h1> <br /> <table> <tr><th colspan="4">Credit Card Request Page</th></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Personal Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="2"><asp:Label ID="Label1" runat="server" Text="Appplication Number:" Width="150px"></asp:Label></td><td colspan="2"> <asp:TextBox ID="TextBox1" runat="server" Width="150px" ReadOnly="True"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="First Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label3" runat="server" Text="Last Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label4" runat="server" Text="Date of Birth:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label5" runat="server" Text="Years at Current Residence:" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="resi_yr" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="resi_yr" runat="server" DataFile="~/crnt_resi_yr.xml"> </asp:XmlDataSource></td></tr> <tr><td><asp:Label ID="Label6" runat="server" Text="City" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="city" Width="150px" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="city" runat="server" DataFile="~/city.xml"> </asp:XmlDataSource></td> <td><asp:Label ID="Label10" runat="server" Text="Are you an existing HDFC Account Holder?" Width="150px"></asp:Label></td> <td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="150px"> <asp:ListItem>Yes</asp:ListItem> <asp:ListItem>No</asp:ListItem> </asp:RadioButtonList>

182

</td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Contact Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label7" runat="server" Text="E-Mail:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox></td> <td><asp:Label ID="Label8" runat="server" Text="Phone No:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td><asp:Label ID="Label9" runat="server" Text="Mobile:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="4"></td></tr> <tr bgcolor="#336699"><td colspan="4" class="style2" align="center"><strong>Employment Details</strong></td></tr> <tr><td colspan="4"></td></tr> <tr><td><asp:Label ID="Label11" runat="server" Text="Occupation" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList3" runat="server" Width="150px" DataSourceID="occptn" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="occptn" runat="server" DataFile="~/occptn.xml"> </asp:XmlDataSource></td> <td><asp:Label ID="Label12" runat="server" Text="Company Name:" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox8" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td><asp:Label ID="Label13" runat="server" Text="Years in Current Company" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList4" runat="server" Width="150px" DataSourceID="resi_yr" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList></td> <td><asp:Label ID="Label14" runat="server" Text="Current Salary(Take Home)" Width="150px"></asp:Label></td> <td><asp:DropDownList ID="DropDownList5" runat="server" Width="150px" DataSourceID="salry" DataTextField="ddlText" DataValueField="ddlValue"></asp:DropDownList> <asp:XmlDataSource ID="salry" runat="server" DataFile="~/salary.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"><asp:CheckBox ID="CheckBox1" runat="server" Text="I Authorize HDFC Bank to call me Or SMS me with reference to my Application." /></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="4"></td></tr> <tr><td colspan="2" align="center"><asp:Button ID="Button1" runat="server" Text="Submit" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="120px" onclick="Button1_Click" /></td> <td colspan="2" align="center"><asp:Button ID="Button2" runat="server" Text="Reset" BackColor="#006699" Font-Bold="True" ForeColor="White" Width="120px" onclick="Button2_Click" /></td></tr> </table>

183

<br /> <br /> </asp:Content>

184

Response.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="response.aspx.cs" Inherits="response" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Request Submitted Successfully</h1> <table><tr><th>We will Contact you Shortly in reference to your application Request.</th></tr> <tr><td>&nbsp;</td></tr> <tr><td>For Any Future Queries related to Your Application please contact our <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/cstmr_care.aspx">Customer Care</asp:HyperLink> </td></tr></table> </asp:Content>

185

Salary.xml
<?xml version="1.0" encoding="utf-8" ?> <net_sal> <Item ddlValue="1" ddlText="Monthly Net Salary"/> <Item ddlValue="1" ddlText="Less than 14000"/> <Item ddlValue="1" ddlText="14000-19999"/> <Item ddlValue="1" ddlText="20000-24999"/> <Item ddlValue="1" ddlText="25000-29999"/> <Item ddlValue="1" ddlText="30000-44999"/> <Item ddlValue="1" ddlText="45000-60000"/> <Item ddlValue="1" ddlText="More than 60000"/> </net_sal>

186

Saving_account.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Saving_account.aspx.cs" Inherits="Saving_account" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Saving Account</h1> <table> <tr><th colspan="2" align="center">HDFC Bank Regular Saving Account Application Form</th></tr> <tr><td colspan="2">Thank you for your interest in HDFC Bank Regular Saving Account. Please Leave your details & we will get in touch with you shortly.</td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label1" runat="server" Text="Application Number" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox1" runat="server" Width="150px" ReadOnly="True"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label2" runat="server" Text="Title" Width="150px"></asp:Label></td><td> <asp:DropDownList ID="DropDownList1" runat="server" Width="150px"> <asp:ListItem>Please Select</asp:ListItem> <asp:ListItem>Mr.</asp:ListItem> <asp:ListItem>Mrs.</asp:ListItem> <asp:ListItem>Miss</asp:ListItem> <asp:ListItem>Dr.</asp:ListItem> </asp:DropDownList> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label3" runat="server" Text="First Name" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox2" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label4" runat="server" Text="Last Name" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label5" runat="server" Text="City" Width="150px"></asp:Label></td> <td> <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="city" DataTextField="ddlText" DataValueField="ddlValue" Width="150px"> </asp:DropDownList> <asp:XmlDataSource ID="city" runat="server" DataFile="~/city.xml"> </asp:XmlDataSource> </td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label6" runat="server" Text="Nearest Branch" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label7" runat="server" Text="Mobile Number" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox></td></tr>

187

<tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label8" runat="server" Text="Phone Number" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td><asp:Label ID="Label9" runat="server" Text="Email ID" Width="150px"></asp:Label></td> <td><asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td colspan="2" align="center"> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/submit.jpg" onclick="ImageButton1_Click" /></td></tr> </table> <br /> <br /> </asp:Content>

188

Services.aspx

189

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Services.aspx.cs" Inherits="Services" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h2> &nbsp;Product &amp; Services</h2> <table> <tr><td><asp:ImageButton ID="ImageButton1" runat="server" Height="50px" ImageUrl="~/Images/savings.jpg" Width="50px" PostBackUrl="~/Saving_account.aspx" /></td><td valign="bottom"> <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" FontUnderline="False" ForeColor="Black" NavigateUrl="~/Saving_account.aspx">Saving Accounts</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Saving Account Requests.</td></tr> <tr><td><asp:ImageButton ID="ImageButton2" runat="server" Height="50px" ImageUrl="~/Images/home_loan.jpg" Width="50px" PostBackUrl="~/homeloan.aspx" /></td> <td valign="bottom"><asp:HyperLink ID="HyperLink2" runat="server" FontBold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/homeloan.aspx">Home Loans</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Home Loans Requests.</td></tr> <tr><td> <asp:ImageButton ID="ImageButton3" runat="server" Height="50px" ImageUrl="~/Images/pers_loan.jpg" PostBackUrl="~/personal_laon.aspx" Width="50px" /> </td><td valign="bottom"> <asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/personal_laon.aspx">Personal Loans</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Personal Loans Requests.</td></tr> <tr><td> <asp:ImageButton ID="ImageButton4" runat="server" Height="50px" ImageUrl="~/Images/AutoLoan.gif" PostBackUrl="~/Auto_loan.aspx" Width="50px" /> </td><td valign="bottom"> <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" Font-Underline="False" ForeColor="Black" NavigateUrl="~/Auto_loan.aspx">Auto Loans</asp:HyperLink></td></tr> <tr><td colspan="2">This Link Allows you to Apply Online for Auto Loans Requests.</td></tr> </table> <br /> <br /> </asp:Content>

190

Site.master
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.master.cs" Inherits="SiteMaster" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head runat="server"> <title></title> <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" /> <asp:ContentPlaceHolder ID="HeadContent" runat="server"> </asp:ContentPlaceHolder> <style type="text/css"> .style1 { width: 159px; height: 32px; margin-top:12px; vertical-align:middle ; } </style> </head> <body> <form runat="server"> <div class="page"> <div class="header"> <div class="title"> <h1> <img alt="logo" class="style1" src="Images/logo.png" />&nbsp;&nbsp;&nbsp; HDFC Online Banking</h1> </div> <div class="loginDisplay"> <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false"> <AnonymousTemplate> <asp:Button ID="Button1" runat="server" Text="Login" Width="100px" /> </AnonymousTemplate> <LoggedInTemplate> Welcome <span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>! [ <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/> ] </LoggedInTemplate> </asp:LoginView> </div> <div class="clear hideSkiplink"> <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal"> <Items> <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/> <asp:MenuItem Text="Products" Value="Products" NavigateUrl="~/Services.aspx"> <asp:MenuItem Text="Saving Accounts" Value="Accounts" NavigateUrl="~/Saving_account.aspx"> </asp:MenuItem> <asp:MenuItem Text="Loans" Value="Loans" NavigateUrl="~/Loan_panel.aspx"></asp:MenuItem>

191

<asp:MenuItem Text="Banking" Value="Banking"></asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="Employees" Value="Employees"> <asp:MenuItem Text="Employee Details" Value="Employee Details" NavigateUrl="~/Emp_login.aspx"></asp:MenuItem> <asp:MenuItem Text="Employee Payroll" Value="Employee Payroll" NavigateUrl="~/Emp_login.aspx"></asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="Apply Now" Value="Apply Now"> <asp:MenuItem Text="Saving Account" Value="Saving Account" NavigateUrl="~/Saving_account.aspx"></asp:MenuItem> <asp:MenuItem Text="Personal Loan" Value="Personal Loan" NavigateUrl="~/personal_laon.aspx"></asp:MenuItem> <asp:MenuItem Text="Auto Loan" Value="Auto Loan" NavigateUrl="~/Auto_loan.aspx"></asp:MenuItem> <asp:MenuItem Text="Home Loan" Value="Home Loan" NavigateUrl="~/homeloan.aspx"></asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="About" Value="About" NavigateUrl="~/About.aspx"></asp:MenuItem> <asp:MenuItem NavigateUrl="~/cstmr_care.aspx" Text="Cutomer Care" Value="Cutomer Care"></asp:MenuItem> <asp:MenuItem Text="FAQ's" Value="FAQ's" NavigateUrl="~/FAQs.aspx"></asp:MenuItem> </Items> </asp:Menu> </div> </div>

<div class="left"; style="width: 189px; height: 203px;";> <asp:Panel ID="Panel2" runat="server" BackColor="#336699" GroupingText="Sidebar Menu" Forecolor="White" style="z-index: 1; left: 73px; top: 161px; height: 228px; width: 188px"> <asp:HyperLink ID="HyperLink1" runat="server" Width="160px" FontBold="True" Font-Size="Medium" Font-Underline="False" ForeColor="White" NavigateUrl="~/Default.aspx">Home</asp:HyperLink><br /> <br /> <asp:HyperLink ID="HyperLink2" Width="160px" Font-Bold="True" Font-Size="14px" runat="server" Font-Underline="False" ForeColor="White" NavigateUrl="~/Services.aspx">Services</asp:HyperLink><br /> <br /><asp:HyperLink ID="HyperLink3" Width="160px" Font-Bold="true" Font-Size="14px" runat="server">Apply Now</asp:HyperLink><br /> <br /><asp:HyperLink ID="HyperLink4" Width="160px" Font-Bold="True" Font-Size="14px" runat="server" Font-Underline="False" ForeColor="White" NavigateUrl="~/About.aspx">About US</asp:HyperLink><br /> <br /><asp:HyperLink ID="HyperLink5" Width="160px" Font-Bold="True" Font-Size="14px" runat="server" Font-Underline="False" ForeColor="White" NavigateUrl="~/Careers.aspx">Careers</asp:HyperLink><br /> </asp:Panel>

192

</div> <div class="main"> <asp:ContentPlaceHolder ID="MainContent" runat="server"/> </div> <div class="clear"> <marquee> @2013 HDFC Bank Limited. All Right Reserved</marquee></div> </div> <div class="footer"> </div> </form> </body> </html>

193

Transaction.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="transaction.aspx.cs" Inherits="Login" %> <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> <h1>Transaction</h1> <table> <tr><th colspan="2">Create Transaction Request</th></tr> <tr><td colspan="2"></td></tr> <tr><td>Request Code: </td><td><asp:TextBox ID="TextBox1" runat="server" Width="215px"></asp:TextBox> </td></tr> <tr><td colspan="2"></td></tr> <tr><td>I Want to :</td><td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="150px"> <asp:ListItem>Transfer</asp:ListItem> <asp:ListItem>Withdraw</asp:ListItem> <asp:ListItem>Deposit</asp:ListItem> </asp:RadioButtonList> </td></tr> <tr><td colspan="2"></td></tr> <tr><td>From Account: </td><td><asp:TextBox ID="TextBox2" runat="server" Width="215px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td>To Account: </td><td><asp:TextBox ID="TextBox3" runat="server" Width="215px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td>Amount: </td><td><asp:TextBox ID="TextBox4" runat="server" Width="215px"></asp:TextBox></td></tr> <tr><td colspan="2"></td></tr> <tr><td colspan="2" align="center"> <asp:Button ID="Button1" runat="server" Text="Submit" BackColor="#006699" ForeColor="White" Width="120px" onclick="Button1_Click" /></td></tr> <tr><td colspan="2"></td></tr> <tr><td colspan="2"></td></tr> </table> </asp:Content>

194

C # Code

195

Auto_loan.aspx.cs
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data.SqlClient; System.Data;

public partial class Auto_loan : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { for (Int32 x = 0; x <= 50; x++) { TextBox1.Text = GetRandomString(x); } } public string GetRandomString(int seed) { const string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random rnd = new Random((seed + DateTime.Now.Millisecond)); string result = rnd.Next(10000, 99999).ToString(); string alphaChar = alphabet.Substring(rnd.Next(0, alphabet.Length - 1), 1); int replacementIndex = rnd.Next(0, (result.Length - 1)); result = result.Remove(replacementIndex, 1).Insert(replacementIndex, alphaChar); return result; } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("insert into vehicle_loan(appl_no,f_name,l_name,dob,yrs_at_crnt_resi,city,hav_hdfc_acc,e_mai l,ph_no,mob,applying_for,occupation,comp_name,yrs_in_crnt_comp,net_sal) values (@appl_no,@f_name,@l_name,@dob,@yrs_at_crnt_resi,@city,@hav_hdfc_acc,@e_mail,@p h_no,@mob,@applying_for,@occupation,@comp_name,@yrs_in_crnt_comp,@net_sal)", con); cmd.CommandType = System.Data.CommandType.Text; cmd.Parameters.Add("@appl_no", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@f_name", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@l_name", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@dob", SqlDbType.Date).Value = TextBox4.Text; cmd.Parameters.Add("@yrs_at_crnt_resi", SqlDbType.VarChar).Value = DropDownList1.Text; cmd.Parameters.Add("@city", SqlDbType.VarChar).Value = DropDownList2.Text; cmd.Parameters.Add("@hav_hdfc_acc", SqlDbType.VarChar).Value = RadioButtonList1.SelectedItem.Text; cmd.Parameters.Add("@e_mail", SqlDbType.VarChar).Value = TextBox5.Text; cmd.Parameters.Add("@ph_no", SqlDbType.VarChar).Value = TextBox6.Text; cmd.Parameters.Add("@mob", SqlDbType.VarChar).Value = TextBox7.Text; cmd.Parameters.Add("@applying_for", SqlDbType.VarChar).Value = DropDownList6.Text;

196

cmd.Parameters.Add("@occupation", SqlDbType.VarChar).Value = DropDownList3.Text; cmd.Parameters.Add("@comp_name", SqlDbType.VarChar).Value = TextBox8.Text; cmd.Parameters.Add("@yrs_in_crnt_comp", SqlDbType.VarChar).Value = DropDownList4.Text; cmd.Parameters.Add("@net_sal", SqlDbType.VarChar).Value = DropDownList5.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds, "vehicle_loan"); Response.Redirect("response.aspx"); } protected void Button2_Click(object sender, EventArgs e) { TextBox1.ReadOnly = true; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; TextBox5.Text = ""; TextBox6.Text = ""; TextBox7.Text = ""; TextBox8.Text = ""; DropDownList1.SelectedIndex = 0; DropDownList2.SelectedIndex = 0; DropDownList3.SelectedIndex = 0; DropDownList4.SelectedIndex = 0; DropDownList5.SelectedIndex = 0; DropDownList1.SelectedIndex = 0; DropDownList6.SelectedIndex = 0; RadioButtonList1.SelectedValue = null; CheckBox1.Checked = false; } }

197

Crdt_card.aspx.cs
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class crdt_card : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { for (Int32 x = 0; x <= 50; x++) { TextBox1.Text = GetRandomString(x); } } public string GetRandomString(int seed) { const string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random rnd = new Random((seed + DateTime.Now.Millisecond)); string result = rnd.Next(10000, 99999).ToString(); string alphaChar = alphabet.Substring(rnd.Next(0, alphabet.Length - 1), 1); int replacementIndex = rnd.Next(0, (result.Length - 1)); result = result.Remove(replacementIndex, 1).Insert(replacementIndex, alphaChar); return result; } protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { SqlCommand cmd = new SqlCommand("insert into credit_card (appl_no,f_name,l_name,email,dob,resi_city,mob,emplnt_type,comp_nm,monthly_inco me,acc_holder,exstng_card,min_card_limit,add_proof,aplied_bfore) values (@appl_no,@f_name,@l_name,@email,@dob,@resi_city,@mob,@emplnt_type,@comp_nm,@mo nthly_income,@acc_holder,@exstng_card,@min_card_limit,@add_proof,@aplied_bfore) ", con); cmd.CommandType = System.Data.CommandType.Text; cmd.Parameters.Add("@appl_no", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@f_name", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@l_name", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@email", SqlDbType.VarChar).Value = TextBox4.Text; cmd.Parameters.Add("@dob", SqlDbType.Date).Value = TextBox5.Text; cmd.Parameters.Add("@resi_city", SqlDbType.VarChar).Value = DropDownList1.Text; cmd.Parameters.Add("@mob",SqlDbType.VarChar).Value=TextBox6.Text; cmd.Parameters.Add("@emplnt_type", SqlDbType.VarChar).Value = DropDownList2.Text; cmd.Parameters.Add("@comp_nm", SqlDbType.VarChar).Value = TextBox7.Text; cmd.Parameters.Add("@monthly_income", SqlDbType.VarChar).Value = DropDownList3.Text;

198

cmd.Parameters.Add("@acc_holder", SqlDbType.VarChar).Value = RadioButtonList1.SelectedItem.Text; cmd.Parameters.Add("@exstng_card", SqlDbType.VarChar).Value = DropDownList4.Text; cmd.Parameters.Add("@min_card_limit", SqlDbType.VarChar).Value = DropDownList5.Text; cmd.Parameters.Add("@add_proof", SqlDbType.VarChar).Value = DropDownList6.Text; cmd.Parameters.Add("@aplied_bfore", SqlDbType.VarChar).Value = RadioButtonList2.SelectedItem.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds, "credit_card"); Response.Redirect("response.aspx"); } protected void DropDownList4_SelectedIndexChanged(object sender, EventArgs e) { if (DropDownList4.SelectedItem.Text == "None") { DropDownList5.Enabled = false; } else { DropDownList5.Enabled = true; } } }

199

Emp_details.aspx.cs
using using using using using using using using using System; System.Collections; System.Configuration; System.Data; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Data.SqlClient;

public partial class emp_details : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("select * from emp_det", con); SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds); TextBox9.Text = ds.Tables[0].Rows[0]["emp_id"].ToString(); TextBox1.Text = ds.Tables[0].Rows[0]["f_name"].ToString(); TextBox2.Text = ds.Tables[0].Rows[0]["l_name"].ToString(); TextBox3.Text = ds.Tables[0].Rows[0]["fthr_name"].ToString(); TextBox4.Text = ds.Tables[0].Rows[0]["dept"].ToString(); TextBox5.Text = ds.Tables[0].Rows[0]["desg"].ToString(); TextBox6.Text = ds.Tables[0].Rows[0]["ed_qual"].ToString(); DropDownList1.Text = ds.Tables[0].Rows[0]["marital_status"].ToString(); DropDownList2.Text = ds.Tables[0].Rows[0]["gender"].ToString(); TextBox7.Text = ds.Tables[0].Rows[0]["adds"].ToString(); TextBox8.Text = ds.Tables[0].Rows[0]["c_no"].ToString(); TextBox1.ReadOnly = true; TextBox2.ReadOnly = true; TextBox3.ReadOnly = true; TextBox4.ReadOnly = true; TextBox5.ReadOnly = true; TextBox6.ReadOnly = true; TextBox7.ReadOnly = true; TextBox8.ReadOnly = true; TextBox9.ReadOnly = true; DropDownList1.Enabled = false; DropDownList2.Enabled = false; }

protected void Button1_Click(object sender, EventArgs e) { TextBox1.ReadOnly = true; TextBox2.ReadOnly = false; TextBox3.ReadOnly = false; TextBox4.ReadOnly = false; TextBox5.ReadOnly = false; TextBox6.ReadOnly = false; TextBox7.ReadOnly = false; TextBox8.ReadOnly = false; TextBox9.ReadOnly = false; DropDownList1.Enabled = true; DropDownList2.Enabled = true; }

200

protected void Button2_Click(object sender, EventArgs e) { TextBox1.ReadOnly = true; TextBox2.ReadOnly = true; TextBox3.ReadOnly = true; TextBox4.ReadOnly = true; TextBox5.ReadOnly = true; TextBox6.ReadOnly = true; TextBox7.ReadOnly = true; TextBox8.ReadOnly = true; TextBox9.ReadOnly = true; DropDownList1.Enabled = false; DropDownList2.Enabled = false; } protected void Button3_Click(object sender, EventArgs e) { TextBox1.ReadOnly = false; TextBox2.ReadOnly = false; TextBox3.ReadOnly = false; TextBox4.ReadOnly = false; TextBox5.ReadOnly = false; TextBox6.ReadOnly = false; TextBox7.ReadOnly = false; TextBox8.ReadOnly = false; TextBox9.ReadOnly = false; DropDownList1.Enabled = true; DropDownList2.Enabled = true; SqlCommand cmd = new SqlCommand("insert into emp_det(emp_id,f_name,l_name,fthr_name,dept,desg,ed_qual,marital_status,gender, adds,c_no) values(@emp_id,@f_name,@l_name,@fthr_name,@dept,@desg,@ed_qual,@marital_status, @gender,@adds,@c_no)", con); cmd.CommandType = System.Data.CommandType.Text; cmd.Parameters.Add("@emp_id", SqlDbType.VarChar).Value = TextBox9.Text; cmd.Parameters.Add("@f_name", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@l_name", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@fthr_name", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@dept", SqlDbType.VarChar).Value = TextBox4.Text; cmd.Parameters.Add("@desg", SqlDbType.VarChar).Value = TextBox5.Text; cmd.Parameters.Add("@ed_qual", SqlDbType.VarChar).Value = TextBox6.Text; cmd.Parameters.Add("@marital_status", SqlDbType.VarChar).Value = DropDownList1.Text; cmd.Parameters.Add("@gender", SqlDbType.VarChar).Value = DropDownList2.Text; cmd.Parameters.Add("@adds", SqlDbType.VarChar).Value = TextBox7.Text; cmd.Parameters.Add("@c_no", SqlDbType.VarChar).Value = TextBox8.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds, "emp_det"); Label11.Text = "Record Updated Successfull"; } }

201

Emp_login.aspx.cs
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class Emp_login : System.Web.UI.Page { static SqlConnection con=new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { Label3.Text = ""; } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("select * from emp_login where emp_id='" + TextBox1.Text + "'and pass='" + TextBox2.Text + "'", con); SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds); if (ds.Tables[0].Rows.Count == 0) { Label3.Text = "Wrong Login ID or Password"; } else { Response.Redirect("Emppanel.aspx"); } } protected void Button2_Click(object sender, EventArgs e) { TextBox1.Text = ""; TextBox2.Text = ""; } }

202

Emp_pay.aspx.cs
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class emp_pay : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("select * from emp_pay", con); SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds); TextBox1.Text = ds.Tables[0].Rows[0]["emp_id"].ToString(); TextBox2.Text = ds.Tables[0].Rows[0]["b_sal"].ToString(); TextBox3.Text= ds.Tables[0].Rows[0]["hra"].ToString(); TextBox4.Text = ds.Tables[0].Rows[0]["da"].ToString(); TextBox5.Text = ds.Tables[0].Rows[0]["ta"].ToString(); TextBox6.Text = ds.Tables[0].Rows[0]["tot_sal"].ToString(); TextBox7.Text = ds.Tables[0].Rows[0]["IT"].ToString(); TextBox8.Text = ds.Tables[0].Rows[0]["PF"].ToString(); TextBox9.Text = ds.Tables[0].Rows[0]["net_sal"].ToString(); DropDownList1.Text = ds.Tables[0].Rows[0]["sal_month"].ToString(); TextBox1.ReadOnly = true; TextBox2.ReadOnly = true; TextBox3.ReadOnly = true; TextBox4.ReadOnly = true; TextBox5.ReadOnly = true; TextBox6.ReadOnly = true; TextBox7.ReadOnly = true; TextBox8.ReadOnly = true; TextBox9.ReadOnly = true; DropDownList1.Enabled = false; } protected void Button1_Click(object sender, EventArgs e) { TextBox1.ReadOnly = false; TextBox2.ReadOnly = false; TextBox3.ReadOnly = false; TextBox4.ReadOnly = false; TextBox5.ReadOnly = false; TextBox6.ReadOnly = false; TextBox7.ReadOnly = false; TextBox8.ReadOnly = false; TextBox9.ReadOnly = false; DropDownList1.Enabled = true; } protected void Button2_Click(object sender, EventArgs e) { TextBox1.ReadOnly = true; TextBox2.ReadOnly = true; TextBox3.ReadOnly = true; TextBox4.ReadOnly = true; TextBox5.ReadOnly = true;

203

TextBox6.ReadOnly = true; TextBox7.ReadOnly = true; TextBox8.ReadOnly = true; TextBox9.ReadOnly = true; DropDownList1.Enabled = false; } protected void Button3_Click(object sender, EventArgs e) { TextBox1.ReadOnly = false; TextBox2.ReadOnly = false; TextBox3.ReadOnly = false; TextBox4.ReadOnly = false; TextBox5.ReadOnly = false; TextBox6.ReadOnly = false; TextBox7.ReadOnly = false; TextBox8.ReadOnly = false; TextBox9.ReadOnly = false; DropDownList1.Enabled = true; SqlCommand cmd = new SqlCommand("insert into emp_pay(emp_id,b_sal,hra,da,ta,tot_sal,IT,PF,net_sal,sal_month) values (@emp_id,@b_sal,@hra,@da,@ta,@tot_sal,@IT,@PF,@net_sal,@sal_month)", con); cmd.CommandType = System.Data.CommandType.Text; cmd.Parameters.Add("@emp_id", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@b_sal", SqlDbType.BigInt).Value = Int64.Parse(TextBox2.Text); cmd.Parameters.Add("@hra", SqlDbType.Int).Value = Int32.Parse(TextBox3.Text); cmd.Parameters.Add("@da", SqlDbType.Int).Value = Int32.Parse(TextBox4.Text); cmd.Parameters.Add("@ta", SqlDbType.Int).Value = Int32.Parse(TextBox5.Text); cmd.Parameters.Add("@tot_sal", SqlDbType.BigInt).Value = Int64.Parse(TextBox6.Text); cmd.Parameters.Add("@IT", SqlDbType.Int).Value = Int32.Parse(TextBox7.Text); cmd.Parameters.Add("@PF", SqlDbType.Int).Value = Int32.Parse(TextBox8.Text); cmd.Parameters.Add("@net_sal", SqlDbType.BigInt).Value = Int64.Parse(TextBox9.Text); cmd.Parameters.Add("@sal_month", SqlDbType.VarChar).Value = DropDownList1.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds, "emp_pay"); Label11.Text = "Record Updated Successfully"; TextBox1.ReadOnly = true; TextBox2.ReadOnly = true; TextBox3.ReadOnly = true; TextBox4.ReadOnly = true; TextBox5.ReadOnly = true; TextBox6.ReadOnly = true; TextBox7.ReadOnly = true; TextBox8.ReadOnly = true; TextBox9.ReadOnly = true; DropDownList1.Enabled = false; } }

204

Homeloan.aspx.cs
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class homeloan : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { for (Int32 x = 0; x <= 50; x++) { TextBox1.Text = GetRandomString(x); } } public string GetRandomString(int seed) { const string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random rnd = new Random((seed + DateTime.Now.Millisecond)); string result = rnd.Next(10000, 99999).ToString(); string alphaChar = alphabet.Substring(rnd.Next(0, alphabet.Length - 1), 1); int replacementIndex = rnd.Next(0, (result.Length - 1)); result = result.Remove(replacementIndex, 1).Insert(replacementIndex, alphaChar); return result; } protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { SqlCommand cmd = new SqlCommand("insert into home_loan(appl_no,f_name,l_name,dob,email,mob_no,city,off_ph,home_ph,occupation ,monthly_income,existing_cust,loan_amnt,loan_tenure,preperty_identified) values (@appl_no,@f_name,@l_name,@dob,@email,@mob_no,@city,@off_ph,@home_ph,@occupatio n,@monthly_income,@existing_cust,@loan_amnt,@loan_tenure,@preperty_identified)" , con); cmd.CommandType = CommandType.Text; cmd.Parameters.Add("@appl_no", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@f_name", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@l_name", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@dob", SqlDbType.Date).Value = TextBox4.Text; cmd.Parameters.Add("@email", SqlDbType.VarChar).Value = TextBox5.Text; cmd.Parameters.Add("@mob_no", SqlDbType.VarChar).Value = TextBox6.Text; cmd.Parameters.Add("@city", SqlDbType.VarChar).Value = DropDownList2.Text; cmd.Parameters.Add("@off_ph", SqlDbType.VarChar).Value = TextBox7.Text; cmd.Parameters.Add("@home_ph", SqlDbType.VarChar).Value = TextBox8.Text; cmd.Parameters.Add("@occupation", SqlDbType.VarChar).Value = DropDownList1.Text; cmd.Parameters.Add("@monthly_income", SqlDbType.VarChar).Value = DropDownList3.Text;

205

cmd.Parameters.Add("@existing_cust", SqlDbType.VarChar).Value = RadioButtonList1.SelectedItem.Text; cmd.Parameters.Add("@loan_amnt", SqlDbType.VarChar).Value = DropDownList4.Text; cmd.Parameters.Add("@loan_tenure", SqlDbType.VarChar).Value = TextBox9.Text; cmd.Parameters.Add("@preperty_identified", SqlDbType.VarChar).Value = RadioButtonList2.SelectedItem.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds,"home_loan"); Response.Redirect("response.aspx"); } }

206

Personal_loan.aspx.cs
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class personal_laon : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { for (Int32 x = 0; x <= 50; x++) { TextBox1.Text = GetRandomString(x); } } public string GetRandomString(int seed) { const string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random rnd = new Random((seed + DateTime.Now.Millisecond)); string result = rnd.Next(10000, 99999).ToString(); string alphaChar = alphabet.Substring(rnd.Next(0, alphabet.Length - 1), 1); int replacementIndex = rnd.Next(0, (result.Length - 1)); result = result.Remove(replacementIndex, 1).Insert(replacementIndex, alphaChar); return result; } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("insert into personal_loan(appl_no,f_name,l_name,dob,yrs_at_crnt_resi,city,hav_hdfc_acc,e_ma il,ph_no,mob,occupation,comp_name,yrs_in_crnt_comp,net_sal) values (@appl_no,@f_name,@l_name,@dob,@yrs_at_crnt_resi,@city,@hav_hdfc_acc,@e_mail,@p h_no,@mob,@occupation,@comp_name,@yrs_in_crnt_comp,@net_sal)", con); cmd.CommandType = System.Data.CommandType.Text; cmd.Parameters.Add("@appl_no", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@f_name", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@l_name", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@dob", SqlDbType.Date).Value = TextBox4.Text; cmd.Parameters.Add("@yrs_at_crnt_resi", SqlDbType.VarChar).Value = DropDownList1.SelectedItem.Text; cmd.Parameters.Add("@city", SqlDbType.VarChar).Value = DropDownList2.SelectedItem.Text; cmd.Parameters.Add("@hav_hdfc_acc", SqlDbType.VarChar).Value = RadioButtonList1.SelectedItem.Text; cmd.Parameters.Add("@e_mail", SqlDbType.VarChar).Value = TextBox5.Text; cmd.Parameters.Add("@ph_no", SqlDbType.VarChar).Value = TextBox6.Text; cmd.Parameters.Add("@mob", SqlDbType.VarChar).Value = TextBox7.Text; cmd.Parameters.Add("@occupation", SqlDbType.VarChar).Value = DropDownList3.SelectedItem.Text;

207

cmd.Parameters.Add("@comp_name", SqlDbType.VarChar).Value = TextBox8.Text; cmd.Parameters.Add("@yrs_in_crnt_comp", SqlDbType.VarChar).Value = DropDownList4.SelectedItem.Text; cmd.Parameters.Add("@net_sal", SqlDbType.VarChar).Value = DropDownList5.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds, "personal_loan"); Response.Redirect("response.aspx"); } protected void Button2_Click(object sender, EventArgs e) { TextBox1.ReadOnly = true; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; TextBox5.Text = ""; TextBox6.Text = ""; TextBox7.Text = ""; TextBox8.Text = ""; DropDownList1.SelectedIndex = 0; DropDownList2.SelectedIndex = 0; DropDownList3.SelectedIndex = 0; DropDownList4.SelectedIndex = 0; DropDownList5.SelectedIndex = 0; DropDownList1.SelectedIndex = 0; RadioButtonList1.SelectedValue = null; CheckBox1.Checked = false; } }

208

using using using using using using using using

System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class Saving_account : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { for (Int32 x = 0; x <= 50; x++) { TextBox1.Text = GetRandomString(x); } } public string GetRandomString(int seed) { const string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random rnd = new Random((seed + DateTime.Now.Millisecond)); string result = rnd.Next(10000, 99999).ToString(); string alphaChar = alphabet.Substring(rnd.Next(0, alphabet.Length - 1), 1); int replacementIndex = rnd.Next(0, (result.Length - 1)); result = result.Remove(replacementIndex, 1).Insert(replacementIndex, alphaChar); return result; } protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { SqlCommand cmd = new SqlCommand("insert into saving_acnt(appl_no,Title,f_name,l_name,city,nearest_branch,mob_no,contact_no,e mail) values (@appl_no,@Title,@f_name,@l_name,@city,@nearest_branch,@mob_no,@contact_no,@ema il)", con); cmd.CommandType = CommandType.Text; cmd.Parameters.Add("@appl_no", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@Title", SqlDbType.VarChar).Value = DropDownList1.Text; cmd.Parameters.Add("@f_name", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@l_name", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@city", SqlDbType.VarChar).Value = DropDownList2.Text; cmd.Parameters.Add("@nearest_branch", SqlDbType.VarChar).Value = TextBox4.Text; cmd.Parameters.Add("@mob_no", SqlDbType.VarChar).Value = TextBox5.Text; cmd.Parameters.Add("@contact_no", SqlDbType.VarChar).Value = TextBox6.Text; cmd.Parameters.Add("@email", SqlDbType.VarChar).Value = TextBox7.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds, "saving_acnt"); Response.Redirect("response.aspx"); }

209

210

Transaction.aspx
using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data; System.Data.SqlClient;

public partial class Login : System.Web.UI.Page { static SqlConnection con = new SqlConnection("server=.;database=e_banking;trusted_connection=true;"); static DataSet ds = new DataSet(); protected void Page_Load(object sender, EventArgs e) { for (Int32 x = 0; x <= 50; x++) { TextBox1.Text = GetRandomString(x); } } public string GetRandomString(int seed) { const string alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random rnd = new Random((seed + DateTime.Now.Millisecond)); string result = rnd.Next(10000, 99999).ToString(); string alphaChar = alphabet.Substring(rnd.Next(0, alphabet.Length - 1), 1); int replacementIndex = rnd.Next(0, (result.Length - 1)); result = result.Remove(replacementIndex, 1).Insert(replacementIndex, alphaChar); return result; } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("insert into transaction (reqst_code,request_for,acc_from,acc_to,amount) values (@reqst_code,@request_for,@acc_from,@acc_to,@amount)", con); cmd.CommandType = System.Data.CommandType.Text; con.Open(); cmd.Parameters.Add("@reqst_code", SqlDbType.VarChar).Value = TextBox1.Text; cmd.Parameters.Add("@request_for", SqlDbType.VarChar).Value = RadioButtonList1.SelectedItem.Text; cmd.Parameters.Add("@acc_from", SqlDbType.VarChar).Value = TextBox2.Text; cmd.Parameters.Add("@acc_to", SqlDbType.VarChar).Value = TextBox3.Text; cmd.Parameters.Add("@amount", SqlDbType.VarChar).Value = TextBox4.Text; SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds,"transaction"); cmd.ExecuteNonQuery(); con.Close(); Response.Redirect("response.aspx"); } }

211

Code Efficiency In an effort to maintain computational efficiency and to allow the eventual adaptation of the algorithm to face tracking applications, intense optimization of the code has been performed. Although further development is in progress, the algorithm is currently fast and compact enough to run interactively on most generic platforms.

The input to the coding phase of the HDFC Online Banking was it designs. During the coding phase, different modules identified in the design are coded according to the modules specification. At the end of the design phase, we have not only the module structure (e.g. structure chart) of the system but also the module specification where the data structure and algorithms for each module are specific. The objectives of coding phase are to transform the design of the system, as given by its module specification, into high-level language code and then to unit test this code.

Adherence to some will-defined and standard style of coding called coding standards increase the code efficiency. The reasons for adhering to a standard coding style are the following:

212

We have used a simpler method of login coding that is far lesser than the usual ones Web user Control have been used to reduce the design code of the website Only Necessary Reports have been created

Following are the coding standards and guidelines adopted during the development of HDFC Online Banking.

1. Variable naming has been done according to their use. 2. Objects naming have been done usefully and after applying full thought process. 3. Suitable Messages have been provided

213

Validations Checks

Validation is the process of determining whether a fully developed system conforms to its requirements specification. The aim of validation is to make the final product error free. At present, as for as the validation is concern, the HDFC Online Banking has fully conformed to all type of validations as per the requirements. All the validations, which may terminate the application or give unwanted results, have been handled in various modules of project. An interactive message box will appear on the screen for all the validations. Validations: common to all Modules

1. 2. 3. 4. 5.

Duplicate records can not stored User can not cross the limit of any field specified in the data structures of various tables. Those fields which are only displayed on screens by retrieving data from other tables cannot be modified by the user. Those fields which are in number data type; user can not insert text or character or string value in this field. User cant enter incorrect date in date data type field.

214

215

Testing

Software testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test. Software testing can also provide an objective, independent view of the software to allow the business to appreciate and understand the risks of software implementation. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs (errors or other defects). Software testing can be stated as the process of validating and verifying that a software program/application/product: 1. meets the requirements that guided its design and development; 2. works as expected; and 3. can be implemented with the same characteristics.

Testing objectives: The following are the testing objectives:

a. b. c.

Testing is a process of executing a program with the intent of finding an error. A good test case is one that has a high probability of finding an as-yetundiscovered error. A successful test is one that uncovers an as yet undiscovered error.

Principles of Testing

216

The basic principles that guide software testing are as follows:

Which Test finds which Error? Possible error Can be best found by Example Missing semicolons, Values defined but not initalized or used, order of evaluation disregarded. Overflow of variables at calculation, usage of inspection, inappropriate data types, values not initialized, values loaded with wrong data or loaded at a wrong point in time, lifetime of pointers. inspection, Wrong program flow, use of wrong formulas and

Syntax errors

Compiler, Lint

Data errors

Software module tests

Algorithm

and

Software

217

logical errors

module tests

calculations.

Interface errors

Software inspection, Overlapping ranges, range violation (min. and max. module tests, component values not observed or limited), unexpected inputs, tests. wrong sequence of input parameters.

Operating system errors, architecture and design errors

Disturbances by OS interruptions or hardware Design inspection, interrupts, timing problems, lifetime and duration integration tests problems.

Integration errors

Integration tests, system tests

Resource problems memory, etc.)

(runtime,

stack,

registers,

Testability:

Software testability is simply how easily (a computer program can be tested). The following characteristics are considered that lead to testable software. 1. 2. 3. Operability: The better it more efficiently it can be tested. Observability: What you see is what you test. Controllability: The better we can control the software, the more the testing can be automated and optimized. 4. Decomposability: By controlling the scope of testing, we can more quickly isolate problems and perform smarter resting. 5. 6. 7. Simplicity: The less there is to test, the more quickly we can test it. Stability: The fewer the changes, the fewer the disruptions to testing. Understandability: The more information we have, the smarter we will test.

218

Test Case Design: The design of testing can be divided into two broad categories: Black Box testing: White Box testing:

Black Box testing: When computer software is considered, black-box testing alludes to tests that are conducted at the software interface. Although they are designed to uncover errors, black box tests are used to demonstrate that software functions are operational, that input is properly accepted and output is correctly produced , and the integrity of external information(e.g. A database) is maintained.

White Box testing: White box testing of software is predicated on close examination of procedural detail. Logical paths through the software are tested by providing test cases that exercise specific sets of conditions and loops. The main disadvantage with white box testing is even for smaller programs the number of possible logical paths can be very large. In the present project Black box testing is used.

219

Software testing Strategies: Software testing is one element of a broader topic that is often referred to as verification and validation (v &v).Verification refers to the set of activities that ensure that software correctly implements a specific functions. Validation refers to a different set of activities that ensure that the software that has been built is traceable to customer requirements. In other words v &v can be stated as Verification : Are we building the product right. The following issues were considered for a successful software testing strategy is to be implemented. 1. Specific product requirements in a quantifiable manner long before testing commence. 2. 3. State testing objectives explicitly. Understand the users of the software and develop a profile for each user category. 4. 5. 6. Develop a testing plan that emphasizes rapid cycle testing. Build robust software that is designed to test itself. Use effective formal technical reviews to assess the test strategy and test cases themselves. 7. Develop a continuous improvement approach for the testing.

220

Unit Test Procedures:

Unit testing is normally considered as an adjusted to the coding step. After source code is developed, reviewed and test cases were established. Functional behavioral were tested for each module. Each test case is coupled with a set of expected results. Because a module is not a standalone program, driver and/or sub software must be developed for each unit test. Driver is nothing more than a main program that accepts test case data, passed such data to the module. Unit testing is simplified when a module with high cohesion is designed. When Only one function is addressed by a module, the number of test cases are reduced and errors can be more easily predicted and uncovered.

221

SECURITY MEASURE TAKEN

As far as the security is concern, HDFC Online Bankings will provide a reliable security system for protecting the HDFC database from unauthorized access. One module (i.e. LOGIN) will take care of the security of the project database. To implement the LOGIN modules, one table has been included into the project database called LOGIN, which will store information about various users who will interact with the project. Details like USERID, PASSWARD will be stored in this Table. Users will be allowed to access project database only after feeding their LOGIN and PASSWARD correctly. LOGIN module and accordingly the access right to HDFC database will be given to the user. In this project, user means employee and administrator can also access the project.

222

Work Schedule and Cost Estimate

Work Schedule Scheduling is an important activity of project Managers. In order to schedule a project, a software project manager to do the following:

a. b. c. d. e.

Identify the tasks needed to complete the project Determine the dependency among different tasks Establish the most likely estimates for the duration of the identified tasks. Plan the starting and ending dates for various tasks Determine the critical path (i.e. the chain of tasks that determine the duration

of the project). As for as the HDFC Online Banking is concern, the whole system was divided into main activities shown in dataflow Diagram. Dependencies between these activities; duration of each activity, its starting and ending dates; and total duration of the project can be easily identified by going through these charts.

223

COST ESTIMATION

Project Cost Estimation is an important task of the Software Project Management. During project planning, project manager estimates the following parameters: Project size, Effort required developing the software, project duration and cost. These estimates help not only in quoting the project cost to the customer, but also in resource planning and scheduling. In this project I used two software are MICROSOFT SQL Server 2005 & MICROSOFT Visual Studio 2005 and I had done expense on printing and stationary.

224

Reports

225

Customer Report

226

Employee Payroll Report

227

Employee Details Report

228

LIMITATIONS OF THE PROJECT

Though this project HDFC ONLINE BANKING is very useful and has several advantages over a manual system. Use of this no doubt will result in faster processing and a better service but it has some limitations also. These limitations include

Online Payment system is not being created for receive charges of the services provided by the HDFC. Function for storing the scanned copy of the document is not being provided.

229

FUTURE SCOPE:In future HDFC ONLINE BANKING can be extended to take online tests for Learning Driving License and conduct surveys to get the information about the various Issues Related to Road and Vehicle Rules and regulation. And further it can be used to implement a Better Complaint System.

230

Bibliography

The main books, and websites which were consulted for the project development, are :

Beginning Asp.net NIIT www.w3schools.com for the Html Code msdn.microsoft.com www.asp.net Sql Server 2005 2000 NIIT MSDN Library Software Engineering Roger S. Pressman, K. K. Aggarwal

231

Das könnte Ihnen auch gefallen