P. 1
rep

rep

|Views: 101|Likes:
Published by Anuskha Shetty

More info:

Published by: Anuskha Shetty on Apr 09, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

04/09/2011

pdf

text

original

Sections

  • 6.2.1 Error Fault and Reliability
  • 6.3 User Operation Manual
  • 6.3.1.1 Physical Security
  • 6.3.1.2 Operating System Level Security
  • 6.3.1.3 Database Security
  • 6.3.1.4 Application Security
  • 6.3.1.5 Transaction Security
  • 7 Opportunity and Future Expansion
  • 7.1 Practical Implementation
  • 7.2 Double Entry Accounting System
  • 7.3 Technology Enabled – Ajax
  • 8 Conclusion (Thesis)
  • 10.1 Database SQL Statement
  • 10.2 Software Application Code
  • 10.2.1 Code: netSystem.VB
  • 10.2.2 Style Sheet: Style.css / Template.css
  • 10.2.3 Page: account_heading.aspx
  • 10.2.4 Code: account_heading.aspx.vb
  • 10.2.5 Page: menu.aspx
  • 10.2.6 Code: menu.aspx.vb
  • 10.2.7 Page: system_config.aspx
  • 10.2.8 Code: system_config.aspx.vb
  • 10.2.9 Page: open_account.aspx
  • 10.2.10 Code: open_account.aspx.vb
  • 10.2.11 Page: voucher.aspx
  • 10.2.12 Code: voucher.aspx.vb
  • 10.2.13 Report Page: ledger.aspx
  • 10.2.14 Report Code: ledger.aspx.vb
  • 10.2.15 Report Page: trial_balance.aspx
  • 10.2.16 Report Code: trial_balance.aspx.vb
  • 10.2.17 Report Page: voucher.aspx
  • 10.2.18 Report Code: voucher.aspx.vb
  • 10.2.19 Page: Defult.aspx
  • 10.2.20 Page Code: Default.aspx.vb
  • 10.2.21 Page: Default2.aspx
  • 10.2.22 Page Code: Default2.aspx.vb
  • 10.2.23 Master Page: MasterPageFrontScreen.aspx
  • 10.2.25 WEB Configuration: web.config

Sikkim Manipal University

of Health Medical and Technological Sciences Directorate of Distance Education

University Study Centre (Code: 1537)

College for Professional Studies
Opp. Maitidevi Temple, Kathmandu, Nepal

Study of Online Banking By Rajendra Man Banepali Roll No.: 52078163

A project report submitted in partial fulfillment of the requirement for

Master of Science in Information Technology
of Sikkim Manipal University, India

Sikkim Manipal University of Health, Medical and Technological Sciences Distance Education Wing Syndicate House Manipal – 576119

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

Examiner’s Certificate

The project of Rajendra Man Banepali On Online Banking Is approved and is acceptable in quality and form

Internal Examiner

External Examiner

(Name and Qualification)

(Name and Qualification)

2 of 185 | Page

Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

University Study Centre Certificate
This is to certify that the project entitled

Online Banking
submitted in partial fulfillment of the requirement for the degree of

Master of Science in Information Technology of
Sikkim Manipal University of Health, Medical and Technological Sciences Rajendra Man Banepali has worked my supervision and guidance and that no part of this report has been submitted for the any award of other Degree, Diploma, Fellowship or other similar titles or prizes and that the work has not been published in any journal or magazine.

Certified By

Udaya Kan Jha Programme Coordinator College for Professional Studies Maitidevi, Kathmandu

3 of 185 | Page

Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

Student Declaration

I here by declare that the project report entitled

Online Banking
submitted in partial fulfillment of the requirement for the degree of

Master of Science in Information Technology of
Sikkim Manipal University of Health, Medical and Technological Sciences, India, is my original work and not submitted for the award of any other degree, diploma, fellowship, or any other similar title or prized.

Rajendra Man Banepali Roll. No. .: 52078163

4 of 185 | Page

Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

Certificate from Managing Director
This is to certify that Mr. Rajendra Man Banepali of MSCIT has worked on the project as per the course curriculum of MSCIT-IV. This project entitled "Online Banking" is the original work of Mr. Banepali was carried out under the supervision of Mr. Uday Kant Jha as per the guidelines provided by the university. As per the student's declaration this is certify that project "Online Banking" has not been presented anywhere as a part of any other academic work. The Detail of student is as follow:

Name: Course/Sem: Subject Code: Project Title:

Rajendra Man Banepali MSCIT 4 th Semester MSCIT Online Banking

-------------------------------------P. Kejriwal Managing Director

5 of 185 | Page

Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

Certificate from Director (Administration)
This is to certify that Mr. Rajendra Man Banepali of MSCIT has worked on the project as per the course curriculum of MSCIT-IV. This project entitled "Online Banking" is the original work of Mr. Banepali was carried out under the supervision of Mr. Uday Kant Jha as per the guidelines provided by the university. As per the student's declaration this is certify that project "Online Banking" has not been presented anywhere as a part of any other academic work. The Detail of student is as follow:

Name: Course/Sem: Subject Code: Project Title:

Rajendra Man Banepali MSCIT 4 th Semester MSCIT Online Banking

-------------------------------------ER. Pankaj Jalan Director (Administrator)

6 of 185 | Page

Online Banking | OB

Sc. Prakash Kumar Director (Academics) 7 of 185 | Page Online Banking | OB . Uday Kant Jha as per the guidelines provided by the university.Master of Science in Information Technology M. This project entitled "Online Banking" is the original work of Mr. Rajendra Man Banepali of MSCIT has worked on the project as per the course curriculum of MSCIT-IV. The Detail of student is as follow: Name: Course/Sem: Subject Code: Project Title: Rajendra Man Banepali MSCIT 4 th Semester MSCIT Online Banking -------------------------------------Er. As per the student's declaration this is certify that project "Online Banking" has not been presented anywhere as a part of any other academic work. Banepali was carried out under the supervision of Mr. IT Online Banking Final Project Report Manipal Universal Learning Certificate from Director (Academics) This is to certify that Mr.

The Detail of student is as follow: Name: Course/Sem: Subject Code: Project Title: Rajendra Man Banepali MSCIT 4 th Semester MSCIT Online Banking -------------------------------------K. This project entitled "Online Banking" is the original work of Mr. IT Online Banking Final Project Report Manipal Universal Learning Certificate from Head of Department This is to certify that Mr. As per the student's declaration this is certify that proje ct "Online Banking" has not been presented anywhere as a part of any other academic work. Banepali was carried out under the supervision of Mr.M. Dikshit Head of Department 8 of 185 | Page Online Banking | OB . Rajendra Man Banepali of MSCIT has worked on the project as per the course curriculum of MSCIT-IV.Sc. Uday Kant Jha as per the guidelines provided by the university.Master of Science in Information Technology M.

Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning Acknowledgements It is my pleasure to present this project report. As Management Development in financial transaction such as efficiency of management development has a vital role for the economic stability and development of country. I would like to my heart thanks humble gratitude to the state of office of some organization like College for Professional Studies (CPS) and Standard Charters Bank Ltd. One who wants to know about "Online Banking" can be taken this work as a reference. support & feedback of great value. Nepal being a developing coun try it is not getting able to develop communication only by the national or domestic communication. I would like to extend my sincere gratitude & respect to the teachers and all friends for his contribution & suggestions at different step to prepare the report. Rajendra Man Banepali Bhaktapur-17 9 of 185 | Page Online Banking | OB . He / she can gather necessary information from it. modern life one should know a bit more than past about email. for their valuable suggestion & guidance & I'm also grateful for its co-operation & co-ordination in providing necessary information.Sc. In today's. "Online Banking". It has great stability among all the past public not only businessman & professionals. I obliged to my family members & my companions for their suggestions.

Master of Science in Information Technology M.Sc. IT Online Banking Final Project Report Manipal Universal Learning Abbreviation OB MSCIT OB Technology MSCIT CPS Technology HI -Take CPS DMS HI -Take SCB DMS SD SCB SQL SD MS-SQL SQL MS-SQL Online Banking Master of Science in Information Online Banking Master of Science in Information College for Professional Studies Highly Technical College for Professional Studies Dynamic Menu System Highly Technical Standard Charter Bank Dynamic Menu System System Design Standard Charter Bank Structure Query Language System Design Microsoft SQL Structure Query Language Microsoft SQL 10 of 185 | Page Online Banking | OB .

3.2 Output Design 25 6.1.4 System Design: 24 6.1.1.1.1 Programme Framework 5.1.4 Module level Design 26 6.2.3 Structured Design (SD)27 6.1.3.1.1.1. Information Hiding 27 6.1 The course has the following objective: 13 Area and Limitation 16 4.2.4.5.5.2 Architectural Framework 18 18 19 5.5. Pert chart etc.2 Pseudo-code 26 6. IT Online Banking Final Project Report Manipal Universal Learning Table of Content 1 2 3 4 Foreword Introduction Objective 13 14 15 16 16 1.1 Account Management 4. and Output (HIPO) 27 6.9 Form Design30 26 11 of 185 | Page Online Banking | OB .1.1.4.1.3 Security Management 17 17 4.7 Table structure 28 6. 28 6.2 Application settings configuration 17 5 Project outline 18 5.5 Hierarchy Plus Input.4.1.1.1 Problem Definition 18 5.2.1.3 Programming Language and Platform 23 6.2 Online Reports and Transaction 4.1.5.1 Client account statement 16 4. Data Dictionary.2 Feasibility Study and Cost-Benefit Analysis 23 6.5.4 Tools Environment used 21 20 5.2 Closing account 16 4.3 Project Timeline and system planning 5.1.4 Jackson Design Methodology (JDM) 27 6.1 Information System Design and Optimization System (ISDOS) :6.2 Account transfer 16 16 4.1 Hardware specification of machine used 21 5.5 Design Methodology 26 6.8 DFDs.1 Input Design 24 6.2 Conceptual Framework 5.4.1 User management and Security and accessibility assignment 4.Master of Science in Information Technology M. Process.6 Specific Data Abstraction.Sc.2.4.1 Analysis and Design 22 6.1.3 Database Design 25 6.4.1 Opening account (Client Registration) 4.1 Project Analysis along with user requirements 22 6.2 Software used along With the version 21 6 Software Engineering and Design22 6.1.1.

2.aspx 157 Report Code: trial_balance.vb 179 Master Page: MasterPageFrontScreen.2.2.aspx 175 Page Code: Default.1 Physical Security 40 6.vb 154 Report Page: trial_balance.2.10 10.1 Security of the System 40 6.1.2.11 10.2.8 10.24 10.3.2 Backup and Restore Database 41 7 Opportunity and Future Expansion 7.aspx.3 Database Security 41 6.2.23 10.aspx.3.vb 99 Page: menu.7 10.aspx 151 Report Code: ledger. IT Online Banking Final Project Report Manipal Universal Learning 6.2 Functional Testing 40 40 40 6.10 Coding 40 6.1 Multi Brach Banking – Using three tier Software Architecture 45 8 9 Conclusion (Thesis) 47 Bibliography 48 10.vb 177 Page: Default2.2.1 Database SQL Statement 10.3 Technology Enabled – Ajax 45 44 7.1 10.vb 127 Page: voucher.2.2.config 184 12 of 185 | Page Online Banking | OB .2.3 User Operation Manual 40 41 6.2.4 Application Security 41 6.aspx.3.2.aspx.1.vb 181 WEB Configuration: web.12 10.2 Operating System Level Security 6.16 10.19 10.aspx.2.9 10.17 10.aspx.vb 160 Report Page: voucher.5 10.13 10.aspx.2 10.3.2.1.2 Testing & Debugging (Methodology use for Testing) 6.1.VB 56 Style Sheet: Style.Sc.aspx.2.vb 108 Page: system_config.2.21 10.2.3 10.20 10.1 Practical Implementation 44 7.aspx 121 Code: open_account.15 10.22 10.2.aspx.1 Error Fault and Reliability 6.3.2.1.vb 140 Report Page: ledger.3.2.Master of Science in Information Technology M.3.aspx 180 Master Page Code: MasterPageFrontScreen.css / Template.2.2 Software Application Code 10.aspx 178 Page Code: Default2.6 10.aspx 113 Code: system_config.aspx 95 Code: account_heading.5 Transaction Security 41 6.vb 117 Page: open_account.vb 169 Page: Defult.2.4 10.14 10.2 Double Entry Accounting System 44 7.aspx.18 10.2.1.aspx163 Report Code: voucher.2.aspx 133 Code: voucher.3.2.25 10 Annex 49 49 56 Code: netSystem.css 79 Page: account_heading.2.aspx.aspx 104 Code: menu.

functional and information requirements. Skills to work with higher end applications in internet technologies. • • The program also prepares students to embrace future developments in the field and has a demonstrated professional relevance. • To equip students with theoretical and practical that is necessary to enable them to participate in the design of complex computer applications/Science. The program helps the students to acquire the latest skills and build their future capabilities using world-class technology. The logical components include mission. At the end of this program the student will posses strong foundation of computer system and information technology. power to build sophisticated software for wide area of applications. It architecture is an integrated framework for acquiring and evolving IT to achieve strategic goals. it therefore includes both computing and communication net work technology in the same world.Sc. IT Online Banking Final Project Report Manipal Universal Learning 1 Foreword The Master of Science in Information Technology (M. design. 13 of 185 | Page Online Banking | OB .Master of Science in Information Technology M. and information flows. The technical components include IT standards and rules that will be used to implement the logical architecture. system configurations. 1.Sc. develop and to maintain software development. • • Dexterity in advance programming languages. also managerial ability to analyze. IT) Course is aimed at designing and implementing advanced compared traditional computing environment. It has both 'Logical' and 'Technical' components.1 The course has the following objective: • To equip post graduate students with an integrated set of skills that will allow them to develop their professional careers in this area of informatio n technology.

Withdraw is the term of get the amount from the deposited account. Saving is the term of depositing amount into the registered account. Bank has very interesting mechanism to make credit amount the people and investors. OB tries to demonstrate sample processes of online banking transaction.Master of Science in Information Technology M. The system we are going to developed is called OB. withdraw. Bank deals with public interest in the term of economic activities such as opening account. This includes the limited functionality for banking process as shown in OB's area and limitation section.Sc. IT Online Banking Final Project Report Manipal Universal Learning 2 Introduction The agency or organization working with financial term and transaction is called Bank. Opening account is the term of registration of potential client and future assets. loan financing in different ways. saving. 14 of 185 | Page Online Banking | OB .

It is the template and sample piece of banking software which should include much functionality according to reality and end of user. platform and its architecture.Master of Science in Information Technology M. The initial demonstration of banking system is this system which include and limitation for real client. the system has basic principle of implementation software engineering in software design and implementation of programming. IT Online Banking Final Project Report Manipal Universal Learning 3 Objective The aim of OB is to lead the sample of processes and functionality of online backing based on web base. 15 of 185 | Page Online Banking | OB .Sc. Since this is academic project for university.

2 Online Reports and Transaction 4.Master of Science in Information Technology M. 16 of 185 | Page Online Banking | OB . current. 4. Deposit and Withdraw This section is responsible for deposit process and withdraws processes only. 4. This process need authentication and implements the transaction process in which two phase committee strategy is used so that complete transaction is done without any exception. IT Online Banking Final Project Report Manipal Universal Learning 4 Area and Limitation 4.2.1 Account Management 4.2 Closing account The termination of account in the bank is called closing of account.2 Account transfer This is section causes to transfer amount from one account to another account.1 Opening account (Client Registration) This section processes the customer care centre including client registration for different types of account like saving.2.Sc. 4.1. This section is responsible for the closing of account. deposit and it should have flexibility on types of account that user can create new type of account type for specific group.1. At that time the hold data is not deleted just the account is disable for any further process.1 Client account statement This section is responsible for client accounts reporting of withdraw and deposit statement in which Debit and Credit parts are clearly shown into the report and total account balance is show n into this report.

Master of Science in Information Technology M.1 User management and Security and accessibility assignment This is section manage the user and password security along with user menus and layout of software system. IT Online Banking Final Project Report Manipal Universal Learning 4.3. fixed variable for application are set by this room. 17 of 185 | Page Online Banking | OB . 4. menu management and accessibility management with grouping of user is control by this room. The accessibility is a control by security lso management.3 Security Management 4. Basically. user management.2 Application settings configuration Global variables are configured by this section.Sc.3. Basically.

Sc.1 Programme Framework Client Registrati on User and Security Managment Transaction (Withdraw & Report (Account Statement ) 18 of 185 | Page Online Banking | OB .Master of Science in Information Technology M. The review of project outline is bellow.2 Conceptual Framework 5. 5. 5.1 Problem Definition Here the report tries to show computerized solution of online banking skeleton for two specific areas such as client account management and transaction of amount deposit and withdraw.2. IT Online Banking Final Project Report Manipal Universal Learning 5 Project outline Project outline contains introduction of project summary which describes about project development related details. The software solutions are already described into areas and limitation section 4.

IT Online Banking Final Project Report Manipal Universal Learning 5.2.2 Architectural Framework OB VB 19 of 185 | Page Online Banking | OB .Sc.Master of Science in Information Technology M.

Pie Chart of Project Development timeline or pert chart 20 of 185 | Page Online Banking | OB . Concept. Functions) 13% Programming Code 13% .Master of Science in Information Technology M. 4 5 6 7 8 Functions) Programming Code Testing Implementing Project Report Writing 2 2 2 2 3 3 1 Weeks 1 1 2 3 4 5 6 7 8 9 1 0 1 2 1 3 1 4 1 5 Total Weeks for Project Development Proposal Preparation 6% Fesibility Study/ Information Collection 6% System Requirement Specification (SRS) 18% Project Report Writing 18% Implementing 13% Testing 13% Design (Database. IT Online Banking Final Project Report Manipal Universal Learning 5.Sc.3 Project Timeline and system planning Timeline in weeks for 5 months Total Sn 1 Task Proposal Preparation Fesibility Study/ Information 2 Collection System Requirement Specification 3 (SRS) Design (Database. Concept.

NET with VB) 3.4.4 Tools Environment used 5.NET (ASP.Hypertext Markup Language (HTML) 4.4.Master of Science in Information Technology M.0.Internet Information System (IIS) or IIM Microsoft Access SQL Client from Microsoft SQL Server 21 of 185 | Page Online Banking | OB .0. Java script.Microsoft SQL Server . IT Online Banking Final Project Report Manipal Universal Learning 5. XML Microsoft Visio 2003 Microsoft Word 2000 OS . Active Server Page . VB script Database: . Intel Micro Processor RAM 128 MB HDD 40 GB Sound System 5.Windows XP or higher WEB Server .0.Sc.1 Hardware specification of machine used • • • • Pentium 4.0.2 Software used along With the version • • • • • • • • • Dream Weaver MX Edit Plus 2.1 Languages: . Text Files.

Data flow Diagrams. We can search the bank account and any record of transaction of candidates within a couple minute and compares these transactions for further process. To make effective and more practical in daily life of OB is very essential for doing financial transaction online. Structural Analysis. 6.1 Project Analysis along with user requirements Project Analysis.Master of Science in Information Technology M. This specification is also a major information source for designers of the new system. ER Diagram etc. Let’s see the definition of Man-made System from text book. IT Online Banking Final Project Report Manipal Universal Learning 6 Software Engineering and Design Review Software Engineering and Design 1. This is man-made system category if we see the system definition.1 Analysis and Design This section should be included and depicted clearly in the project file such as flow charts.Sc. It is the strength of the OB. This chapter shows a process of providing full specification of systems to users to help them consider and accept. It not only specifies the system's objectives but also describes the work and its constraints to which designers have to comply. in software engineering. This chapter deals with techniques applied in information system analysis. Analysis and Design 2. has included project design part analyzing manual work and documents prepared by manual workers in prior working style. User Operation Manual 6. Testing & Debugging 3.1. data modeling and normalization. Manual record keeping and verifying signature is very hard and time consuming so electronics system like OB deducts the time and makes our work efficiency in office. Not only time saving but also we could get up-to-date information about potential candidates. Use of Decision table. 22 of 185 | Page Online Banking | OB .

template and object oriented programming language. and so on. and so on. independent of the technology used to implement the system. 6. Financial systems: accounting. A systems analyst will analyze. It has very good frame of web programming in the case of change management.2 Feasibility Study and Cost-Benefit Analysis Here. canals.1. An organized. Social systems: organizations of laws. airlines and so on. general ledger and so on. 4. telex.Master of Science in Information Technology M.1. It shows cash follow of budget against the work in progress. for OB we can simply use net cost benefit analysis tool which give the overall cost of the project. IT Online Banking Final Project Report Manipal Universal Learning Man-made systems Man-made systems include such things as: 1. Communication systems: telephone.0. In most case. And the customer or user. with whom you interact will generally assume that you have such a bias. we will be in a position to determine whether it makes sense to use a computer to carry out the functions of the system only after modeling its essential behavior. the system to determine its essence: and understand the system's required behavior. Most of these systems include computers today.3 Programming Language and Platform Microsoft . or study.Sc. 6. customs. As a systems analyst.NET platform is used in OB for programming platform. disciplined collection of ideas. 5. 3. For example: Net Cost = {working days (analyst + programmer + data entry)} * {(man/day rate )} 6. you will naturally assume that every system that you come in contact with should be computerized. inventory. and so on. OB has used framework 2.0 which is extended version of framework 1. doctrines. 2. Transportation systems: networks of highways. Manufacturing systems: factories. We can use both 23 of 185 | Page Online Banking | OB . assembly lines. We can use simple formula for cast estimated.

design methodology and principles are use when OB is developed.1. You use these compilers to build applications and components.Sc. These two components are packaged together into the . When Visual Studio.NET common language runtime and the . It includes a new way of delivering software and services to businesses and consumers.NET class library.NET frameworks consist of two parts: the .0 and framework 2.NET SDK and a GUI editor. manage. tools. While using prototype modeling is used some of these system design and methodologies are used which are listed bellow. Is . Prototype modeling is used for OB life cycle. the SDK also includes command-line compilers for C#. deploy.NET Frameworks SDK which will be available for free download from Microsoft’s MSDN web site later this month. JScript.NET framework from text book Microsoft Says. These components require the runtime to execute so this is a development platform. Life Cycle. and VB.0 in single a computer simultaneously. C++. and a slew of other things. Visual Studio. 6. wizards.Master of Science in Information Technology M.4 System Design: Life Cycle of the project: Let’s see below.NET Framework is a development and execution environment that allows different programming languages & libraries to work together seamlessly to create Windows-based applications that are easier to build. A part of Microsoft.NET a runtime service or a development platform? Answer It’s both hand actually a lot more. Microsoft . and integrate with other networked systems. 6.1.NET applications. it will include the .NET is NOT required to build . The .NET Frameworks.4. Let’s see some of important thing in Microsoft . However. The .1Input Design 24 of 185 | Page Online Banking | OB . In addition.NET is a company-wide initiative. IT Online Banking Final Project Report Manipal Universal Learning of framework 1.NET ships.NET is the .

the essential data entry forms are bellow. Some of Login Form Basically. the programmer 25 of 185 | Page Online Banking | OB .Master of Science in Information Technology M. Define words that may be unfamiliar to the user. retrieve information from data base without h aving to write a program. and output formats should be standardized whenever possible. headings. 6. Acronyms and abbreviations in output should be avoided especially when the output will serve novice users.4. This assures correct interpretation of output.1. Format consistency is an attribute of ‘user-friendly’ output. If writing an application program for a transactional system n batch. IT Online Banking Final Project Report Manipal Universal Learning While deigning system. input design is very conscious thing that we have to analyze because it is end-user interface.4. called a Data Base Management System (DBMS) is generally acquired to help computer users’ access and manipulate the data in a data base system. Most DBMS include a special query language that allow users to access the data base. It helps the user to reduce the half of the data entry time and management.3Database Design A specialized set of programs. Data can be added. We have to conscious in data entry of option values while we are in main form for editing and new data entry. Notes. 6. for security purpose to view mails we should login site and can see our personal mails only. We have to design input screens and layout in such a wa that end-user can enter data and information easily and in y limited time for efficiency. updated. Users feel comfortable with familiar layouts. retrieved. Algorithms and assumptions on which calculations are based should be available to users of the output. It is important for in case of data consistency and data integrity.1.2Output Design A number of basic design principles ensure that the output is presented in a way that is easy to understand and interpret. and deleted from data base using DBMS functions.Sc.

read only. They do not know how the physical database is stored. design an optimal system to meet these specifications. 26 of 185 | Page Online Banking | OB . which is called the host language. write and delete.4.1.5.1. 6. or read.4Module level Design While designing modules. This concept reduces the error raise on transit period of switch in modules and running modules independently. Any module has no dependency with other module even with data of programming and configuration along with database system.5 Design Methodology There are many ways to approach system design and many tools and techniques that contribute to the design process.5. For example. Since all access to data is made via the DBMS.Sc.2Pseudo-code Pseudo-code can be used to describe an algorithm. An important function provided by a DBMS is data independence. the DBMS might be programmed to refer to an internal security matrix to determine which data elements a particular user is permitted to access and what type of operations that users can perform. Data independence means that users and programmers are insulated from database. In this part we will find a discussion of still other methodologies that are comely used by analysts.1. 6. data base management systems can perform another important function. 6. Although pseudocode resembles structured English (SE) in using a restricted subset of English. and construct code for operational system. it may be coded and more closely resemble a programming language.Master of Science in Information Technology M.1Information System Design and Optimization System (ISDOS) :It will be able to generate system specifications from user requirements recorded in a machine-readable form. 6. IT Online Banking Final Project Report Manipal Universal Learning accesses and uses the data base by writing the program in a record-level language provided by the DBMS. write only. OB has been considered as having independent module concept.data access protection.1.

and how modules are combined to achieve systems (organization) and design goals. based on DFD.1. Please see the one example of the project which shows the completely reduce complexity of process and data hiding for configuration of database in Annex …. A series of drawings are prepared by analysts that show the function of the system starting with general overview diagrams. is depicted by means of a structure chart.3Structured Design (SD) Nature of SD is achieved (implemented) by dividing the system in independent modules (separate pieces) that can be designed. 6.Sc.1. Coarse (tho) program structure.NET.6 Specific Data Abstraction. 27 of 185 | Page Online Banking | OB .5. Process. shows relationships between units or modules. 6. then proceeding to detailed diagrams of each specific function. OB has used Visual Basic (VB) for programming interface which is absolutely OOP language. which resembles an organization chart.4Jackson Design Methodology (JDM) The JDM is a three-step design technique.5. It is implemented by Microsoft . There is class for data or information hiding whereas method and function are used for complexity hiding for process and data. Information Hiding OB has used completely object oriented programming language (OOP) concept.5. IT Online Banking Final Project Report Manipal Universal Learning 6. 6. In essence.Master of Science in Information Technology M. implemented and modified with no (or little) effect on other modules of the system. This structure chart. SD is user for OB when developed.5Hierarchy Plus Input.1. and Output (HIPO) HIPO is a graphic technique that can be used to describe a system. it decomposes the design process itself.1.

showed how the data moved from one process to another. 28 of 185 | Page Online Banking | OB . and output it.8 DFDs. IT Online Banking Final Project Report Manipal Universal Learning 6. including electronic stores such as databases or XML files and physical stores such as or filing cabinets or stacks of paper. as well as its logical storage. DFDs show the flow of data from external entities into the system. be electronic data or physical items.2. Data Dictionary. do something to it. Rounded rectangles representing processes. In the late 1970s data-flow diagrams (DFDs) were introduced and popularized for structured analysis and design (Gane and Sarson 1979). There are only four symbols: • • • • Squares representing external entities. which are sources or destinations of data. 6.1.Master of Science in Information Technology M. Arrows representing the data flows.1.1 presents an example of a DFD using the Gane and Sarson notation. Open-ended rectangles representing data stores. Section 5. OB has implemented Microsoft SQL Server 2005 and Microsoft Access Database and its facilities.7 Table structure Table Diagram About SQL Server and database code we can refer annex #10. Pert chart etc. which take data as input. which can either.1.Sc.

Process #2 show the processing of detail information of transaction to store into transaction database which indicates the deposit and withdraw database. It is used for communicating the applicant too. If client is valid then it is process for Transac tion into OB in process #2 otherwise client is registered and save into client database. 29 of 185 | Page Online Banking | OB . And all these are prepared by reports module and it is disseminated by our process of #3 to essential unit and department. IT Online Banking Final Project Report Manipal Universal Learning OB Application Data Follow: Client #1 Registration Client DB #2 Transaction (Dep/Draw) Transaction DB #3 Report Processing Customized Reports Process Details Here.Master of Science in Information Technology M.Sc. we can see Client is element of our external input and going for internal input in our system as application in OB in process #1.

1. IT Online Banking Final Project Report Manipal Universal Learning 6.Master of Science in Information Technology M.9 Form Design ::: Login ::: Home Page 30 of 185 | Page Online Banking | OB .Sc.

IT Online Banking Final Project Report Manipal Universal Learning ::: Search Bank Account ::: Account Search Result 31 of 185 | Page Online Banking | OB .Sc.Master of Science in Information Technology M.

Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning ::: Add New/Edit Bank Account ::: Client Signature Verification – Image Box 32 of 185 | Page Online Banking | OB .Sc.

Master of Science in Information Technology M.Sc. IT Online Banking Final Project Report Manipal Universal Learning ::: Search Voucher ::: Search Voucher Result 33 of 185 | Page Online Banking | OB .

Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning ::: Add New\Edit Voucher ::: Search Ledger for Report Preview 34 of 185 | Page Online Banking | OB .Sc.

IT Online Banking Final Project Report Manipal Universal Learning ::: Ledger for Report Preview and Print ::: Setting for Trial Balance Preview and Print 35 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.Sc.

IT Online Banking Final Project Report Manipal Universal Learning ::: Preview Trial Balance and Print ::: Search System Configuration Key 36 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.Sc.

Master of Science in Information Technology M.Sc. IT Online Banking Final Project Report Manipal Universal Learning ::: Search Result System Configuration Key ::: New/Edit System Configuration Key 37 of 185 | Page Online Banking | OB .

IT Online Banking Final Project Report Manipal Universal Learning ::: Search System Menu Configuration ::: Search Result System Menu Configuration 38 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.Sc.

Master of Science in Information Technology M.Sc. IT Online Banking Final Project Report Manipal Universal Learning ::: New\Edit System Menu Configuration :::::::::: End of This Screen ::::::::: 39 of 185 | Page Online Banking | OB .

2 Functional Testing OB has centralized code system which controls the informality of functions and procedures. 6. System development phase and implementation are goes parallel along with comments.1.1Physical Security Source file is existed in web server so client computer can just access a copy of web page allotted by web server. Only ASP.1 Security of the System OB has implemented the .NET assigned user can access the data and information of the SQL Server which is implemented by OB.2 Testing & Debugging (Methodology use for Testing) 6. 6.NET user security for web server. While we have to user network Microsoft SQL Server database.Master of Science in Information Technology M. 40 of 185 | Page Online Banking | OB . It is conducted while it is implemented. command object and reader for Grid view.1. IT Online Banking Final Project Report Manipal Universal Learning 6. Most of the time is devoted for functional testing in development of OB. We can see this entire thing in project source code.3. we should have permission of computer (WEB Server) user of the computer for the Microsoft SQL Server computer.3 User Operation Manual 6.1 Error Fault and Reliability This project has very good testing period.0.10 Coding OB has use Microsoft .2. 6. Please see annex p rofile from #10. It has very good libraries like SqlDataSource which works for connection.NET security layer of database connection for data security and APSP.2 for project source code.3.0 which reduces more than 70% of C# code than framework 1.Sc. 6.2.NET framework 2.

NET Trascation facilities.1. IT Online Banking Final Project Report Manipal Universal Learning 6.3.3. 6.3. It can get all the security provided by web server like Internet Information Service (IIS).4Application Security It’s a web base application and it depends upon the web server security. 6. 6.3Database Security Database has its own username and password which save the data of database.1.2 Backup and Restore Database OB has implemented Microsoft SQL Server Database. Let’s see some about SQL Sever.Master of Science in Information Technology M.1. SQL Server is a relational database management system (RDBMS) 41 of 185 | Page Online Banking | OB .3.5Transaction Security Session is used to make more secure the transaction with ADO.3. before backup and recovery system we should know about Microsoft SQL Server.2Operating System Level Security Use name and password project the data of individual and session object control the session which is highly used fro session security. Database consists of all the data and information of roster in OB. So. After finishing the session data can not be accessed.Sc. 6.1.

but the past five years have seen greater adoption of the product for larger enterprise databases. IT Online Banking Final Project Report Manipal Universal Learning produced by Microsoft. Microsoft® SQL Server™ 2005 provides support for creating snapshots from SQL Server data using Volume Shadow Copy Service (VSS).Master of Science in Information Technology M. How to get Backup? See the picture bellow. There are four type of backup in SQL Server.Sc. Database Differential 3. This is first screen to get the complete backup of OB which do backup with all the component of the database and schema of users with log. This is accomplished by providing a VSS compliant writer (the SQL writer) so that a third-party backup application can use the VSS framework to back up database files. SQL Server is commonly used by businesses for small. Database – Complete 2.to medium-sized databases. This paper describes the SQL writer component and its role in the VSS snapshot creation and restores process for SQL Server databases. It also captures details on how to configure and use the SQL writer to work with backup applications in the context of the VSS framework. They are:1. Transaction Log 42 of 185 | Page Online Banking | OB . Its primary query language is Transact-SQL. an implementation of the ANSI/ISO standard Structured Query Language (SQL) used by both Mic rosoft and Sybase.

we have to restore the database. File and filegroup As we do backup. 43 of 185 | Page Online Banking | OB . Transaction Log 8. File and filegroup Note: We have to give new database name for restoring database otherwise the database is not restoring into the database. There are four type of restoring database as Backup type. 5.Sc. Database – Complete 6. The physical database is store with its real name not according to given name when we store the database. Database Differential 7.Master of Science in Information Technology M. Simply we user Database -Complete Backup for complete backup of database in which we can restore all database with user schema. They are. IT Online Banking Final Project Report Manipal Universal Learning 4.

Management. OB has to expand to the financial planning and reports which can help to top management and middle management such as profit and lost account. Planning and etc.2 Double Entry Accounting System OB has very good module of accounting with some of important features. IT Online Banking Final Project Report Manipal Universal Learning 7 Opportunity and Future Expansion The OB is the skeleton on of transaction framework of Online Banking and Accounting. for example detail ledger.1 Practical Implementation OB. Marketing. It is hard to implement in real world but it has it own dignity so that it can carry for next change too. Human Resource. cash and bank book and etc. Some of them are Loan Department.Sc. trail balance and reverse data zooming from trail balance. This module has enabled the system for double entry system in which use has to enter only voucher and rest of th e report of financial transactions are prepared by the system. The OB should be integrated all these modules for new innovation of integrated software as Enterprise Resource Planning (ERP).NET technology. 7. Financial. 44 of 185 | Page Online Banking | OB . Some of them are as follows which is the opportunities and future expansion of the software. OB should include many modules for easy and integrated online banking system. is one of the project which is developed with professional skill of DOT. 7.Master of Science in Information Technology M. cash follow. academic student project. It is now just academic project and now somewhere we can use them in out practical business work with some training and manual.

Sc. automatically three tier software architecture has been enabled for end user facility from the three tier architecture. And the login should be for any branch any authentication too. IT Online Banking Final Project Report Manipal Universal Learning 7. If the any select statement is used then it should have condition for specific branch and authentication.Master of Science in Information Technology M.3 Technology Enabled – Ajax OB has been used Ajax in-built of Dot. They have used VSAT connectivity for accessing the application which might be very costly for small or median invested b ank. Let’s see the one example of this statement. There is alternate of this VSAT.NET technology. The Ajax enables the system as if END-USER is working in the desktop software. Database and code of OB has to be designed with multi branch online banking. It reduce s the time to do transactions because why the system has to refresh only the portion that is essential on the screen.NET only. In the context of Nepal. It is better is the overall project is developed in Ajax framework of Dot. 7.3. Standard Charter Bank Ltd has been implemented intranet for sub multi branch. OB has been implemented in web base application so. 45 of 185 | Page Online Banking | OB . It is the computational market in which every su bscriber wants high and productivity products from vendor.1 Multi Brach Banking – Using three tier Software Architecture It is the question how multi branch banking is possible in the real world. That is to publish the OB application online and the security is also to be maintained in such a way for the internet security which might be very high risk. Only the server code should be changed and the most of work of implementation for multi branch have been finished for this purpose except the intranet or internet implementation for the sub branch of the bank to access the application. Most of application end user demand on this basis to fulfill the online banking for multi branch and any time money from any branch.

IT Online Banking Final Project Report Manipal Universal Learning SELECT SQL Statement for any branch condition with Authentication SELECT { [*]. Columns. Cols N } FROM Table_Name [ WHERE Clause with authentication statement ] SELECT * FROM Tbl_Clients WHERE BranName = “Kathmandu” AND SecurityLevel = 3 46 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.Sc.

Security: About the issue of security. OB has implement dynamic component with new Microsoft technology for faster and well being ranking.Sc. Web base application has so many advantages that we can get through that application such as tree-tier software architecture which implements dynamic client support function for platform independent. So.NET framework so. this project is built on Microsoft . it’s better system for financial transaction like bank. Invalid session is not allowed due to its security reason.Master of Science in Information Technology M. Lastly. the error or restricted are message box is displayed for prevention from invalid users. In additional we have implement session approach which make more secured. all the security and protection have been inherited automatically when we use this system. Technology: This present project report has been undertaken to examine and evaluate the OB in web base application.Net framework in ASP.NET with Visual Basic (VB). Any END-USER can browse the system for their daily users or specific use. The session has control the overall system. 47 of 185 | Page Online Banking | OB . IT Online Banking Final Project Report Manipal Universal Learning 8 Conclusion (Thesis) OB will be best academic practice of Microsoft .

htm SQL Server and other information.techinterviews. http://www.Sc. http://en.microsoft. Author: Evangelos Petroutsos (BPB Publication).wikipedia.com System Analysis and Design. Awad.com/artifacts/dataFlowDiagram. IT Online Banking Final Project Report Manipal Universal Learning 9 Bibliography • • • • • • Introduction of Microsoft .Master of Science in Information Technology M. Author: http://www.NET Framework. ASP 3 Instant Reference. System Analysis and Design.com/?p=74 . downloaded from Internet. Author: Elias M.agilemodeling. DFDs and flow chart. website: http://www.org/ 48 of 185 | Page Online Banking | OB .

[FirstName] [varchar](50) NULL. [MaritalStatus] [varchar](50) NULL. [UserName] [varchar](50) NULL. [Address] [varchar](50) NULL. ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] 49 of 185 | Page Online Banking | OB .Sc.1) NOT NULL. [SignatureFile] [varchar](255) NULL. STATISTICS_NORECOMPUTE = OFF. [ClientCode] [varchar](50) NULL. IT Online Banking Final Project Report Manipal Universal Learning 10 Annex 10.[Tbl_Client] 11:50:24 ******/ SET ANSI_NULLS ON Script Date: 12/14/2008 GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo]. CONSTRAINT [PK_Tbl_Client] PRIMARY KEY CLUSTERED ( [ClientID] ASC )WITH (PAD_INDEX = OFF. [Occupation] [varchar](50) NULL.[Tbl_Client]( [ClientID] [int] IDENTITY(1. [LastName] [varchar](50) NULL. IGNORE_DUP_KEY = OFF. [Sex] [varchar](50) NULL.Master of Science in Information Technology M. ALLOW_ROW_LOCKS = ON.1 Database SQL Statement /****** Object: User [ganapati] Script Date: 12/14/2008 11:50:23 ******/ CREATE USER [ganapati] FOR LOGIN [ganapati] WITH DEFAULT_SCHEMA=[dbo] GO /****** Object: Table [dbo]. [Remark] [varchar](255) NULL. [UserPassword] [varchar](50) NULL.

IT Online Banking Final Project Report Manipal Universal Learning GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo]. CONSTRAINT [PK_Tbl_Configuration] PRIMARY KEY CLUSTERED ( [ConfigID] ASC )WITH (PAD_INDEX = OFF.[Tbl_VoucherType]( [VoucherType] [varchar](20) NOT NULL.[Tbl_Configuration] 12/14/2008 11:50:24 ******/ SET ANSI_NULLS ON Script Date: GO GO SET QUOTED_IDENTIFIER ON SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Tbl_VoucherType] 12/14/2008 11:50:24 ******/ SET ANSI_NULLS ON Script Date: GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].Master of Science in Information Technology M. ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo]. 50 of 185 | Page Online Banking | OB .1) NOT NULL. STATISTICS_NORECOMPUTE = OFF.[Tbl_Configuration]( [ConfigID] [int] IDENTITY(1. ALLOW_ROW_LOCKS = ON. [ConfigKey] [varchar](50) NULL.Sc. IGNORE_DUP_KEY = OFF. [ConfigValue] [varchar](50) NULL.

1) NOT NULL. [Remark] [varchar](255) NULL. ALLOW_ROW_LOCKS = ON. [Description] [varchar](255) NULL.[Tbl_Account]( [AccountID] [int] IDENTITY(1. STATISTICS_NORECOMPUTE = OFF. IGNORE_DUP_KEY = OFF.Sc. STATISTICS_NORECOMPUTE = OFF. IGNORE_DUP_KEY = OFF. CONSTRAINT [PK_Tbl_Account_1] PRIMARY KEY CLUSTERED ( [AccountCode] ASC )WITH (PAD_INDEX = OFF.[Tbl_Account] 11:50:24 ******/ SET ANSI_NULLS ON Script Date: 12/14/2008 GO SET QUOTED_IDENTIFIER ON GO GO SET ANSI_PADDING ON CREATE TABLE [dbo]. ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo]. [Description] [varchar](50) NULL.Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning [VoucherTypeCode] [varchar](20) NULL. [AccountCode] [varchar](50) NOT NULL. [Account] [varchar](255) NOT NULL. CONSTRAINT [PK_Tbl_VoucherType] PRIMARY KEY CLUSTERED ( [VoucherType] ASC )WITH (PAD_INDEX = OFF. [ReferenceID] [int] NULL.[Tbl_Voucher_Detail] 51 of 185 | Page Online Banking | OB Script Date: . ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo]. ALLOW_ROW_LOCKS = ON. [ParentCode] [varchar](50) NOT NULL.

2) NULL CONSTRAINT [DF_Tbl_Voucher_Credit] DEFAULT ((0)). 2) NULL CONSTRAINT [DF_Tbl_Voucher_Debit] DEFAULT ((0)). [Remark] [varchar](50) NULL.1) NOT NULL. [Flag] [int] NULL CONSTRAINT [DF_Tbl_Voucher_Flag] DEFAULT ((0)). [Debit] [numeric](18.[Tbl_Voucher_Master] 12/14/2008 11:50:24 ******/ SET ANSI_NULLS ON Script Date: GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO 52 of 185 | Page Online Banking | OB .Sc. CONSTRAINT [PK_Tbl_Voucher] PRIMARY KEY CLUSTERED ( [VoucherDetailID] ASC )WITH (PAD_INDEX = OFF. STATISTICS_NORECOMPUTE = OFF. ALLOW_ROW_LOCKS = ON. [VoucherMasterID] [int] NULL. [LastUser] [varchar](50) NULL. [Credit] [numeric](18. [AccountCode] [varchar](50) NULL.[Tbl_Voucher_Detail]( [VoucherDetailID] [int] IDENTITY(1. IT Online Banking Final Project Report Manipal Universal Learning 12/14/2008 11:50:24 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo]. IGNORE_DUP_KEY = OFF. ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo]. [Description] [varchar](255) NULL.Master of Science in Information Technology M.

[MenuTitle] [varchar](50) NULL. [Flag] [int] NULL CONSTRAINT [DF_Tbl_Voucher_Master_Flag] DEFAULT ((0)). ALLOW_ROW_LOCKS = ON. ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo].1) NOT NULL. IGNORE_DUP_KEY = OFF. [Link] [varchar](255) NULL CONSTRAINT [DF_Tbl_Menu_Link] DEFAULT (' -'). IT Online Banking Final Project Report Manipal Universal Learning CREATE TABLE [dbo]. [Description] [varchar](50) NULL. [VoucherNo] [varchar](50) NULL.[Tbl_Menu]( [MenuID] [int] IDENTITY(1. [MenuCode] [varchar](20) NOT NULL. [LastUser] [varchar](50) NULL. [Active] [int] NULL CONSTRAINT [DF_Tbl_Menu_Active] DEFAULT ((1)). [ParentCode] [varchar](20) NOT NULL. STATI STICS_NORECOMPUTE = OFF. [Param] [varchar](255) NULL.[Tbl_Menu] 11:50:24 ******/ SET ANSI_NULLS ON Script Date: 12/14/2008 GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo]. [VoucherDate] [varchar](10) NULL. CONSTRAINT [PK_Tbl_Menu] PRIMARY KEY CLUSTERED ( 53 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.[Tbl_Voucher_Master]( [VoucherMasterID] [int] IDENTITY(1. CONSTRAINT [PK_Tbl_Voucher_Master] PRIMARY KEY CLUSTERED ( [VoucherMasterID] ASC )WITH (PAD_INDEX = OFF.1) NOT NULL. [VoucherType] [varchar](50) NULL CONSTRAINT [DF_Tbl_Voucher_Master_VoucherType] DEFAULT ('Journal').Sc.

FirstName + ' ' + LastName AS Name. Sex. MaritalStatus. IT Online Banking Final Project Report Manipal Universal Learning [MenuCode] ASC )WITH (PAD_INDEX = OFF.Flag AS MFlag.Tbl_Vo ucher_Master. dbo.Description AS MDescription.VoucherTypeCode. UserName. dbo. Remark FROM dbo. IGNORE_DUP_KEY = OFF.Tbl_Voucher_Master.VoucherDetailID.[View_Voucher_Master_Detail] Date: 12/14/2008 11:50:25 ******/ SET ANSI_NULLS ON Script GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].VoucherDate. RIGHT(ClientCode.Tbl_Client GO /****** Object: View [dbo].Sc. 4. SUBSTRING(ClientCode. dbo.Tbl_Voucher_Detail. UserPassword.Tbl_Voucher_Master.VoucherMasterID.[View_Client] 11:50:25 ******/ SET ANSI_NULLS ON Script Date: 12/14/2008 GO GO SET QUOTED_IDENTIFIER ON CREATE VIEW [dbo].VoucherNo.Tbl_VoucherType. dbo. STATISTICS_NORECOMPUTE = OFF.[View_Voucher_Master_Detail] AS SELECT dbo.[View_Client] AS SELECT ClientID. ALLOW_ROW_LOCKS = ON. 2) AS LeadingCode. ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: View [dbo]. 2) AS RunningCode.Master of Science in Information Technology M.AccountCode. Occupation. dbo.Tbl_Voucher_Master. LEFT(ClientCode. dbo. ClientCode. 54 of 185 | Page Online Banking | OB . dbo. 6) AS Code.VoucherType.Tbl_Voucher_Master. Address. SignatureFile.Tbl_Voucher_Detail. dbo.Tbl_VoucherType.

Tbl_Account.VoucherMasterID = dbo.Account. dbo.[View_Voucher_Master] AS SELECT dbo.Tbl_Voucher_Detail.VoucherType.VoucherTypeCode.Tbl_Voucher_Master.Tbl_Voucher_Detail ON dbo.Flag AS MFlag. dbo.ParentCode.VoucherNo. dbo.Tbl_Account.Tbl_Voucher_Master.Tbl_Account.Tbl_Account.VoucherType GO /****** Object: StoredProcedure [dbo].Tbl_Voucher_Master.Flag FROM dbo.Tbl_Voucher_Detail.Tbl_VoucherType.Tbl_Voucher_Master. dbo.VoucherMasterID.Tbl_Voucher_Detail.Tbl_Voucher_Master.Tbl_Voucher_Master.VoucherType GO /****** Object: View [dbo].VoucherType = dbo.Tbl_VoucherType. IT Online Banking Final Project Report Manipal Universal Learning dbo.Description AS MDescription.AccountCode = dbo.Tbl_Account ON dbo.VoucherMasterID INNER JOIN dbo.Tbl_Voucher_Detail.Tbl_Voucher_Detail.Master of Science in Information Technology M. dbo.[deleteVoucherDetail] Date: 12/14/2008 11:50:25 ******/ SET ANSI_NULLS ON 55 of 185 | Page Online Banking | OB Script .Tbl_Voucher_Master. dbo.Tbl_Voucher_Master.Tbl_VoucherType ON dbo.Tbl_VoucherType ON dbo. dbo.AccountCode INNER JOIN dbo.Tbl_Voucher_Master INNER JOIN dbo.Tbl_VoucherType.Description. dbo.Tbl_Voucher_Master.VoucherType = dbo.Credit.Tbl_Voucher_Detail. dbo. dbo.[View_Voucher_Master] 12/14/2008 11:50:25 ******/ SET ANSI_NULLS ON Script Date: GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].Tbl_Voucher_Master INNER JOI N dbo. dbo.LastUser FROM dbo.ReferenceID. dbo.Sc.Debit. dbo.Tbl_VoucherType.VoucherDate.

Description.View_Voucher_Master_Detail GROUP BY VoucherMasterID.2 Software Application Code 10. SUM(Debit . SUM(Debit) AS Debit. Description GO 10.VisualBasic System. IT Online Banking Final Project Report Manipal Universal Learning GO SET QUOTED_IDENTIFIER ON GO CREATE procedure [dbo].SqlClient System.1 Code: netSystem.Data.UI.Page Online Banking | OB 56 of 185 | Page .[View_1] ******/ SET ANSI_NULLS ON Script Date: 12/14/2008 11:50:24 GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].Configuration System.[deleteVoucherDetail] (@vdid bigint = -1) as begin DELETE FROM Tbl_Voucher_Detail WHERE VoucherDetailID = @vdid end GO /****** Object: View [dbo].2.Web. SUM(Credit) AS Credit.VB Imports Imports Imports Imports Microsoft.[View_1] AS SELECT VoucherMasterID.Sc.Credit) AS Balance FROM dbo.Master of Science in Information Technology M.

1 If IsNumeric(grid.Text. ByVal colName As String) As Integer '**** Date: 2008-11-18 Dim colIndx As Integer = -1 Dim i As Integer For i = 0 To grid.Text.Cells(_getGridViewColumnIndex(grid.Cells(_getGridViewColumnIndex(grid.Rows(i).Rows(i).Rows(i). "Debit")).Text = (d .Columns(i). "Balance")). Double) End If grid.Cells(_getGridViewColumnIndex(grid. "Credit")). "Credit")). IT Online Banking Final Project Report Manipal Universal Learning Public Class _netSystem '******* Other Variables Public rootPath As String Private currentPage As New Web.Page() Public imagePath As String = "images/" Public iSql As String = "" Public iD As Integer '******* Object Variables Public netDatabase As New _Database() Public netRecord As New _Record("") 'Public netClientService As New _ClientService(netDatabase) Public netImage As New _Image(netDatabase) Public Shared inFo As String Public Shared netErrorLevel As New _ErrorLevel() Private Shared _errObject As Exception '****************************************************************** '**************** System Function Interface *********************** '****************************************************************** Public Sub _CalculateGridViewDebitCreditBalance(ByRef grid As GridView) '****** Calculating Running balance Dim row As Integer Dim i As Integer Dim d As Double Dim c As Double Dim b As Double row = grid.Rows.Columns. Double) End If If IsNumeric(grid.Count .Rows(i).Cells(_getGridViewColumnIndex(grid.Sc.Count For i = 0 To row .UI.Text) = True Then c = c + CType(grid.c) Next End Sub Public Function _getGridViewColumnIndex(ByVal grid As GridView.HeaderText = colName) Then colIndx = i 57 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.Cells(_getGridViewColumnIndex(grid. "Debit")).Text) = True Then d = d + CType(grid.Rows(i).1 If (grid.

ToString().Trim() If (lastCode <> "") Then '***** child found arr = lastCode.Account Parent iSql = _ " SELECT max(b.1)) Then newCode = newCode.Sc. ByVal tableName As String.Length .Trim + Seperator. b.Write("<hr>" + arr(i)) Next Else '**** if no max child is found newCode = parentCode. IT Online Banking Final Project Report Manipal Universal Learning End If Next Return colIndx End Function Public Function _getNewItemCode(ByVal parentCode As String.getReader(iSql) If (reader.Trim + startNo." + itemField + "='" + parentCode + "')" reader = netDatabase." + itemField + " = b.Trim + (oneChar + 1)." + itemParentField + _ " WHERE (a.Length . ByVal itemField As String." End If '*** Connecting new code If (i = (arr.") Dim i As Integer Dim oneChar As String For i = 0 To arr.Split(".Trim + Seperator.Trim + oneChar.Trim + Seperator.Read()) Then lastCode = reader("lCode").ToString().Trim Else newCode = newCode.Trim End If 'currentPage." '**** .Trim End If End If Return newCode End Function 58 of 185 | Page Online Banking | OB .ToString(). a.Master of Science in Information Technology M.1 oneChar = arr(i) '*** First seperator eliminator If i = 0 Then Seperator = "" Else Seperator = "." + itemField + ") lCode" + _ " FROM " + tableName + " a INNER JOIN " + tableName + " b " + _ " ON a. ByVal itemParentField As String) As String '********** Date 13-Nov-2008 Dim newCode As String = "" Dim lastCode As String = "" Dim lastNo As Integer = 0 Dim reader As SqlDataReader Dim startNo As Integer = 1 Dim arr As Array Dim Seperator As String = ".Account.Response.

ToString() + "-" + (reader("code") + 1). a. ByVal where As String) As Integer '********* 5-Oct-2008 Dim n As Integer = -1 Try iSql = "DELETE FROM " + tableName + " " + where n = netDatabase.Substring(1) netErrorLevel.Read()) Then newCode = reader("LeadingCode").ToString.ToString.Account. introSec) End If End Set End Property Public Function _deleteRecord(ByVal tableName As String. b. IT Online Banking Final Project Report Manipal Universal Learning Public Property _setInfo() Get Return "" End Get Set(ByVal value) Dim introSec As Integer = netDatabase.Replace("'".ToString.getConfigValue("infoDisplaySec") value = value.getReader(iSql) If (reader.Master of Science in Information Technology M. Max(RunningCode) RunningCode FROM View_Client" reader = netDatabase.ToString() Else newCode = "" End If Catch ex As Exception _setError = ex End Try Return newCode End Function Public Function _getNewVoucherNo(ByVal voucherType As String) As String '********** Date 3-Nov-2008 Dim newCode As String = "" Dim lastCode As String = "" Dim lastNo As Integer = 0 Dim reader As SqlDataReader Dim startNo As Integer = 1 Dim arr As Array Dim Seperator As String = "-" Dim oneChar As String '**** . introSec) Else netErrorLevel.ToString + "-" + reader("RunningCode"). Max(Code) Code._excuteCommand(iSql) Catch ex As Exception _setError = ex End Try Return n End Function Public Function _getNewClientCode() As String Dim reader As SqlDataReader Dim newCode As String Try iSql = "SELECT Max(LeadingCode) LeadingCode. True.Sc._setInfo(value._setInfo(value.Account Parent 59 of 185 | Page Online Banking | OB .StartsWith("@") Then value = value. "") If value. False.

Master of Science in Information Technology M. VoucherTypeCode. IT Online Banking Final Project Report Manipal Universal Learning iSql = _ " SELECT VoucherType. Max(VoucherNo) VoucherNo " + _ " FROM View_Voucher_Master " + _ " WHERE VoucherType='" + voucherType + "'" + _ " Group By VoucherType.Account.ToString().Sc.1)) Then newCode = newCode + Seperator + (oneChar + 1).Trim() If (lastCode <> "") Then '***** child found arr = lastCode.getReader(iSql) Online Banking | OB 60 of 185 | Page .AccountCode) lCode" + _ " FROM tbl_account a INNER JOIN tbl_account b " + _ " ON a. b. "VoucherTypeCode".Split("-") Dim i As Integer For i = 0 To arr.parentcode" + _ " WHERE (a.Account Parent iSql = _ " SELECT max(b.Length .accountcode = b.1 oneChar = arr(i) '*** First seperator eliminator If i = 0 Then Seperator = "" Else Seperator = "-" End If '*** Connecting new code If (i = (arr.ToString() Else newCode = newCode + Seperator + oneChar End If 'currentPage. " Where VoucherType='" + voucherType + "'") newCode = oneChar + Seperator + startNo. a.Write("<hr>" + arr(i)) Next End If Else '**** if no max child is found oneChar = netDatabase.AccountCode='" + parentCode + "')" reader = netDatabase.Length .Read()) Then lastCode = reader("VoucherNo").Response.getReader(iSql) If (reader." ' ' ' ' ' ' ' '**** .ToString() End If Return newCode End Function 'Public Function _getNewAccountCode(ByVal parentCode As String) As String ' '********** Date 3-Nov-2008 ' Dim newCode As String = "" ' Dim lastCode As String = "" ' Dim lastNo As Integer = 0 ' Dim reader As SqlDataReader ' Dim startNo As Integer = 1 ' Dim arr As Array ' Dim Seperator As String = ". VoucherTypeCode" '_setInfo = voucherType reader = netDatabase.getTableValue("Tbl_VoucherType".

insertCommandPreparationOnly) Dim cmd As SqlCommand = netDatabase.commandType. netDatabase.") Dim i As Integer Dim oneChar As String For i = 0 To arr.Response.tableName.commandType.getKeyName(0).ToString() ' End If ' End If ' Return newCode 'End Function Public Function _saveRecord(ByRef record As _Record.1)) Then ' newCode = newCode + Seperator + (oneChar + 1). ByVal iCommandType As _Record.getCommand(iSql)) If (cmd.commandType.getKeyName(0). _Record.tableName.Read()) Then lastCode = reader("lCode"). iD) Return True Else Return False End If ElseIf (iCommandType = _Record.Trim() If (lastCode <> "") Then '***** child found arr = lastCode.getCommand(iSql)) If (cmd.Length .commandType.Sc. record.updateRecordValue(record. "") record. netDatabase. _Record.commandType) As Boolean '***** Date 2-Nov-2008 Try '_write("Table" + record.ToString().ExecuteNonQuery() >= 1) Then 61 of 185 | Page Online Banking | OB .updateCommandPreparationOnly) Dim cmd As SqlCommand = netDatabase.ExecuteNonQuery() >= 1) Then iD = netDatabase. IT Online Banking Final Project Report Manipal Universal Learning ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' If (reader.ToString() ' Else ' newCode = newCode + Seperator + oneChar ' End If ' 'currentPage.Length .tableName.tableName) If iCommandType = _Record.getPreparedCommandParameter(record.insertCommand Then iSql = record.Master of Science in Information Technology M.getMaxID(record.updateCommand) Then iSql = record.Split(". record.Write("<hr>" + arr(i)) ' Next ' Else ' '**** if no max child is found ' newCode = parentCode + Seperator + startNo." End If ' '*** Connecting new code ' If (i = (arr.getIsql(record.1 oneChar = arr(i) '*** First seperator eliminator If i = 0 Then Seperator = "" Else Seperator = ".getPreparedCommandParameter(record. record.getIsql(record.

Nodes(i). IT Online Banking Final Project Report Manipal Universal Learning Return True Else Return False End If End If Catch ex As Exception Dim e As New Exception(ex.doErrorAction(value) End Set End Property Public Sub _showDialog(ByVal mess As String.ToString()) If tree. reader(0).ToString.Value) = 0 Then isExistNode = True Exit For 62 of 185 | Page Online Banking | OB .Read()) list = New ListItem(reader(1).Clear() While (reader.Items. ByVal iSql As String) '*** Date: 2-Nov-2008 *** 'Dim dDList As New DropDownList() Dim list As ListItem Dim reader As SqlDataReader reader = netDatabase.Nodes(i).Sc.doErrorAction(ex. Optional ByRef parent As TreeNode = Nothing) As Boolean Dim isExistNode As Boolean = False 'Try Dim i As Integer For i = 0 To tree.ToString.getReader(iSql) dDList. ByVal iStyle As _ErrorLevel.Count .Value.Trim.Trim) dDList.CompareTo(node.CompareTo(node.1 'Me.Add(list) End While '_fillComboList = dDList 'Return dDList End Sub Public Shared Property _setError() Get Return _errObject End Get Set(ByVal value) netErrorLevel.Value)._writeLine(tree. ByRef node As TreeNode.ajaxMessageBoxStyle) Dim ex As New Exception(mess) netErrorLevel. iStyle) End Sub Function _addNode(ByRef tree As TreeView.Items.Nodes.Message + " ISQL: " + iSql) _setError = e End Try End Function Public Sub _fillComboList(ByVal dDList As DropDownList.ValuePath + " and " + node.Master of Science in Information Technology M.Value.Value + " = " + tree.Nodes(i).

ByVal tableName As String.ToUpper.Add(node) End If End If Return isExistNode End Function Function _getLoadedTree(ByRef tree As TreeView.Master of Science in Information Technology M.StartsWith("WHERE") Then myWhere = where Else myWhere = " WHERE " + where End If End If Dim isql As String = _ " SELECT DISTINCT " + idField + ".Nodes.Clear() '**** Removing where clause if exists If (where <> "") Then If where. ByVal linkField As String.Trim.Substring(6) + ")" '**** remove the 'where' Else myWhere = " AND (" + where + ")" 63 of 185 | Page Online Banking | OB . " + titleField + ".StartsWith("WHERE") Then myWhere = " AND (" + where. " + parentIdField + ". ByVal idField As String. Optional ByVal where As String = "". _ ByVal titleField As String.getReader(isql) tree.Add(node) Else parent. Optional ByVal showCode As Boolean = True) As TreeView 'Dim tree As New TreeView() Try '**** Adding where clause if exists Dim myWhere As String = "" If (where <> "") Then If where. ByVal parentIdField As String.Nodes.Trim.Trim. " + linkField + _ " FROM " + tableName + " WHERE " + idField + " IN " + _ " (SELECT DISTINCT " + parentIdField + " FROM " + tableName + " " + myWhere + " ) ORDER BY " + idField Dim Dim Dim Dim Dim Dim Dim Dim readerParent As SqlDataReader readerChild As SqlDataReader nodeChild As TreeNode nodeParent As TreeNode n As Integer bool As Boolean nodeText As String = "" linkText As String = "" readerParent = netDatabase. IT Online Banking Final Project Report Manipal Universal Learning End If Next 'Me.ChildNodes._writeLine("<hr>") 'Catch ex As Exception 'End Try If isExistNode = False Then If (parent Is Nothing) Then tree.ToUpper.Sc.

Nodes(n). " + linkField + " FROM " + tableName + _ " WHERE (" + parentIdField + "='" + readerParent(idField) + "') " + myWhere + " ORDER BY " + idField readerChild = netDatabase.ToString. "".Text) n = _getNodeID(tree. readerParent(parentIdField)) If (n.Add(nodeParent) bool = _addNode(tree. readerParent(idField).Add(nodeParent) bool = _addNode(tree.Trim = "-") Then linkText = "javascript:void(0)" Else linkText = readerChild(linkField) End If nodeChild = New TreeNode(nodeText. nodeParent) Else '*****Me.Text) '***** Child Node isql = "select " + idField + ".ToString._writeLine(nodeParent._write("<BR>*" + nodeParent._writeLine("----" + nodeChild.ChildNodes. " + titleField + ".Equals(-1) = True) Then 'nodeParent.Nodes.Nodes.Hello : " + tree.ToString()) 'Me.Trim = "" Or readerChild(linkField). linkText.ChildNodes._writeLine(nodeParent. nodeParent.Sc.Master of Science in Information Technology M.Equals(-1) = True) Then '****tree. "") n = _getNodeID(tree. readerChild(parentIdField)) If (n._write("P. "".ToString()) 'Me.Read()) If (showCode = True) Then nodeText = readerChild(idField) + " " + readerChild(titleField) Else nodeText = readerChild(titleField) End If If (readerChild(linkField). "") 'Me.getReader(isql) While (readerChild.Nodes(n)) End If 'Me. linkText.Nodes(n).Add(nodeChild) 64 of 185 | Page Online Banking | OB .ToString.Text + " Exist:" + bool.Read()) If (showCode = True) Then nodeText = readerParent(idField) + " " + readerParent(titleField) Else nodeText = readerParent(titleField) End If If (readerParent(linkField).Count. tree. " + parentIdField + ".Text + " " + tree.Text) '*****tree.Trim = "" Or readerParent(linkField).Trim = "-") Then linkText = "javascript:void(0)" Else linkText = readerParent(linkField) End If '**** Parent Node nodeParent = New TreeNode(nodeText. readerChild(idField).ToString. IT Online Banking Final Project Report Manipal Universal Learning End If End If While (readerParent.

Text + " Child: " + nodeChild.Text + " " + tree.Bold = True tree.Master of Science in Information Technology M.ParentNodeStyle.ForeColor = Drawing.Text) 'tree.Nodes(i).Nodes.Hello : " + tree.Count.Nodes(n)) End If 'Me._write("<BR>KEY NODE: " + tree.Sc. tree. ByVal key As String) As Integer Dim n As Integer = -1 Dim i As Integer If tree. IT Online Banking Final Project Report Manipal Universal Learning _addNode(tree._write("<HR>") End If Return n End Function Public Function _write(ByVal x As String) As Boolean Try 'If Not currentPage Is Nothing Then currentPage. nodeChild.Color.Response. "k" + readerChild(idField)) 'Me.Nodes(n).Write(x) 'End If Return True Catch ex As Exception Return False End Try End Function Public Function _writeLine(ByVal x As String) As Boolean Try currentPage.KEY NODE: " + tree.ExpandAll() Return tree Catch ex As Exception _setError = ex Return tree End Try End Function Function _getNodeID(ByRef tree As TreeView.Write("<br>" + x) Return True Catch ex As Exception 65 of 185 | Page Online Banking | OB .Add(nodeChild) _addNode(tree.Nodes(n).Text + " C:" + tree.Count .Green tree.ToString()) If tree.Nodes(i).Nodes(i).Nodes._write("<BR> --+-.ToString()._write("C.Nodes(i).Nodes.ToString()) End While End While tree.Count.Nodes.1 'Me.Count >= 1 Then For i = 0 To tree.Value + " KEY:" + key + " Text: " + tree.Value + " KEY:" + key + " Text: " + tree.ParentNodeStyle._writeLine("------" + nodeChild.Nodes(i).Response.Text) n = i Exit For End If Next 'Me.ChildNodes. nodeChild. nodeParent) Else 'nodeChild = New TreeNode("Hello Node " + n.Value = key Then 'Me.Font.

currentWebPage = currentPage netImage. <p> .getConfigValue("projectTitle") netDatabase. " + _ " Please <a href='" + rootPath + "'> logoin again </a>.Rajendra Man Banepali") _showDialog(ex.MapPath(""). currentPage.master" 'currentPage.Title = netDatabase. IT Online Banking Final Project Report Manipal Universal Learning Return False End Try End Function Public Property currentWebPage() Get Return currentPage End Get Set(ByVal value) 'Try currentPage = value currentPage.Master of Science in Information Technology M.UI.Write("CUR SESS: " + currentPage.Response.Item("currSessionId")) Dim ex As New Exception( _ " Sorry! This area is the unaccessible area due to limitation of session authentication.Substring(0.Write("Hello") End Sub Public Sub New() End Sub Protected Overrides Sub Finalize() _errObject = Nothing 66 of 185 | Page Online Banking | OB .Message.Write(currentPage.Item("currSessionId") 'currentPage. _ErrorLevel.Session().Response.MasterPageFile = "_new.noCloseBox) End If '************ Checking Security ****************** '*** Error Handling If Not (_errObject Is Nothing) Then _setError = _errObject End If 'Catch ex As Exception ' 'End Try End Set End Property Public Sub New(ByRef _page As Web.currentWebPage = currentPage 'netClientService.getConfigValue("virtualApplicationName") 'currentPage.MapPath("").SessionID) Then 'currentPage.Session().Sc. The Session has been finished.IndexOf("components")) '************ Checking Security ****************** Dim currSession As String = currentPage.currentWebPage = currentPage netErrorLevel.Response.Page) currentPage = _page 'currentPage.Items("Name")) If (currSession <> currentPage.ajaxMessageBoxStyle.currentWebPage = currentPage rootPath = "/" + netDatabase.Session().currentWebPage = currentPage netRecord.

This automatic fading message.innerHTML + '<br>" + x + "'. IT Online Banking Final Project Report Manipal Universal Learning MyBase.Sc.UI. " End If Dim checkExistingMsgbox = _ " <script language='javascript' type='text/javascript'> " & _ 67 of 185 | Page Online Banking | OB .Page() Public Enum ajaxMessageBoxStyle hasCloseBox = 1 noCloseBox = 2 End Enum Public Property currentWebPage() Get Return currentPage End Get Set(ByVal value) currentPage = value 'currentPage.<a href=javascript:void(0) onmouseover=stopMe()>Hide Me</a>&nbsp.Response.&nbsp.Master of Science in Information Technology M.Finalize() End Sub '****************************************************************** '**************** System Function Interface *********************** '****************************************************************** '********* System error Class _ErrorLevel Private currentPage As New Web.Write("Hello") End Set End Property Public Sub _setInfo(ByVal x As String. " Else doClearText = " msg. Optional ByVal intervalSec As Integer = 3000) Try '<table width=100%><tr><td bgcolor=white></td></tr></table> <table width=100%><tr><td bgcolor=white></td></tr></table> Dim header As String = "<span id=infoAlert> Alert: </span><dd><span id=infoText>" Dim footer As String = "</span><span id=infoAlertFooter> [&nbsp. Optional ByVal doClear As Boolean = False.Write(formateMessageBg) Dim doClearText As String = "" If doClear = False Then doClearText = " msg.visibility = 'hidden'. " & _ 'currentPage.innerHTML=msg.innerHTML='" + header + x + footer + " <br>'.Response. </span>" 'x = "<span id=infoAlert> Alert: </span> " + x Dim formateMessageBg As String = "<div id=infoBackScreen onclick=clickMessage()> " + header + x + footer + "</div>" '" msg.style.]&nbsp.

IT Online Banking Final Project Report Manipal Universal Learning " var msg = document.style. " & _ " } " & _ "</script>" Dim callFunctionScript As String = _ "<script language='javascript' type='text/javascript'>" & _ " opact = 100. " & _ " }else{" & _ doClearText & _ "}. " & _ " msgbox.getElementById('infoBackScreen').Response. " & _ " return(0).Sc.Response. " & _ "</script>" 'Dim formateMessage As String = "<div id='infoMessageBox' > </div>" " + x + " currentPage.Response. " & _ " } " & _ "} " & _ " " & _ "function clickMessage(){ " & _ " opact = 50.style.filter = 'Alpha(Opacity=' + opact + '. " & _ " var msgbox = document. " & _ " }else{ " & _ " setTimeout(hideMessage.visibility = 'hidden'.ToString + ").Write(scriptText) currentPage. Style=fade)'.50. " & _ " setTimeout(hideMessage. 1). 1). " & _ " setTimeout(hideMessage.Write(callFunctionScript) 'currentPage. " & _ " " & _ "function hideMessage(){" & _ " opact--.Master of Science in Information Technology M. 1). " & _ " } " & _ " " & _ " function stopMe(){ " & _ " opact = opact . " & _ " setTimeout(hideMessage. " & _ " msgbox.Response. " & _ " if (msg != '[object]') { " & _ " document.Write(checkExistingMsgbox) currentPage.write('" + formateMessageBg + "'). " + intervalSec.Write("Hello <script language='javascript' type='text/javascript'>" & _ ' " var msgbox = 68 of 185 | Page Online Banking | OB .getElementById('infoBackScreen')." & _ " </script> " Dim scriptText As String = _ "<script language='javascript' type='text/javascript'>" & _ " var opact = 100. FinishOpacity=0.getElementById('infoBackScreen'). " & _ " if (opact <= 0 ) { " & _ " var msgbox = document.

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

document.getElementById('infoBackScreen'); " & _ ' "</script>") Catch ex As Exception End Try End Sub Public Sub doErrorAction(ByVal ex As Exception, Optional ByVal iStyle As ajaxMessageBoxStyle = ajaxMessageBoxStyle.hasCloseBox) 'currentPage.Response.Redirect("components\com_offline\offline.aspx?emess=" + ex.Message) Try Dim formateMessage As String = "" Dim errMessage = ex.Message Dim scriptText As String = _ "<script language='javascript'>" & _ "function closeMessage(){" & _ " var msgbg = document.getElementById('backScreen'); " & _ " var msgbox = document.getElementById('messageBox'); " & _ " msgbg.style.visibility = 'hidden'; " & _ " msgbox.style.visibility = 'hidden'; " & _ "} " & _ "</script>" '" '" '" '" 'alert(msgbg.style.visibility = 'hiddel'); " & _ //} " & _ //if (msgbg.style){" & _ alert(document.getElementById('messageBox').style) " & _

Dim formateMessageBg As String = "<div id='backScreen' > </div>" If (iStyle = ajaxMessageBoxStyle.hasCloseBox) Then formateMessage = "<div id='messageBox' > <div id='messageBox-Title'> System Alert </div> <a href='javascript:void(0)' onclick='closeMessage()'> <div id='messageBox-Title-ControlBox'></div> </a> <div id='messageBox-TextArea'>" + errMessage + " </div> </div>" ElseIf (iStyle = ajaxMessageBoxStyle.noCloseBox) Then formateMessage = "<div id='messageBox' > <div id='messageBox-Title-noClose'> System Alert </div> <div id='messageBoxTextArea'>" + errMessage + " </div> </div>" End If '_write(scriptText + " " + formateMessageBg + " " + formateMessage) currentPage.Response.Write(scriptText) currentPage.Response.Write(formateMessageBg) currentPage.Response.Write(formateMessage) Catch e As Exception 'currentPage.Response.Write(ex.Message) End Try End Sub End Class '********* System error

69 of 185 | Page

Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

'********** Class Image for Image Procedure Class _Image Public currentFileName As String Private currentPage As New Web.UI.Page() Public db As _Database Public Property currentWebPage() Get Return currentPage End Get Set(ByVal value) currentPage = value 'currentPage.Response.Write("Hello") End Set End Property Public Sub New(ByVal _db As _Database) db = _db End Sub Public Sub _showPicture(ByVal img As String) Dim scriptText As String = _ "<script language='javascript'>" & _ "function closeMessage(){" & _ " var msgbg = document.getElementById('backScreen'); " & _ " var msgbox = document.getElementById('messageBox'); " & _ " msgbg.style.visibility = 'hidden'; " & _ " msgbox.style.visibility = 'hidden'; " & _ "} " & _ "</script>" '" '" '" '" 'alert(msgbg.style.visibility = 'hiddel'); " & _ //} " & _ //if (msgbg.style){" & _ alert(document.getElementById('messageBox').style) " & _

Dim formateMessageBg As String = "<div id='backScreen' > </div>" Dim formateMessage As String = "<div id='messageBox' > <div id='messageBox-Title'> Image Display </div> <a href='javascript:void(0)' onclick='closeMessage()'> <div id='messageBox-Title-ControlBox'></div> </a> <div id='messageBox-ImageArea'> <img src='" + img + "'> </div> </div>" currentPage.Response.Write(scriptText) currentPage.Response.Write(formateMessageBg) currentPage.Response.Write(formateMessage) End Sub

Public Function getSignatureFile(ByVal ClientCode As String) As String Try 70 of 185 | Page Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

Dim sourceDirectory = db.getConfigValue("signatureDirectory") Dim rootPath As String = currentPage.MapPath("") rootPath = rootPath.Substring(0, rootPath.IndexOf("components") - 1) rootPath.Replace("/", "\") 'Dim sourcePath As String = sourceDirectory Dim sourcePath As String = rootPath + "\" + sourceDirectory Dim fileExtension As String = db.getConfigValue("signatureFileExtension") Dim sourceFile As String = sourcePath + "\" + ClientCode + "." + fileExtension Return sourceFile Catch ex As Exception Return ex.Message End Try End Function Public Function copySignature(ByVal destinationFile As FileUpload, ByVal ClientCode As String) As Boolean Try destinationFile.SaveAs(getSignatureFile(ClientCode)) Return (True) Catch ex As Exception 'currentPage.Response.Write(ex.Message) Return (False) End Try End Function End Class

'*********** Class Client Service '******************************** 'Class _ClientService 'Public isql As String 'Public db As _Database 'Public ClientID As Integer 'Private currentPage As New Web.UI.Page() 'Public Property currentWebPage() ' Get ' Return currentPage ' End Get ' Set(ByVal value) ' currentPage = value ' 'currentPage.Response.Write("Hello") ' End Set 'End Property 'Public Sub New(ByVal _db As _Database) ' db = _db 'End Sub 'Public Function saveClientRegistration(ByRef record As _Record, ByVal 71 of 185 | Page Online Banking | OB

commandType.ExecuteNonQuery() >= 1) Then ' Return True ' Else ' Return False ' End If ' End If ' End Function 'End Class '******** end of Client Service 72 of 185 | Page Online Banking | OB .updateRecordValue(record.ExecuteNonQuery() >= 1) Then ' ClientID = db.commandType) As Boolean ' If iCommandType = _Record.getKeyName(0).tableName.ExecuteNonQuery() >= 1) Then ' ClientID = db.commandType.getIsql(record.commandType.getCommand(iSql)) ' If (cmd.tableName.getPreparedCommandParameter(record. record.getIsql(record.updateCommand) Then ' isql = record.Sc.tableName.commandType.updateCommand) Then ' iSql = record. "") ' record.ExecuteNonQuery() >= 1) Then ' Return True ' Else ' Return False ' End If ' End If 'End Function ' Public Function saveRecord(ByRef record As _Record. record.getCommand(isql)) ' If (cmd.updateCommandPreparationOnly) ' Dim cmd As SqlCommand = db.insertCommandPreparationOnly) ' Dim cmd As SqlCommand = db. record. ClientID) ' Return True ' Else ' Return False ' End If ' ElseIf (iCommandType = _Record.updateRecordValue("ClientID".Master of Science in Information Technology M.insertCommand Then ' iSql = record.getMaxID(record.insertCommandPreparationOnly) ' Dim cmd As SqlCommand = db. IT Online Banking Final Project Report Manipal Universal Learning iCommandType As _Record.getCommand(iSql)) ' If (cmd. db. _Record.commandType. ByVal iCommandType As _Record.commandType.getCommand(isql)) ' If (cmd. db.getPreparedCommandParameter(record.commandType. ClientID) ' Return True ' Else ' Return False ' End If ' ElseIf (iCommandType = _Record. "") ' record. "tbl_client".getIsql(record. _Record.getMaxID("tbl_client". _Record.getPreparedCommandParameter(record.commandType) As Boolean ' '***** Date 2-Nov-2008 ' If iCommandType = _Record.commandType.getKeyName(0).getIsql(record.getPreparedCommandParameter(record.insertCommand Then ' isql = record. "tbl_client". db. _Record. "ClientID". db.updateCommandPreparationOnly) ' Dim cmd As SqlCommand = db.

sqlConn1) reader = cmd.Page() Public Property currentWebPage() Get Return currentPage End Get Set(ByVal value) currentPage = value 'currentPage. "".ExecuteReader() Catch ex As Exception _setError = ex End Try Return (reader) 73 of 185 | Page Online Banking | OB .UI.Open() Dim cmd As New SqlCommand(iSql.Sc. "Hello message from Rajendra") _errObject = ex '_setError = ex End Try End Sub Public Function _excuteCommand(ByVal iSql As String) As Integer '******* 5 Nov 2008 Dim n As Integer Try Dim sqlConn1 As New SqlConnection() sqlConn1 = New SqlConnection(connString) sqlConn1.Write("Hello") End Set End Property Public Sub New() Try connString = ConfigurationSettings. IT Online Banking Final Project Report Manipal Universal Learning '*********** Class Database Engine '******************************** Class _Database Public connString As String Public sqlConn As SqlConnection Private currentPage As New Web.Response.Raise(101.AppSettings("DSN") sqlConn = New SqlConnection(connString) sqlConn.Master of Science in Information Technology M.ExecuteNonQuery() Catch ex As Exception _setError = ex End Try Return (n) End Function Public Function getReader(ByVal iSql As String) As SqlDataReader Dim reader As SqlDataReader Try Dim sqlConn1 As New SqlConnection() sqlConn1 = New SqlConnection(connString) sqlConn1. sqlConn1) n = cmd.Open() Catch ex As Exception 'Err().Open() Dim cmd As New SqlCommand(iSql.

SelectCommand = isql Return (sqlDS) End Function Public Function getNewID(ByVal tableName As String. ByVal where As String) As Integer Dim isql As String Dim reader As SqlDataReader isql = "SELECT max(" + fieldName + ") as " + fieldName + " FROM " + tableName + " " + where reader = getReader(isql) If (reader.Read) Then Return reader(fieldName) Else Return reader(-1) End If End Function Public Function isRecordExist(ByVal tableName As String. Optional ByVal where As String = "") As String Try Dim isql As String Dim reader As SqlDataReader isql = "SELECT " + fieldName + " as " + fieldName + " FROM " + tableName + " " + where reader = getReader(isql) If (reader.Master of Science in Information Technology M. ByVal fieldName As String. IT Online Banking Final Project Report Manipal Universal Learning End Function Public Function getSqlDataSource(ByVal isql As String. ByVal where As String) As Integer Dim isql As String Dim reader As SqlDataReader isql = "SELECT (max(" + fieldName + ")+1) as " + fieldName + " FROM " + tableName + " " + where reader = getReader(isql) If (reader. ByVal where As String) As Boolean Dim isql As String Dim reader As SqlDataReader isql = "SELECT * FROM " + tableName + " " + where reader = getReader(isql) If (reader. ByVal fieldName As String.Sc. ByVal sqlDS As SqlDataSource) As SqlDataSource sqlDS.ConnectionString = connString sqlDS. ByVal fieldName As String.Read) Then Return reader(fieldName) Else Return reader(-1) End If End Function Public Function getMaxID(ByVal tableName As String.Read) Then Return True Else Return False End If End Function Public Function getTableValue(ByVal tableName As String.Read) Then Return reader(fieldName) Else 74 of 185 | Page Online Banking | OB .

Data.Value = fieldValue Next Return (cmd) End Function End Class '********* end of Database Class 75 of 185 | Page Online Banking | OB .1 For j = 0 To record.SqlDbType. sqlConn) Return (cmd) End Function Public Function getPreparedCommandParameter(ByVal record As _Record.row(0.Message End Try End Function Public Function getCommand(ByVal isql As String) Dim cmd As New SqlCommand(isql. j) ElseIf j = 1 Then fieldValue = record.Message End Try End Function Public Function getConfigValue(ByVal key As String) As String 'Dim isql As String 'Dim reader As SqlDataReader 'isql = "SELECT configValue FROM tbl_configuration WHERE configKey='" + key + "'" 'reader = getReader(isql) 'If (reader. "where ConfigKey='" + key + "'")) Catch ex As Exception Return ex.GetLength(0) record. "configValue". ByVal cmd As SqlCommand) As SqlCommand Dim i As Integer Dim j As Integer Dim fieldName As String = "" Dim fieldValue As String = "" For i = 0 To record.Add("@" + fieldName.Sc.row.row(0.row = record.Master of Science in Information Technology M.Parameters.VarChar).Count .readRecord(i) If j = 0 Then fieldName = record.Read) Then ' Return reader("configValue") 'Else ' Return reader("") 'End If Try Return (getTableValue("tbl_configuration". j) End If Next cmd. IT Online Banking Final Project Report Manipal Universal Learning Return reader("") End If Catch ex As Exception Return ex.

Master of Science in Information Technology M. j) End If Next If (i = index) Then findValue = fieldName Exit For End If Next Return (findValue) End Function Public Function getRecordValue(ByVal key As String) As String '****** get exiting value accordint to key '****** key is never changed by secondary process Dim i As Integer 76 of 185 | Page Online Banking | OB .Sc.Page() Public Property currentWebPage() Get Return currentPage End Get Set(ByVal value) currentPage = value 'currentPage.row(0.row.Write("Table: " + tableName) 'currentPage.Response.row = Me. 1) As String Public tableName As String Public Enum commandType As Integer insertCommand = 0 insertCommandPreparationOnly = 1 updateCommand = 2 updateCommandPreparationOnly = 3 End Enum Private currentPage As New Web.GetLength(0) Me.row(0.Count .Response. j) ElseIf j = 1 Then fieldValue = Me.Write("Hello") End Set End Property Public Sub New(ByVal name As String) tableName = name End Sub Public Function getKeyName(ByVal index As Integer) As String Dim i As Integer Dim j As Integer Dim fieldName As String = "" Dim fieldValue As String = "" Dim findValue = "" For i = 0 To Me.UI.1 For j = 0 To Me.readRecord(i) If j = 0 Then fieldName = Me. IT Online Banking Final Project Report Manipal Universal Learning '***** User defined records '*************************** Public Class _Record Inherits ArrayList Public row(0.

row(0.row(0.RemoveAt(i) Me.1 For j = 0 To Me.row = Me. ByVal iType As commandType) As String Dim tmpIsql As String = "" Dim i.Count .readRecord(i) If j = 0 Then fieldName = Me. ByVal tableName As String.1 For j = 0 To Me. 1) = newValue '***** Value replace by newValue Me.Sc.row(0. j) ElseIf j = 1 Then fieldValue = Me.GetLength(0) Me.Insert(i.Count .GetLength(0) Me. j) End If Next If (fieldName = key) Then Me. j As Integer Dim fieldName As String = "" Dim fieldValue As String = "" 77 of 185 | Page Online Banking | OB . j) ElseIf j = 1 Then fieldValue = Me.readRecord(i) If j = 0 Then fieldName = Me. j) End If Next If (fieldName = key) Then findValue = fieldValue Exit For End If Next Return (findValue) End Function Public Function updateRecordValue(ByVal key As String.row(0.row(0.Master of Science in Information Technology M.row. ByVal newValue As String) As Boolean '****** update value accordint to key '****** key is never changed by secondary process Dim i As Integer Dim j As Integer Dim fieldName As String = "" Dim fieldValue As String = "" Dim isFindObject As Boolean = False For i = 0 To Me. IT Online Banking Final Project Report Manipal Universal Learning Dim Dim Dim Dim j As Integer fieldName As String = "" fieldValue As String = "" findValue = "" For i = 0 To Me.row. row) isFindObject = True Exit For End If Next Return (isFindObject) End Function Public Function getIsql(ByVal record As _Record.row = Me.

ToString() + " .updateCommand Or commandType.row(0. j) fieldName = record.row.row(0.row(0. j) End If Next '*** loop end J If (i = 1) Then fieldList = fieldName Else fieldList = fieldList + ". " + fieldName If (iType = commandType.row(0.Count .insertCommandPreparationOnly '**** Skiping Iddentity Fild as Primary key not to be inserted '**** Loop start Field from second only For i = 1 To record. '" + fieldValue + "'" End If Next '***** loop end I tmpIsql = "INSERT INTO " + tableName + "(" + fieldList + ") VALUES(" + valueList + ")" Case commandType.GetLength(0) record.row = record. j) 'info = info + " = " + record. j) Else fieldValue = record." For j = 0 To record.row = record. @" + fieldName ElseIf (iType = commandType.row(0. IT Online Banking Final Project Report Manipal Universal Learning Dim valueList As String = "" Dim fieldList As String = "" Select Case iType Case Is = commandType.row(0.row(0.1 'info = info + i.ToString() + " .Sc.1 'info = info + i. j ) End If Next '*** loop end J If (i = 0) Then where = " Where " + fieldName + "=@" + fieldName Else If (i = 1) Then updateList = fieldName + "=@" + fieldName 78 of 185 | Page Online Banking | OB . j) 'info = info + " = " + record.Count .readRecord(i) If j = 0 Then 'info = info + record. j) fieldName = record." For j = 0 To record.insertCommand) Then If (i = 1) Then valueList = "'" + fieldValue + "'" Else valueList = valueList + ".row(0.insertCommand Or commandType.Master of Science in Information Technology M.updateCommandPreparationOnly '**** not Skiping Iddentity Fild as Primary key not to be update and it's used for update key '**** Loop start Field from second only Dim where As String = "" Dim updateList As String = "" For i = 0 To record.GetLength(0) record.row.insertCommandPreparationOnly) Then If (i = 1) Then valueList = "@" + fieldName Else valueList = valueList + ". j) Else fieldValue = record.readRecord(i) If j = 0 Then 'info = info + record.

2 Style Sheet: Style.org/copyleft/gpl.php for copyright notices and details. margin: 0px. */ #wrapper { border: 0px.css /** * @version $Id: template_css. * @license http://www.Sc. 1) = col2 : Add(rs) Return (Me) End Function Public Function readRecord(ByVal rowNo As Integer) Return Me(rowNo) End Function End Class '******** End of Record class End Class 'END OF System Class 10.php * Joomla! is free software and parts of it may contain or be derived from works * licensed under the GNU General Public License or other free or open source * software licenses. IT Online Banking Final Project Report Manipal Universal Learning Else updateList = updateList + ".gnu. ByVal col2 As Object) As ArrayList Dim rs(0. 0) = col1 : rs(0. margin-left: auto. 1) As String rs(0. See COPYRIGHT.Master of Science in Information Technology M. 79 of 185 | Page Online Banking | OB . All rights reserved.css 1594 2005-12-31 04:51:00Z stingrey $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters.html GNU/GPL. margin-right: auto.2. " + fieldName + "=@" + fieldName End If End If Next '***** loop end I tmpIsql = "UPDATE " + tableName + " SET " + updateList + " " + where End Select Return tmpIsql End Function Public Function addRecord(ByVal col1 As Object.css / Template. see LICENSE.

text-decoration: none. margin: 0px. text-decoration : underline./images/version. } table#toolbar a. } a:hover { color : #30569D./. } #header { background-color: #FFF. margin: 0px. padding: 0px. margin-right: auto.toolbar:hover { color : #C64934.. font-size: 12px. width: 100%. background-color: #f1e8e6.toolbar:active { 80 of 185 | Page Online Banking | OB .. display: inline. padding: 0px 5px 0px 5px. } table#toolbar a.. text-decoration : underline. background-position: right top. padding: 2px 1px 2px 1px. border-bottom: 4px solid #C64934. border: 1px solid #c24733. background-position: bottom right.toolbar { color : #808080. background: url(. } table#toolbar { margin-right: 10px.png) no-repeat.. margin-left: auto. display: block. } table#toolbar a. } a { color: #C64934. padding: 3px 0px 1px 2px./images/header_bg. width: 55px. IT Online Banking Final Project Report Manipal Universal Learning padding: 0px. } #joomla { position: relative. } a:active { color : #333333. } #wrapper1 div { border: 0px. border: 1px solid #DDD.png). background: url(. text-decoration : none.Sc.Master of Science in Information Technology M./.

. Helvetica. } 81 of 185 | Page Online Banking | OB . font-size: 12px. z-index: -3. } input. color : #333. text-decoration : underline. border-right: lightgrey 1px solid. } a. select { z-index : -3. IT Online Banking Final Project Report Manipal Universal Learning color : #FF9900.inputbox { z-index: -3. font-weight: bold. font-size : 12px. } ./images/buttonbg. padding-left: 1px.pagenav { font-size : 12px. padding-top: 1px. } a. background-color: deepskyblue.button { border:0px. } .pagenav:hover { color : #FFF. } a. textarea. height: 25px. border-bottom: gray 1px solid. background-repeat: repeat-x.jpg). font-size : 18px.sectionname { color : #FF9900. font-family : Arial. font-size: 12px. padding-bottom: 1px. } . font-size: 12px. font-size : 12px. } .Master of Science in Information Technology M./. border-bottom: dimgray 1px solid. background-image: url(. sans-serif.. } .Sc. padding-right: 1px. font-size : 12px.pagenav { color : #808080.text_area { border : 1px solid #ccc. border-top: lightgrey 1px solid.pagenav:active { color : #333. border-left: lightgrey 1px solid. font-weight : normal.

.Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning . font-family : Arial. } table. padding: 0px.contentheading. . width: 99%.menubar { width: 100%. font-weight: normal. width: 60%. } table. font-size : 18px. border-top: gainsboro 1px solid.. border: 0px. } . Helvetica.messagebox th { background: url(. padding-left: 50px. } /* header block */ 82 of 185 | Page Online Banking | OB . height: 50px. font-size : 10px. text-align: left. color: #C64934. text-align: justify. font-weight: bold. font-size: 14px. padding: 10px.smallgrey { color : #999.messagebox { background-color: #FFF. font-size : 11px. font-family : Arial. text-align: left.png) no-repeat left. font-weight: bold. sans-serif. Helvetica. } . } td { font-size: 12px.componentheading.small { color : #FF9900./. } /* header block */ table. .Sc. } table. sans-serif. background: ghostwhite.moduleheading { font-size: 14px.error { color : #C40000.messagebox td { color: Black. margin: 0px. } . font-size : 10px. text-decoration : none. font-weight : bold./images/generic.

/images/inbox.. } table. padding-left: 50px. IT Online Banking Final Project Report Manipal Universal Learning table..inbox { background: url(.png) no-repeat left./images/mediamanager./images/menu.png) no-repeat left.... } table.msgconfig { background: url(.adminheading th. width: 99%. } table.adminheading th. } table.png) no-repeat left. border: 0px. font-weight: bold.cpanel { background: url(. } table./images/cpanel././images/checkin.trash { background: url(.modules { background: url(.checkin { background: url(. padding: 0px../..adminheading th.adminheading th. } table././.langmanager { background: url(.png) no-repeat left.. border-bottom: 5px solid #fff...png) no-repeat left.. } table.. margin: 0px.png) no-repeat left./images/browser./..searchtext { 83 of 185 | Page Online Banking | OB ./images/trash.menus { background: url(...png) no-repeat left.adminheading th. height: 50px.././../. } table../images/config./images/module.png) no-repeat left.png) no-repeat left...browser { background: url(. font-family : Arial. } table./images/impressions. Helvetica. } table.Sc.config { background: url(./.adminheading th..adminheading th.user { background: url(. sans-serif./..adminheading { background-color: #FFF. color: #C64934. text-align: left.adminheading th.impressions { background: url(./images/user.. } table.png) no-repeat left.adminheading th. } table./. border-collapse: collapse./images/langmanager.adminheading th.adminheading th { background: url(.../images/generic../images/message_config.png) no-repeat left.adminheading th.Master of Science in Information Technology M.png) no-repeat left.adminheading th. width: 100%./. } table.png) no-repeat left.adminheading th../. font-size : 18px.mediamanager { background: url(.adminheading th. } table. } table. text-align: left.png) no-repeat left./..

/./images/dbrestore. background-repeat: repeat.adminheading th.png) no-repeat left. border-collapse: collapse.. } table.Sc./.adminlist th { margin: 0px.././images/templatemanager..adminheading th.edit { background: url(.frontpage { background: url(.adminheading th.templates { background: url(.adminheading th.. } table. padding: 0px.adminheading th. } table..info { background: url(.adminheading th.png) no-repeat left./.adminheading th.png) no-repeat left. background: url(.. border: 1px solid #ddd.png) no-repeat left. margin: 0px./images/categories.dbrestore { background: url(.jpg)./. width: 100%../images/backup.png) no-repeat left. } table. } table./...png) no-repeat left. height: 25px.massemail { background: url(. font-size: 15px./images/install././images/searchtext. color: #000.install { background: url(./../.adminheading td { color : #000. border-spacing: 0px. IT Online Banking Final Project Report Manipal Universal Learning background: url(.adminheading th.adminheading th.. } table./images/query.. } table. } table.. } table. } /* standard list style table */ table./images/frontpage.png) no-repeat left. } table.. } 84 of 185 | Page Online Banking | OB ../images/systeminfo.png) no-repeat left./images/background.adminlist { background-color: #FFFFFF.png) no-repeat left. padding: 6px 4px 2px 4px. } table./images/sections.png) no-repeat left. } table.sections { background: url(. } table../images/addedit...dbbackup { background: url(././images/massemail.Master of Science in Information Technology M...../..categories { background: url(./.png) no-repeat left./...adminheading th.adminheading th.png) no-repeat left.dbquery { background: url(..

padding-top: 6px.adminform tr.adminlist tr.. padding: 5px. } table.adminlist th a:visited { color: #c64934.adminlist tr. background: url(./.row0:hover { background-color: #f1f1f1. border: 1px solid #999999./images/background. } select. table. input.adminlist td. } table.options { font-size: 12px. } table. font-size: 12px.adminform tr.row1 { background-color: #eeeeee.adminform { background-color: #f9f9f9. padding-left: 4px.Sc.row1:hover { background-color: #f1f1f1.adminform th { font-size: 12px.adminlist th a:hover { text-decoration: underline. } /* standard form style table */ table.adminlist tr.options. } table. } table. padding: 10px.title { text-align: left. width: 100%. } table. } table. } table. padding-bottom: 2px. border-collapse: collapse.jpg). } table. } table.row0 { background-color: #f9f9f9. 85 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.adminlist th. border: solid 1px #d5d5d5. padding-right: 4px. text-decoration: none.adminlist tr. text-align: left. } table..adminlist th a:link.row0 { background-color: #F9F9F9.adminlist td { border-bottom: 1px solid #e5e5e5. height: 25px.options { background-color: #ffffff. IT Online Banking Final Project Report Manipal Universal Learning table. font-weight: normal.row1 { background-color: #FFF.

font-weight: bold. position: relative. font-weight: normal. text-align: left. } /* Styles for dhtml tabbed-pages */ . 86 of 185 | Page Online Banking | OB . width: 14%. background-repeat: repeat. } table. text-align: center.cpanel td { text-align: center. font-size: 10px. cursor: pointer.menubackgr { background: #F1F3F5.offtab { font-size: 12px. } . } form { margin: 0px 0px 0px 0px. background-color : #e5e5e5. display: none. } . } table. text-align: center.editor { font-size: 9px.adminform td { padding: 3px. border: 1px solid #cccccc. color: #FFFFFF. top: 0. } table.ontab { font-size: 12px. border-bottom: 1px solid #cccccc.*/ } . color: #FFF. } .pagetext { visibility: hidden. IT Online Banking Final Project Report Manipal Universal Learning color: #000.Master of Science in Information Technology M. width: 14%.menudottedline { border-bottom: 1px solid #cccccc. text-align: left. background-color: #ffae00.Sc. } . } .adminform td.tabpadding { /*border-bottom: solid 1px #D5D5D5. cursor: pointer. border: 1px solid #cccccc.tabheading { background-color: #FFAE00. border-top: 1px solid #ffffff.

} . } div.centermain { padding: 0 10px. background-color: #E9ECEF. vertical-align: middle.main { width: 99%. } #cpanel div. } #cpanel div. } /* Text passed with mosmsg url parameter */ . font-size : 24px. border: 1px solid #c24733.message { font-family : "Trebuchet MS". font-size: 12px. height: 97px !important. } #cpanel div.icon { margin: 3px. padding: 10px. color : #c30.Master of Science in Information Technology M. Helvetica.quote { margin: 4px. width: 108px !important.icon a { display: block.icon a:link { color : #808080.pathway { margin-left: 15px. } /* mod_quickicon */ #cpanel { text-align: center. } . font-size : 14px.icon a:hover { color : #333. Arial. border: 1px solid #DDD. height: 100px. padding: 0. padding: 3px 4px 0px 6px. } . font-weight:bold. font-weight: bold. border: 1px solid #cccccc. #cpanel div.Sc. text-align: center. } div. background-color: #f1e8e6. vertical-align: middle. IT Online Banking Final Project Report Manipal Universal Learning background-color: #F1F3F5. float: left. sans-serif. width: 110px. text-decoration : none. padding: 2px 5px 1px 5px. } 87 of 185 | Page Online Banking | OB } . color: #254D78.adminheader { color : #c30.

margin: 0.tooltiplink { display: block. padding: 5px. position: relative.tooltiplink:hover { text-decoration: } none.icon a:active { #cpanel div. padding: 2px. a. padding-top: 3px. display: block. /* Fieldsets */ fieldset { margin-bottom: 10px. } } #cpanel div.expander { float: right. } #cpanel div. } /* Two Pane Formatting */ #treecell { width: 20%.icon span { display: block. float: left. border-bottom: 1px dashed #aaa. } .tooltip:hover { color: black. font-size: 1. } a. font-weight: bold.} /* Tooltips */ a. } #datacell { width: 78%.Master of Science in Information Technology M.tooltip. float: left. color : #808080. overflow: hidden. IT Online Banking Final Project Report Manipal Universal Learning color : #808080. padding: 2px 0px 0px 0px.icon img { margin-top: 13px. text-decoration: none. text-align: left.icon a:visited { #cpanel div. } 88 of 185 | Page Online Banking | OB . } a.1em.Sc. width: 100%. display: block. } legend { color: #c24733. } fieldset p { margin: 10px 0px. margin: 0. border: 1px #ccc solid.

} /*************** Rajendra Man Banepali **************/ /****** 8 Octo 2008****/ /**** 1_filter: Alpha(Opacity=100. Style=fade). } div. StartX=50. } #treecell fieldset { } #datacell fieldset { border: 1px #ccc solid.Sc. float: left./. StartY=0. padding: 2px.footer { clear: both.paramlist td { height: 30px. position: absolute. margin-right: 20%. Style=fade. top: 0px. border-bottom: 1px dashed #aaa. margin: 0.back { float: left. FinishOpacity=0. IT Online Banking Final Project Report Manipal Universal Learning #datacellfull { width: 98%. width: 60%. } table. margin-left: 20%. } span.Master of Science in Information Technology M. FinishX=300. background: url(. height: 48px. border-bottom: #000099 1px solid. margin-top: 10px.. display: block. } a. FinishOpacity=0. padding: 10px.png) fixed no-repeat. vertical-align: middle.. width: 48px. */ #infoBackScreen { filter: Alpha(Opacity=100. text-align: center. left: 0px. margin-top: 0px./images/restoredb. } 89 of 185 | Page Online Banking | OB . z-index: 100000. visibility: visible. FinishY=500). background-color: #11cbff.editlinktip { text-decoration: none.

border-left-style: solid. StartX=10. font-size: 120%. 90 of 185 | Page Online Banking | OB . border-bottom-style: solid. display: block. position: absolute. border-left-width: 1px. } #infoMessageBox{ background-color: #999999.Master of Science in Information Technology M. text-align: left. padding-bottom: 15px. border-right-style: solid.Sc. margin-bottom: 5px. border-right-color: #000000. z-index: 200000. text-align: right. FinishY=500). width: 50%. border-bottom-color: #000000. margin: 0px. border-top-style: solid. } #infoText { color: Black. border-top: #608fc8 1px solid. FinishOpacity=10. padding-right: 5px. font-weight:bold. IT Online Banking Final Project Report Manipal Universal Learning #infoAlert { color: red. color: #FFFFFF. padding-left: 5px. } #backScreen { filter: Alpha(Opacity=60. font-weight: bold. font-weight: normal. FinishX=300. padding-top: 15px. border-left-color: #000000. } #infoAlertFooter { color: White. border-top-width: 1px. border-bottom-width: 2px. StartY=10. display: block. background-color: #d2ebff. margin: 0 auto. padding: 5px. font-size: 150%. border-right-width: 1px. Style=fading. border-top-color: #000000. height: 100px.

Master of Science in Information Technology M. border-left-width: 1px. height: 250px.png)./images/nav_bg. border-right-style: solid. background-image: url(. border-bottom-width: 1px. color: #FFFFFF.. } #messageBox-Title-noClose{ background-color: #666666. width: 101%. left: 300px. left: 0px. padding: 0px. border-left-color: #000000. float: left. top: 0px. z-index: 100000. display: block. padding: 10px. display: block. border-bottom-color: #000000. width: 100%. border-bottom-width: 1px. 91 of 185 | Page Online Banking | OB . height: 35px. position: absolute. border-right-color: #000000. margin:0px. border-bottom-width: 2px. background-repeat: repeat. padding: 5px. color: white. font-weight: bold. } #messageBox-Title{ background-color: #666666. } #messageBox{ background-color: #999999. border-top-width: 1px. border-top-style: solid. border-right-width: 1px. z-index: 200000. width: 350px. IT Online Banking Final Project Report Manipal Universal Learning background-color: black./. display: block.. margin: 0 auto. border-bottom-color: #333333.Sc. top: 100px. border-bottom-style: solid. padding: 5px. border-bottom-style: solid. width: 80%. position: absolute. visibility: visible. border-left-style: solid. height: 35px. border-top-color: #000000. height: 100%.

border-bottom: 2px solid #CCCCCC. background-repeat: no-repeat. width: 100%. text-align: center. background-image: url(. width: 20%... border-left: 2px solid #CCCCCC. border-left: 2px solid #CCCCCC. border-top: 4px solid #CCCCCC./images/help_f2. background-repeat: no-repeat. float: right. height: 100%. 92 of 185 | Page Online Banking | OB . color: white. } #messageBox-TextArea{ display: block. background-image: url(. border-bottom-style: solid. background-repeat: no-repeat. } #messageBox-ImageArea{ display: block. background-repeat: repeat. color: white. color: black.. border-bottom-color: #C65E00. border-bottom-width: 2px. border-bottom-color: #333333.Master of Science in Information Technology M.png).. } #messageBox-Title-ControlBox{ background-color: #FF8033. border-right: 2px solid #CCCCCC. background-color: #B5B6BB../images/nav_bg./. background-position: center center. font-weight: normal.Sc. display: block. background-color: #B5B6BB.png). height: 100%. font-weight: bold. padding: 10px 10px 10px 40px. border-bottom: 2px solid #CCCCCC. width: 100%.png). padding: 10px 10px 10px 10px. float: left./../. float: left. background-position: left top. border-top: 4px solid #CCCCCC. color: black. height: 35px. font-weight: normal./images/cancel_f2. IT Online Banking Final Project Report Manipal Universal Learning border-bottom-style: solid. border-right: 2px solid #CCCCCC. font-weight: bold. float: left. padding: 5px. background-image: url(.

border-bottom: firebrick 2px solid. border-left: lightgrey 1px solid. } table#Login1 table td { font-size: 12px. margin: 0px auto.frontUserName { color: Green. border-bottom: solid 1px green. text-align:center. padding: 7px.Sc. border: 0px. background-color: whitesmoke. color: Red. IT Online Banking Final Project Report Manipal Universal Learning background-position: left top. width:100%. table-layout: auto. text-align:right. } table#Login1 td { font-size: 12px.frontTime { width: 100%. border-top: lightgrey 1px solid. } table#Login1 input { font-size: 12px.panelWindow { border-bottom: gainsboro 1px solid. font-family: Arial. } .Arial Baltic. } . border-top: gainsboro 1px solid. padding: 10px. font-size:130%. border-right: lightgrey 1px solid. border-collapse: collapse. } 93 of 185 | Page Online Banking | OB . } table#Login1 { font-size: 12px. } .Master of Science in Information Technology M. padding: 5px.

/. padding: 5px. background: white. } #bank-screen #left-band { float: left. font-family: Arial. background: url(. height: 98%. height: 49px. text-align: center. width: 450px. } *{ font-size: 12px. background-image: none. border-right: #b0cabb 1px solid. width: 500px.. border-bottom: #009900 1px solid. font-size: 20pt. background: #f5fff7. } #bank-screen #heading #logo { float: left. padding: 5px. color: Green.Arial Baltic. margin: 0 auto. background-color: white.jpg) whitesmoke. width: 220px./images/banner. } 94 of 185 | Page Online Banking | OB . IT Online Banking Final Project Report Manipal Universal Learning body { margin: 0px 5px 5px 5px. } #bank-screen { width: 960px. } #bank-screen #heading #top-menu { float: left. font-family: Arial. } #bank-screen #heading { width: 960px.. height: 50px.Sc. font-size: 12px. background: #e7f0e6. border-bottom: #3399cc 1px solid.Master of Science in Information Technology M.Arial Baltic. text-align: right.

background-image: none.Sc. background-color: white. width: 719px. IT Online Banking Final Project Report Manipal Universal Learning #bank-screen #main-board { float: left. } #bank-screen #footer { float: left.Master of Science in Information Technology M. font-family:Arial. 95 of 185 | Page Online Banking | OB .png" ToolTip="Search Client" />&nbsp. } 10. background-image: none.png" ToolTip="Client Regition or Edit" />&nbsp. padding: 5px. border-bottom: gainsboro 1px solid.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 150px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext. border-bottom: #0099ff 1px solid. background: whitesmoke. width: 940px.&nbsp. <asp:ImageButton ID="ImageButtonShowClientRegistrationForm" runat="server" ImageUrl="~/images/generic. height: 100%.aspx. } #bank-screen #main-board #banner { float: left.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.2. padding: 5px.3 Page: account_heading.Arial Baltic. border-top: gray 1px solid. background-color: #e2f9ff. padding: 10px. width: 715px.master" AutoEventWireup="false" CodeFile="account_heading. color: gray. height: 100%.

IT Online Banking Final Project Report Manipal Universal Learning <td> <a href="#" onclick="history.Master of Science in Information Technology M.Sc.back(-1)" class="back"></a> <asp:Label ID="Label1" runat="server" CssClass="adminheader" Text="Account Heading"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Account Head </th> </tr> <tr> <td align="center"> <table> <tr> <td valign="middle"> Account Name</td> <td valign="middle"> <asp:TextBox ID="TextBoxSearchAccountName" runat="server" CssClass="inputbox" Width="178px"></asp:TextBox> &nbsp.<asp:Button ID="ButtonSearch" runat="server" CssClass="button" Text="Search Now" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> <table> <tr> <td valign="top"> <asp:TreeView ID="TreeViewAccountHead" runat="server"> </asp:TreeView> </td> <td valign="top"> </td> </tr> </table> </asp:View> <asp:View ID="View2" runat="server"> <table class="adminlist"> <tr> <th> Account Head Editor</th> </tr> <tr> <td> <table> <tr> 96 of 185 | Page Online Banking | OB .

Master of Science in Information Technology M.png" ToolTip="New" />&nbsp. IT Online Banking Final Project Report Manipal Universal Learning <td colspan="5"><table class="adminform"> <tr> <td style="width: 141px"> <asp:ImageButton ID="ImageButtonNewAccountHeading" runat="server" ImageUrl="~/images/new_f2.Sc. <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/save_f2.png" ToolTip="Cancel" OnClientClick=" " /> </td> <td style="width: 141px" valign="top"> <strong style="color: red">Note:&nbsp.png" ToolTip="Save" /> &nbsp." FontBold="True">**</asp:RequiredFieldValidator></td> </tr> <tr> <td> Reference No.Required Field</strong></td> </tr> </table> </td> </tr> <tr> <td> Account Code</td> <td> <asp:TextBox ID="TextBoxAccountCode" runat="server" CssClass="inputbox"></asp:TextBox>&nbsp.</td> <td> &nbsp." Font-Bold="True">**</asp:RequiredFieldValidator> </td> <td> </td> <td> Parent </td> <td style="width: 285px"> <asp:DropDownList ID="DropDownListParentCode" runat="server" AutoPostBack="True"> </asp:DropDownList> <asp:TextBox ID="TextBoxAccountID" runat="server" Width="16px" CssClass="inputbox" Visible="False"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorParentCode" runat="server" ControlToValidate="DropDownListParentCode" ErrorMessage="Parent is required.&nbsp. <asp:TextBox ID="TextBoxReferenceNo" 97 of 185 | Page Online Banking | OB . **&nbsp. .&nbsp. <asp:RequiredFieldValidator ID="RequiredFieldValidatorClientCode" runat="server" ControlToValidate="TextBoxAccountCode" ErrorMessage="Account Code is required.<asp:ImageButton ID="ImageButtonCancel" runat="server" ImageUrl="~/images/cancel_f2.

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

runat="server" CssClass="inputbox"></asp:TextBox></td> <td> </td> <td> Account Name</td> <td style="width: 285px"> <asp:TextBox ID="TextBoxAccountName" runat="server" CssClass="inputbox" Width="259px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorAccountName" runat="server" ControlToValidate="TextBoxAccountName" ErrorMessage="First Name is required." FontBold="True">**</asp:RequiredFieldValidator></td> </tr> <tr> <td valign="top"> Description</td> <td valign="top"> &nbsp; <asp:TextBox ID="TextBoxDescription" runat="server" CssClass="inputbox" Rows="5" TextMode="MultiLine" Width="176px"></asp:TextBox></td> <td> </td> <td valign="top"> Ramark</td> <td valign="top" style="width: 285px"> <asp:TextBox ID="TextBoxRemark" runat="server" CssClass="inputbox" Rows="5" TextMode="MultiLine" Width="176px"></asp:TextBox></td> </tr> </table> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="adminlist" HeaderText="Recommended Exception(s):" ShowMessageBox="True" /> </td> </tr> </table> </asp:View> <asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> <th style="height: 25px"> Account Search Result</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <asp:Button ID="ButtonEditClient" runat="server" CssClass="button" Text="Edit" />&nbsp; </td> </tr> 98 of 185 | Page Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

<tr class="row1"> <td> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist"> <FooterStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.gif" ShowSelectButton="True" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> </asp:Content>

10.2.4

Code: account_heading.aspx.vb

Imports _netSystem Imports System.Data.SqlClient Partial Class open_account Inherits System.Web.UI.Page Public netSystem As New _netSystem(Me) Public isql As String 99 of 185 | Page Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

Dim cID As String Dim info As String Dim signatureFile As String Protected Function searchAccount(ByVal accountName As String) Try isql = _ " SELECT b.AccountCode, b.Account, a.Account Parent, a.Description " + _ " FROM tbl_account a INNER JOIN tbl_account b " + _ " ON a.accountcode = b.parentcode" + _ " WHERE (b.Account LIKE '%" + accountName + "%')" SqlDataSource1 = netSystem.netDatabase.getSqlDataSource(isql, SqlDataSource1) SqlDataSource1.DataBind() info = "Data loaded." netSystem._setInfo = info Return (1) Catch ex As Exception _setError = ex End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load netSystem.currentWebPage = Me 'Session.Clear() 'If Not (Session("appWorld") = Session.SessionID.ToString()) Then ' 'Response.Redirect(Request.ApplicationPath() + "/Default.aspx") ' '****Response.Write(Request.ApplicationPath() + "/Default.aspx") 'End If netSystem._getLoadedTree(TreeViewAccountHead, "tbl_account", "AccountCode", "ParentCode", "Account", "account", "") TreeViewAccountHead.CollapseAll() End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged Try cID = GridView1.SelectedRow.Cells(1).Text Catch ex As Exception End Try info = "'" + GridView1.SelectedRow.Cells(2).Text + "' selection process is complated." netSystem._setInfo = info End Sub Protected Sub ButtonEditClient_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonEditClient.Click Try If Not (GridView1.SelectedIndex = -1) Then cID = GridView1.SelectedRow.Cells(1).Text MultiView2.ActiveViewIndex = 1 loadAccountDetailForm(cID) Else 100 of 185 | Page Online Banking | OB

netDatabase. IT Online Banking Final Project Report Manipal Universal Learning info = "Please select a record from the list.ToString() + "'" reader = netSystem.Text = reader("remark").Click MultiView2.Text = reader("AccountID").Web._setInfo End Try End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object.ImageClickEventArgs) Handles ImageButtonShowSearch.Read()) Then '****** loading Parent Code Combo loadComboParentCode() '****** Loading data TextBoxAccountID.ToString() '****** Loading data info = "Record Else info = "Record End If netSystem.Web." = info = info .Sc.ImageClickEventArgs) Handles ImageButtonShowClientRegistrationForm. ByVal e As System._setInfo = info End Try End Sub Protected Sub loadAccountDetailForm(ByVal cID As String) Try Dim reader As SqlDataReader isql = "SELECT * FROM Tbl_Account WHERE AccountCode='" + cID.ToString() TextBoxRemark.Text = reader("ReferenceID").Message netSystem.ToString() TextBoxDescription.Message netSystem. e) End Sub 101 of 185 | Page Online Banking | OB loaded for editing.getReader(isql) If (reader.Click MultiView2._setInfo = info Catch ex As Exception info = ex.ToString() TextBoxAccountCode.UI.ActiveViewIndex = 1 ImageButtonNewAccountHeading_Click(sender.ToString() TextBoxAccountName.ToString() TextBoxReferenceNo.ToString() DropDownListParentCode." End If netSystem.Text = reader("Description").ActiveViewIndex = 0 End Sub Protected Sub ImageButtonShowClientRegistrationForm_Click(ByVal sender As Object." not found.Master of Science in Information Technology M._setInfo Catch ex As Exception info = ex. ByVal e As System.Text = reader("Account").Text = reader("AccountCode").UI.SelectedValue = reader("ParentCode").

_Record. _Record.Text) MultiView2.Text) If TextBoxAccountID. TextBoxAccountName. TextBoxDescription.addRecord("Remark".TextBoxAccountID. DropDownListParentCode.netClientService.ImageClickEventArgs) Handles ImageButtonNewAccountHeading.Master of Science in Information Technology M.netDatabase.Text + "'") = True) Then If (netSystem.UI.Text) record = record.addRecord("AccountID"..Text = "-1" Then '***** Check the existing record of Client Code only If Not (netSystem._setError = ex End Sub Protected Sub ImageButtonNewAccountHeading_Click(ByVal sender As Object. Please assign new CODE.Text) record = record.Text) record = record.") 'netSystem.isRecordExist("tbl_account".commandType.isRecordExist("tbl_account".addRecord("AccountCode".commandType.Click searchAccount(TextBoxSearchAccountName. TextBoxReferenceNo.addRecord("ReferenceID".getRecordValue("AccountID") info = "New record inserted first time. " WHERE (AccountID<>'" + Me.ActiveViewIndex = 2 'Dim ex As New Exception("Rajendra Man Banepali. TextBoxAccountCode._saveRecord(record.Text) record = record.SelectedItem..TextBoxAccountCode. IT Online Banking Final Project Report Manipal Universal Learning Protected Sub ButtonSearch_Click(ByVal sender As Object. TextBoxRemark._Record("Tbl_Account") record.Text + "' and AccountCode='" + Me.Value) record = record. " WHERE AccountCode='" + Me.TextBoxAccountCode.Web.EventArgs) Handles ButtonSearch. Val(TextBoxAccountID." End If Else '***** Check the existing record of Client Code only If Not (netSystem.insertCommand)) Then TextBoxAccountID. ByVal e As System.Text)) record = record.updateCommand)) Then info = "Existing record updated._saveRecord(record.Sc.addRecord("Description".Text = record.Click newAccountHeading() DropDownListParentCode_SelectedIndexChanged(sender. ByVal e As System. Sahara Banepali and Rabina Gorkhali.addRecord("Account". e) End Sub Protected Sub saveAccount() Try Dim record As New _netSystem.isql 102 of 185 | Page Online Banking | OB ." End If Else info = "The CODE is already exist." ' + "<br>" + netSystem.netDatabase.addRecord("ParentCode".Clear() record = record.Text + "')") = True) Then If (netSystem.

AccountCode + '-' + Account FROM Tbl_Account" netSystem.Web." End If End If 'LabelInfo.Message + "<br>" + netSystem.TextBoxAccountCode. ByVal e As System.Sc. ByVal e As System.insertCommandPreparationOnly.Text = "" TextBoxDescription._setInfo = info End Sub Protected Sub ImageButton2_Click(ByVal sender As Object.Master of Science in Information Technology M.Text = "" 'DropDownListParentCode.UI._setInfo = info Catch ex As Exception info = ex.TextBoxAccountID.Text = "") Then Me. New EventArgs()) info = "Add new" netSystem.Text = 103 of 185 | Page Online Banking | OB .PageIndexChanged searchAccount(Me. isql) End Sub Protected Sub newAccountHeading() '**** making Empty Fields '****** loading Parent Code Combo 'loadComboParentCode() TextBoxAccountID. Please assign new CODE.Text = "" TextBoxRemark.Click saveAccount() End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object.Text = "" TextBoxAccountName.Text = "" TextBoxReferenceNo.ToString() netSystem.netClientService.commandType.EventArgs) Handles DropDownListParentCode.EventArgs) Handles GridView1.Text = "-1" TextBoxAccountCode. IT Online Banking Final Project Report Manipal Universal Learning End If Else info = "The CODE is already exist.GetHashCode().Text = info '+ "<br>" + netSystem.Text = "" 'DropDownListParentCode_SelectedIndexChanged(DropDownListParentCode.ImageClickEventArgs) Handles ImageButton2.iSql '+ _Record.TextBoxSearchAccountName.TextBoxAccountID.isql netSystem._fillComboList(DropDownListParentCode._setInfo = info End Try End Sub Protected Sub loadComboParentCode() '****** loading Parent Code Combo isql = "SELECT AccountCode.SelectedIndexChanged If (Me.Text) End Sub Protected Sub DropDownListParentCode_SelectedIndexChanged(ByVal sender As Object.Text = "-1" Or Me. ByVal e As System.

" End If netSystem.Activate loadComboParentCode() End Sub Protected Sub TreeViewAccountHead_SelectedNodeChanged(ByVal sender As Object.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.SelectedValue.Master of Science in Information Technology M.Sc.2. ByVal e As System.Message netSystem.master" AutoEventWireup="false" CodeFile="menu. "tbl_account". <asp:ImageButton ID="ImageButtonShowClientRegistrationForm" runat="server" ImageUrl="~/images/generic._getNewItemCode(DropDownListParentCode.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 150px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext.5 Page: menu. "accountCode".png" ToolTip="Search Client" />&nbsp._setInfo = info End Try End Sub Public Sub New() End Sub End Class 10.SelectedValue MultiView2.png" 104 of 185 | Page Online Banking | OB .ActiveViewIndex = 1 loadAccountDetailForm(cID) Else info = "Please select a record from the list._setInfo = info Catch ex As Exception info = ex.SelectedNodeChanged Try If (TreeViewAccountHead.SelectedValue <> "") Then cID = TreeViewAccountHead.EventArgs) Handles TreeViewAccountHead. "parentCode") End If End Sub Protected Sub View2_Activate(ByVal sender As Object. IT Online Banking Final Project Report Manipal Universal Learning netSystem.aspx. ByVal e As System.EventArgs) Handles View2.

</th> </tr> <tr> <td align="center"> <table> <tr> <td valign="middle"> Menu Title</td> <td valign="middle"> <asp:TextBox ID="TextBoxSearchMenuTitle" runat="server" CssClass="inputbox" Width="178px"></asp:TextBox> &nbsp.<asp:Button ID="ButtonMenu" runat="server" CssClass="button" Text="Search Now" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> <table> <tr> <td valign="top"> <asp:TreeView ID="TreeViewMenu" runat="server"> </asp:TreeView> </td> <td valign="top"> </td> </tr> </table> </asp:View> <asp:View ID="View2" runat="server"> <table class="adminlist"> <tr> <th> Account Head Editor</th> </tr> <tr> <td> <table> 105 of 185 | Page Online Banking | OB .Sc. <td> <a href="#" onclick="history.&nbsp. IT Online Banking Final Project Report Manipal Universal Learning ToolTip="Client Regition or Edit" />&nbsp.Master of Science in Information Technology M.back(-1)" class="back"></a> <asp:Label ID="LabelTitle" runat="server" CssClass="adminheader" Text="Menu Configuration"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Menu Search&nbsp.

png" ToolTip="New" />&nbsp.&nbsp.<asp:ImageButton ID="ImageButtonCancel" runat="server" ImageUrl="~/images/cancel_f2.Master of Science in Information Technology M." FontBold="True">**</asp:RequiredFieldValidator></td> </tr> <tr> <td> Menu Title</td> <td colspan="4"> <asp:TextBox ID="TextBoxMenuTitle" 106 of 185 | Page Online Banking | OB . . IT Online Banking Final Project Report Manipal Universal Learning <tr> <td colspan="5"><table class="adminform"> <tr> <td style="width: 141px"> <asp:ImageButton ID="ImageButtonNewAccountHeading" runat="server" ImageUrl="~/images/new_f2. **&nbsp.png" ToolTip="Cancel" OnClientClick=" " /> </td> <td style="width: 141px" valign="top"> <strong style="color: red">Note:&nbsp." Font-Bold="True">**</asp:RequiredFieldValidator> </td> <td> </td> <td> Parent </td> <td style="width: 285px"> <asp:DropDownList ID="DropDownListParentCode" runat="server" AutoPostBack="True"> </asp:DropDownList> <asp:TextBox ID="TextBoxMenuID" runat="server" Width="16px" CssClass="inputbox" Visible="False"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorParentCode" runat="server" ControlToValidate="DropDownListParentCode" ErrorMessage="Parent is required.&nbsp. <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/save_f2. <asp:RequiredFieldValidator ID="RequiredFieldValidatorClientCode" runat="server" ControlToValidate="TextBoxMenuCode" ErrorMessage="Menu Code is required.png" ToolTip="Save" /> &nbsp.Required Field</strong></td> </tr> </table> </td> </tr> <tr> <td> Menu Code</td> <td> <asp:TextBox ID="TextBoxMenuCode" runat="server" CssClass="inputbox"></asp:TextBox>&nbsp.Sc.

Sc.Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning runat="server" CssClass="inputbox" Width="500px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorAccountName" runat="server" ControlToValidate="TextBoxMenuTitle" ErrorMessage="Menu Name is required.</td> </tr> <tr> <td> Link</td> <td colspan="4"> <asp:TextBox ID="TextBoxLink" runat="server" CssClass="inputbox" Width="500px"></asp:TextBox></td> </tr> <tr> <td valign="top"> Param</td> <td colspan="3" valign="top"> <asp:TextBox ID="TextBoxParam" runat="server" CssClass="inputbox" Rows="5" TextMode="MultiLine" Width="210px"></asp:TextBox></td> <td valign="top" style="width: 285px"> <asp:CheckBox ID="CheckBoxActive" runat="server" Text=" Active" /></td> </tr> </table> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="adminlist" HeaderText="Recommended Exception(s):" ShowMessageBox="True" /> </td> </tr> </table> </asp:View> <asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> <th style="height: 25px"> Menu Search Result</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <asp:Button ID="ButtonEditMenu" runat="server" CssClass="button" Text="Edit" />&nbsp." FontBold="True">**</asp:RequiredFieldValidator>&nbsp. </td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist"> <FooterStyle BackColor="#5D7B9D" Font107 of 185 | Page Online Banking | OB .

a.vb Imports _netSystem Imports System.MenuTitle Menu.Data.Sc.MenuID ID.SqlClient Partial Class open_account Inherits System.MenuTitle Parent.6 Code: menu.2.aspx.UI. 108 of 185 | Page Online Banking | OB .Page Public netSystem As New _netSystem(Me) Public isql As String Dim menuID As String 'Dim info As String Dim signatureFile As String Protected Function searchMenu(ByVal menuTitle As String) Try isql = _ " SELECT b.Web.gif" ShowSelectButton="True" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> </asp:Content> 10.Master of Science in Information Technology M. b. IT Online Banking Final Project Report Manipal Universal Learning Bold="True" ForeColor="White" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.

"Link".Text MultiView2.Text + "' selection process is complated.Active " + _ " FROM tbl_menu a INNER JOIN tbl_menu b " + _ " ON a.Message 'netSystem.ActiveViewIndex = 1 loadMenuDetailForm(menuID) Else inFo = "Please select a record from the list.Cells(1).Write(Request.EventArgs) Handles Me. b. ByVal e As System.CollapseAll() End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object.SelectedIndexChanged Try menuID = GridView1.ApplicationPath() + "/Default.Sc.currentWebPage = Me 'Session._setInfo = inFo Catch ex As Exception 109 of 185 | Page Online Banking | OB .Cells(1).menuTitle LIKE '%" + menuTitle + "%') " SqlDataSource1 = netSystem. "MenuTitle"._setInfo = inFo _setError = ex End Try End Sub Protected Sub ButtonEditClient_Click(ByVal sender As Object.menuCode = b. "tbl_menu".aspx") ' '****Response.SelectedRow._setInfo = inFo Return (1) Catch ex As Exception 'inFo = ex.netDatabase. ""._setInfo = inFo _setError = ex End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object.SessionID.Redirect(Request. IT Online Banking Final Project Report Manipal Universal Learning b.getSqlDataSource(isql.DataBind() inFo = "Menu configuration data loaded.EventArgs) Handles GridView1._getLoadedTree(TreeViewMenu. False) TreeViewMenu.Click Try If Not (GridView1.SelectedRow.ParentCode " + _ " WHERE (b. ByVal e As System.Message 'netSystem.ApplicationPath() + "/Default.Load netSystem.ToString()) Then ' 'Response. "MenuCode".EventArgs) Handles ButtonEditMenu.Clear() 'If Not (Session("appWorld") = Session. SqlDataSource1) SqlDataSource1.Text inFo = "'" + GridView1._setInfo = inFo Catch ex As Exception 'inFo = ex. "ParentCode"." netSystem." End If netSystem." netSystem.Master of Science in Information Technology M.Cells(2). ByVal e As System.Link.aspx") 'End If netSystem.SelectedIndex = -1) Then menuID = GridView1.SelectedRow.

SelectedValue = reader("ParentCode")._setInfo = inFo Catch ex As Exception 'inFo = ex.ActiveViewIndex = 0 End Sub Protected Sub ImageButtonShowClientRegistrationForm_Click(ByVal sender As Object. Boolean) '****** Loading data inFo = "Menu record loaded for editing. e) End Sub Protected Sub ButtonSearch_Click(ByVal sender As Object.ToString() + "'" reader = netSystem.ImageClickEventArgs) Handles ImageButtonShowSearch.ToString() TextBoxLink.ToString() CheckBoxActive.Click searchMenu(TextBoxSearchMenuTitle.Text = reader("param"). IT Online Banking Final Project Report Manipal Universal Learning 'inFo = ex." Else inFo = "Menu record not found.Click MultiView2.Text = reader("MenuCode").Text = reader("Link"). ByVal e As System.Text = reader("MenuTitle").ToString() TextBoxMenuCode.Text) MultiView2.Message _setError = ex End Try End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object. Sahara Banepali 110 of 185 | Page Online Banking | OB ._setInfo = inFo _setError = ex End Try End Sub Protected Sub loadMenuDetailForm(ByVal menuID As String) Try Dim reader As SqlDataReader isql = "SELECT * FROM Tbl_menu WHERE menuID='" + menuID.ToString().Checked = CType(reader("active").Read()) Then '****** loading Parent Code Combo loadComboParentCode() '****** Loading data TextBoxMenuID.ActiveViewIndex = 1 ImageButtonNewAccountHeading_Click(sender.Message 'netSystem.ActiveViewIndex = 2 'Dim ex As New Exception("Rajendra Man Banepali." End If netSystem.ToString() TextBoxParam.getReader(isql) If (reader.UI.Text = reader("MenuID").EventArgs) Handles ButtonMenu.Sc.ToString().ImageClickEventArgs) Handles ImageButtonShowClientRegistrationForm.Web.ToString() DropDownListParentCode. ByVal e As System. ByVal e As System.Master of Science in Information Technology M.netDatabase.Web.UI.Click MultiView2.Trim TextBoxMenuTitle.

Web. TextBoxLink.addRecord("MenuCode". e) End Sub Protected Sub saveMenu() Try Dim record As New _netSystem. CType(CheckBoxActive." End If Else inFo = "The CODE is already exist.netDatabase.commandType.Checked.Text) record = record.Text = "-1" Then '***** Check the existing record of Client Code only If Not (netSystem.Value) record = record._Record("Tbl_Menu") record. IT Online Banking Final Project Report Manipal Universal Learning and Rabina Gorkhali. TextBoxMenuCode.isql netSystem. _Record.addRecord("ParentCode".updateCommand)) Then inFo = "Existing record updated.Text + "')") = True) Then If (netSystem.addRecord("Param".Text = record.isql End If Else inFo = "The CODE is already exist.addRecord("Link".Text) record = record.SelectedItem.Text = inFo '+ "<br>" + netSystem.Text + "'") = True) Then If (netSystem._saveRecord(record. TextBoxParam.commandType." End If Else '***** Check the existing record of Client Code only If Not (netSystem.. " WHERE MenuCode='" + Me.Master of Science in Information Technology M.Text) record = record.isRecordExist("tbl_menu"._setError = ex End Sub Protected Sub ImageButtonNewAccountHeading_Click(ByVal sender As Object. " WHERE (MenuID<>'" + Me. Val(TextBoxMenuID.addRecord("MenuID"._setInfo = inFo 111 of 185 | Page Online Banking | OB .addRecord("Active".netClientService. _Record.getRecordValue("MenuID") inFo = "New record inserted first time." End If End If 'LabelInfo.Click newMenu() DropDownListParentCode_SelectedIndexChanged(sender._saveRecord(record. Please assign new CODE. Please assign new CODE.UI.Sc.Clear() record = record.Text)) record = record." ' + "<br>" + netSystem.isRecordExist("tbl_menu".TextBoxMenuCode. ByVal e As System. DropDownListParentCode.addRecord("MenuTitle".TextBoxMenuCode.netDatabase..TextBoxMenuID.netClientService.ImageClickEventArgs) Handles ImageButtonNewAccountHeading.insertCommand)) Then TextBoxMenuID. TextBoxMenuTitle.Text + "' and MenuCode='" + Me.") 'netSystem. Integer)) If TextBoxMenuID.Text) record = record.

isql) End Sub Protected Sub newMenu() '**** making Empty Fields '****** loading Parent Code Combo 'loadComboParentCode() TextBoxMenuID. "ParentCode") End If End Sub Protected Sub View2_Activate(ByVal sender As Object.Text = "" TextBoxMenuTitle.UI.Activate loadComboParentCode() End Sub Protected Sub TreeViewAccountHead_SelectedNodeChanged(ByVal sender As 112 of 185 | Page Online Banking | OB .Text = "" TextBoxLink.iSql '+ _Record. IT Online Banking Final Project Report Manipal Universal Learning Catch ex As Exception 'inFo = ex._setInfo = inFo End Sub Protected Sub ImageButton2_Click(ByVal sender As Object.SelectedValue.EventArgs) Handles GridView1.TextBoxMenuCode. New EventArgs()) inFo = "Add new" netSystem._setInfo = inFo _setError = ex End Try End Sub Protected Sub loadComboParentCode() '****** loading Parent Code Combo isql = "SELECT menuCode.EventArgs) Handles DropDownListParentCode.Text = "" 'DropDownListParentCode_SelectedIndexChanged(DropDownListParentCode.Text = "-" TextBoxParam. menuCode + ' . ByVal e As System.Text = "" 'DropDownListParentCode.GetHashCode().TextBoxSearchMenuTitle.Text = "") Then Me.TextBoxMenuID.Web.ImageClickEventArgs) Handles ImageButton2.Text = "-1" TextBoxMenuCode._getNewItemCode(DropDownListParentCode.Text = netSystem. ByVal e As System. "MenuCode".PageIndexChanged searchMenu(Me. ByVal e As System.Master of Science in Information Technology M.Text) End Sub Protected Sub DropDownListParentCode_SelectedIndexChanged(ByVal sender As Object.Text = "-1" Or Me.commandType.' + menutitle FROM Tbl_menu" netSystem.insertCommandPreparationOnly.Click saveMenu() End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object._fillComboList(DropDownListParentCode.TextBoxMenuID. "tbl_menu".SelectedIndexChanged If (Me. ByVal e As System.ToString() 'netSystem.Sc.Message + "<br>" + netSystem.EventArgs) Handles View2.

back(-1)" class="back"></a> <asp:Label ID="Label1" runat="server" CssClass="adminheader" Text="System Configuration"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> 113 of 185 | Page Online Banking | OB .Sc.png" ToolTip="Client Regition or Edit" />&nbsp.master" AutoEventWireup="false" CodeFile="system_config.Master of Science in Information Technology M.ActiveViewIndex = 1 loadMenuDetailForm(menuID) Else inFo = "Please select a record from the list.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 188px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext.png" ToolTip="Search Client" />&nbsp.&nbsp. IT Online Banking Final Project Report Manipal Universal Learning Object.EventArgs) Handles TreeViewMenu.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.Message 'netSystem.7 Page: system_config. </td> <td> <a href="#" onclick="history. " End If netSystem.SelectedValue <> "") Then menuID = TreeViewMenu. ByVal e As System._setInfo = inFo Catch ex As Exception 'inFo = ex.2.SelectedValue MultiView2._setInfo = inFo _setError = e x End Try End Sub End Class 10.SelectedNodeChanged Try If (TreeViewMenu. <asp:ImageButton ID="ImageButtonShowClientRegistrationForm" runat="server" ImageUrl="~/images/generic.aspx.

IT Online Banking Final Project Report Manipal Universal Learning <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Config Key</th> </tr> <tr> <td align="center"> <table> <tr> <td> Config Key </td> <td> <asp:TextBox ID="TextBoxSearchConfigKey" runat="server" CssClass="inputbox" Width="264px"></asp:TextBox></td> <td> </td> </tr> <tr> <td align="center" colspan="3"> <asp:Button ID="ButtonMemberSearch" runat="server" CssClass="button" Text="Search Now" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> <asp:View ID="View2" runat="server"> <table class="adminlist"> <tr> <th> System Configuration Form</th> </tr> <tr> <td> <table> <tr> <td colspan="5"> <table class="adminform" align="center"> <tr> <td style="width: 141px"> <asp:ImageButton ID="ImageButtonNewClientRegistration" runat="server" ImageUrl="~/images/new_f2.&nbsp.png" ToolTip="New" />&nbsp.Master of Science in Information Technology M.<asp:ImageButton ID="ImageButtonCancel" runat="server" 114 of 185 | Page Online Banking | OB .Sc. <asp:ImageButton ID="ImageButtonSaveClientRegistraion" runat="server" ImageUrl="~/images/save_f2.png" ToolTip="Save" /> &nbsp.

Required Field</strong></td> </tr> </table> </td> </tr> <tr> <td> Config Key</td> <td> <asp:TextBox ID="TextBoxConfigKey" runat="server" CssClass="inputbox" Width="280px"></asp:TextBox>&nbsp. <asp:RequiredFieldValidator ID="RequiredFieldValidatorFirstName" runat="server" ControlToValidate="TextBoxConfigValue" ErrorMessage="Config Value is required. IT Online Banking Final Project Report Manipal Universal Learning ImageUrl="~/images/cancel_f2.Sc." Font-Bold="True">**</asp:RequiredFieldValidator> </td> <td> </td> <td> </td> <td> &nbsp.<asp:TextBox ID="TextBoxConfigID" runat="server" Width="16px" CssClass="inputbox" Visible="False"></asp:TextBox></td> </tr> <tr> <td> Config Value</td> <td> <asp:TextBox ID="TextBoxConfigValue" runat="server" CssClass="inputbox" Width="278px"></asp:TextBox>&nbsp.Master of Science in Information Technology M.png" ToolTip="Cancel" OnClientClick=" " /> </td> <td style="width: 141px" valign="top"> <strong style="color: red">Note:&nbsp. **&nbsp. .&nbsp." Font-Bold="True">**</asp:RequiredFieldValidator></td> <td> </td> <td> </td> <td></td> </tr> </table> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="adminlist" HeaderText="Recommended Exception(s):" ShowMessageBox="True" /> </td> </tr> </table> 115 of 185 | Page Online Banking | OB . <asp:RequiredFieldValidator ID="RequiredFieldValidatorClientCode" runat="server" ControlToValidate="TextBoxConfigKey" ErrorMessage="Config Key is required.

Master of Science in Information Technology M. <asp:Button ID="ButtonDeleteConfiguration" runat="server" CssClass="button" Text="Delete" /></td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Horizontal" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist"> <FooterStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow. IT Online Banking Final Project Report Manipal Universal Learning </asp:View> <asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> <th style="height: 25px"> Account Search Result</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <asp:Button ID="ButtonEditConfiguration" runat="server" CssClass="button" Text="Edit" />&nbsp.Sc.gif" ShowSelectButton="True" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> <asp:Label ID="LabelInfo" runat="server" Font116 of 185 | Page Online Banking | OB .

Load 'Session.Data.SelectedRow. ConfigValue 'Config-Value' FROM Tbl_Configuration " + _ " WHERE (" + _ " ConfigKey like '%" + key + "%'" + _ " )" SqlDataSource1 = netSystem.ToString()) Then ' 'Response.Redirect(Request." Return (1) Catch ex As Exception _setError = ex End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object.aspx") 'End If netSystem.SelectedIndexChanged Try cID = GridView1.DataBind() netSystem.8 Code: s ystem_config.EventArgs) Handles GridView1.SelectedRow.Clear() 'If Not (Session("appWorld") = Session.netDatabase. ConfigKey 'Config -Key'.Master of Science in Information Technology M.Cells(2).Page Public netSystem As New _netSystem(Me) Public isql As String Dim cID As Integer Dim info As String Dim signatureFile As String Protected Function searchConfigKey(ByVal key As String) Try isql = "SELECT ConfigID ID.2. ByVal e As System.aspx.UI. ByVal e As System.currentWebPage = Me End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object.Text info = "'" + GridView1.Web." netSystem._setInfo = info Catch ex As Exception 117 of 185 | Page Online Banking | OB .EventArgs) Handles Me.getSqlDataSource(isql. SqlDataSource1) SqlDataSource1.Sc.Cells(1).SqlClient Partial Class open_account Inherits System. IT Online Banking Final Project Report Manipal Universal Learning Bold="True" Font-Size="Large" ForeColor="Red"></asp:Label> </asp:Content> 10.Text + "' selection process is complated.ApplicationPath() + "/Default.SessionID.vb Imports _netSystem Imports System._setInfo = "Data loaded.

_setInfo = info Catch ex As Exception LabelInfo.Text MultiView2.SelectedIndex = -1) Then cID = GridView1. ByVal e As System.Cells(1).Text = reader("ConfigValue")." End If netSystem.Click MultiView2." Else info = "Record not found. ByVal e As System.ActiveViewIndex = 1 ImageButtonNewClientRegistration_Click(sender.ImageClickEventArgs) Handles ImageButtonShowSearch.Read()) Then '****** Loading data TextBoxConfigID.ToString() '****** Loading data info = "Record loaded for editing.Message _setError = ex End Try End Sub Protected Sub loadConfigurationForm(ByVal cID As Integer) Try Dim reader As SqlDataReader isql = "SELECT * FROM Tbl_Configuration WHERE ConfigID=" + cID.ImageClickEventArgs) Handles ImageButtonShowClientRegistrationForm." End If netSystem.getReader(isql) If (reader.ActiveViewIndex = 0 End Sub Protected Sub ImageButtonShowClientRegistrationForm_Click(ByVal sender As Object.Text = ex.Web.Click MultiView2.SelectedRow.ToString() TextBoxConfigKey._setInfo = info Catch ex As Exception 'LabelInfo.ToString() reader = netSystem.Master of Science in Information Technology M.Message End Try End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object.ToString() TextBoxConfigValue.EventArgs) Handles ButtonEditConfiguration.Web. IT Online Banking Final Project Report Manipal Universal Learning _setError = ex End Try End Sub Protected Sub ButtonEditConfiguration_Click(ByVal sender As Object.UI. ByVal 118 of 185 | Page Online Banking | OB .Click Try If Not (GridView1.Text = reader("ConfigID").netDatabase.ActiveViewIndex = 1 loadConfigurationForm(cID) Else info = "Please select a record from the list. e) End Sub Protected Sub ButtonMemberSearch_Click(ByVal sender As Object. ByVal e As System.UI.Text = reader("ConfigKey").Text = ex.Sc.

netClientService.netDatabase.commandType.tableName. Please assign new Config Key.addRecord("ConfigKey".TextBoxConfigKey.tableName.Click searchConfigKey(TextBoxSearchConfigKey._saveRecord(record.Click newConfiguration() End Sub Protected Sub saveConfiguration() Try Dim record As New _netSystem.Text)) record = record.ImageClickEventArgs) Handles ImageButtonNewClientRegistration. ByVal e As System.Text + "')") = True) Then If (netSystem.isql End If Else info = "The Config Key is already exist.commandType.Clear() record = record. Sahara Banepali and Rabina Gorkhali.Web. Please assign new Config Key.TextBoxConfigKey.isRecordExist(record..Text + "' and ConfigKey='" + Me. " WHERE (ConfigID<>'" + Me.TextBoxConfigID.addRecord("ConfigID". _Record.Text = "-1" Then '***** Check the existing record of Client Code only If Not (netSystem.isql 119 of 185 | Page Online Banking | OB .UI." End If End If netSystem.Text = cID info = "New record inserted first time. _Record." End If Else '***** Check the existing record of Client Code only If Not (netSystem.") 'netSystem._saveRecord(record.Text) MultiView2. " WHERE ConfigKey='" + Me.updateCommand)) Then cID = record. TextBoxConfigKey.isRecordExist(record.Sc.netClientService.Text) If TextBoxConfigID.netDatabase.insertCommand)) Then cID = record..Master of Science in Information Technology M.ActiveViewIndex = 2 'Dim ex As New Exception("Rajendra Man Banepali._setInfo = info '+ "<br>" + netSystem.Text) record = record.addRecord("ConfigValue". TextBoxConfigValue.EventArgs) Handles ButtonMemberSearch." ' + "<br>" + netSystem.getRecordValue("ConfigID") TextBoxConfigID." End If Else info = "The Config Key is already exist._Record("Tbl_Configuration") record.getRecordValue("ConfigID") info = "Existing record updated._setError = ex End Sub Protected Sub ImageButtonNewClientRegistration_Click(ByVal sender As Object.Text + "'") = True) Then If (netSystem. IT Online Banking Final Project Report Manipal Universal Learning e As System. Val(TextBoxConfigID.

EventArgs) Handles GridView1.Message End Try End Sub Protected Sub ImageButtonSaveClientRegistration_Click(ByVal sender As Object.Master of Science in Information Technology M." End If netSystem._setInfo = ex._setInfo = info Catch ex As Exception netSystem.Web.Cells(1).Text = ex.Click 'Validators. e) End Sub 120 of 185 | Page Online Banking | OB . IT Online Banking Final Project Report Manipal Universal Learning Catch ex As Exception LabelInfo.Click Try If Not (GridView1.Message _setError = ex End Try End Sub Protected Sub ImageButtonCancel_Click(ByVal sender As Object.Text = "-1" '***** get new id TextBoxConfigKey. e) info = "Record Deleted.commandType.iSql '+ _Record.ImageClickEventArgs) Handles ImageButtonCancel._setInfo = "Add new" Catch ex As Exception LabelInfo.EventArgs) Handles ButtonDeleteConfiguration.insertCommandPreparationOnly.SelectedRow. ByVal e As System.Text = "" TextBoxConfigValue. ByVal e As System.Item(1).PageIndexChanged ButtonMemberSearch_Click(sender." Else info = "Please select a record from the list.ToString) ButtonMemberSearch_Click(sender.Item(2).Message + "<br>" + netSystem.Click saveConfiguration() End Sub Protected Sub ButtonDeleteConfiguration_Click(ByVal sender As Object.Web.SelectedIndex = -1) Then cID = GridView1. ByVal e As System.Sc.ImageClickEventArgs) Handles ImageButtonSaveClientRegistraion.IsValid = True 'Validators.IsValid = True 'Validators.ToString() End Try End Sub Protected Sub newConfiguration() Try '**** making Empty Fields TextBoxConfigID.IsValid = True End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object._deleteRecord("Tbl_Configuration".Text = ex.Item(0).UI. " WHERE ConfigID=" + cID.Text = "" netSystem. ByVal e As System.UI.Text netSystem.GetHashCode().

<asp:ImageButton ID="ImageButtonShowClientRegistrationForm" runat="server" ImageUrl="~/images/generic.Sc.back(-1)" class="back"></a> <asp:Label ID="Label1" runat="server" CssClass="adminheader" Text="Bank Account"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Bank Account</th> </tr> <tr> <td align="center"> 121 of 185 | Page Online Banking | OB .master" AutoEventWireup="false" CodeFile="open_account." End Sub End Class 10.2.ToString + " Row(s) effected.9 Page: open_account. ByVal e As System.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 188px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext.aspx.png" ToolTip="Search Client" />&nbsp._setInfo = "@" + GridView1.DataBound netSystem.&nbsp.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.Count. <asp:ImageButton ID="ImageButtonSendBankAccToLedger" runat="server" ImageUrl="~/images/config.Rows.png" ToolTip="Send all Bank Account to Payable Bill Account Ledger" /></td> <td> <a href="#" onclick="history.png" ToolTip="Client Regition or Edit" />&nbsp.Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning Protected Sub GridView1_DataBound(ByVal sender As Object.EventArgs) Handles GridView1.

<asp:ImageButton ID="ImageButtonSaveClientRegistraion" runat="server" ImageUrl="~/images/save_f2.png" 122 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.png" ToolTip="New" />&nbsp.Sc. IT Online Banking Final Project Report Manipal Universal Learning <table> <tr> <td> Client Code</td> <td> <asp:TextBox ID="TextBoxSearchClientCode" runat="server" CssClass="inputbox" Width="264px"></asp:TextBox></td> <td> </td> </tr> <tr> <td> Client Name</td> <td> <asp:TextBox ID="TextBoxSearchFirstName" runat="server" CssClass="inputbox" Width="128px"></asp:TextBox> &nbsp.<asp:TextBox ID="TextBoxSearchLastName" runat="server" CssClass="inputbox" Width="128px"></asp:TextBox></td> <td> </td> </tr> <tr> <td align="center" colspan="3"> <asp:Button ID="ButtonMemberSearch" runat="server" CssClass="button" Text="Search Now" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> <asp:View ID="View2" runat="server"> <table class="adminlist"> <tr> <th> Account Registration</th> </tr> <tr> <td> <table> <tr> <td colspan="5"> <table class="adminform" align="center"> <tr> <td style="width: 141px"> <asp:ImageButton ID="ImageButtonNewClientRegistration" runat="server" ImageUrl="~/images/new_f2.

Sc. **&nbsp." Font-Bold="True">**</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidatorClientCode" runat="server" ControlToValidate="TextBoxClientCode" ErrorMessage="Client Code should be in format like : xx-xxxxxx-xx (ie." Font-Bold="True">**</asp:RequiredFieldValidator></td> <td> </td> <td> Marital Status</td> <td><asp:DropDownList 123 of 185 | Page Online Banking | OB .&nbsp. IT Online Banking Final Project Report Manipal Universal Learning ToolTip="Save" /> &nbsp.Master of Science in Information Technology M. </td> <td style="width: 141px" valign="top"> <strong style="color: red">Note:&nbsp. <asp:RequiredFieldValidator ID="RequiredFieldValidatorClientCode" runat="server" ControlToValidate="TextBoxClientCode" ErrorMessage="Client Code is required.&nbsp.&nbsp. .Required Field</strong></td> </tr> </table> </td> </tr> <tr> <td> Client Code</td> <td> <asp:TextBox ID="TextBoxClientCode" runat="server" CssClass="inputbox"></asp:TextBox>&nbsp. 12-123456-12)" Display="Dynamic" ValidationExpression="\d{2}-\d{6}-\d{2}"><br> Require: xx-xxxxxx-xx <br>(ie. <asp:RequiredFieldValidator ID="RequiredFieldValidatorFirstName" runat="server" ControlToValidate="TextBoxFirstName" ErrorMessage="First Name is required. 12-123456-12)</asp:RegularExpressionValidator></td> <td> </td> <td> Sex</td> <td> <asp:DropDownList ID="DropDownListSex" runat="server"> <asp:ListItem Selected="True">Male</asp:ListItem> <asp:ListItem>Female</asp:ListItem> </asp:DropDownList> <asp:TextBox ID="TextBoxClientID" runat="server" Width="16px" CssClass="inputbox" Visible="False"></asp:TextBox></td> </tr> <tr> <td> First Name</td> <td> <asp:TextBox ID="TextBoxFirstName" runat="server" CssClass="inputbox"></asp:TextBox>&nbsp.

<asp:RequiredFieldValidator ID="RequiredFieldValidatorLastName" runat="server" ControlToValidate="TextBoxLastName" ErrorMessage="Last Name is required. IT Online Banking Final Project Report Manipal Universal Learning ID="DropDownListMaritalStatus" runat="server"> <asp:ListItem>Married</asp:ListItem> <asp:ListItem Selected="True">Single</asp:ListItem> <asp:ListItem>Divorced</asp:ListItem> <asp:ListItem>Seperated</asp:ListItem> </asp:DropDownList></td> </tr> <tr> <td> Last Name</td> <td> <asp:TextBox ID="TextBoxLastName" runat="server" CssClass="inputbox"></asp:TextBox>&nbsp.Sc." Font-Bold="True">**</asp:RequiredFieldValidator></td> <td> </td> <td> Occupation</td> <td> <asp:TextBox ID="TextBoxOccupation" runat="server" CssClass="inputbox"></asp:TextBox></td> </tr> <tr> <td> Address</td> <td> <asp:TextBox ID="TextBoxAddress" runat="server" CssClass="inputbox" Rows="5" TextMode="MultiLine" Width="176px"></asp:TextBox></td> <td> </td> <td> Ramark</td> <td> <asp:TextBox ID="TextBoxRemark" runat="server" CssClass="inputbox" Rows="5" TextMode="MultiLine" Width="176px"></asp:TextBox></td> </tr> <tr> <td colspan="5"> <strong>Official Essential</strong></td> </tr> <tr> <td valign="top"> Signature Copy</td> <td colspan="3" valign="top"> <asp:FileUpload ID="FileUploadSingature" runat="server" /></td> <td valign="top"> <asp:Button ID="ButtonShowSignature" runat="server" CssClass="button" Text="Show Signature" /> <asp:MultiView ID="MultiViewSignature" runat="server"> <asp:View ID="View5" runat="server"> 124 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

<asp:Image ID="ImageSignature" runat="server" ImageUrl="~/collection/signature/noSignature.jpg" /></asp:View> </asp:MultiView> </td> </tr> <tr> <td valign="top"> <asp:Button ID="ButtonUserSecurity" runat="server" Text="User Security" /></td> <td colspan="3" valign="top"> <asp:MultiView ID="MultiViewUserSecurity" runat="server"> <asp:View ID="ViewUserSecurity" runat="server"> <table> <tr> <td> Username</td> <td> <asp:TextBox ID="TextBoxUsername" runat="server"></asp:TextBox></td> <td> </td> </tr> <tr> <td> Password</td> <td> <asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password" Width="125px"></asp:TextBox></td> <td> </td> </tr> </table> </asp:View> </asp:MultiView></td> <td> </td> </tr> </table> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="adminlist" HeaderText="Recommended Exception(s):" ShowMessageBox="True" /> </td> </tr> </table> </asp:View> <asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> <th style="height: 15px"> Account Search Result</th> </tr> <tr> 125 of 185 | Page Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

<td><table class="adminform"> <tr> <td> <asp:Button ID="ButtonEditClient" runat="server" CssClass="button" Text="Edit" />&nbsp; <asp:Button ID="ButtonDeleteBankAccount" runat="server" CssClass="button" Text="Delete" /></td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Horizontal" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist"> <FooterStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.gif" ShowSelectButton="True" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> <asp:Label ID="LabelInfo" runat="server" FontBold="True" Font-Size="Large" ForeColor="Red"></asp:Label> </asp:Content>

126 of 185 | Page

Online Banking | OB

Master of Science in Information Technology M.Sc. IT

Online Banking Final Project Report

Manipal Universal Learning

10.2.10

Code: open_account.aspx.vb

Imports _netSystem Imports System.Data.SqlClient Partial Class open_account Inherits System.Web.UI.Page Public netSystem As New _netSystem(Me) Public isql As String Dim cID As Integer Dim info As String Dim signatureFile As String Protected Function searchClient(ByVal clientCode As String, ByVal firstName As String, ByVal lastName As String) Try isql = "select ClientID as ID, " + _ " ClientCode as 'A/C Code', (FirstName + ' ' + LastName) as Name, " + _ " Address, Sex, MaritalStatus as MS, Occupation from tbl_client" + _ " where (" + _ " ClientCode like '%" + clientCode + "%' and " + _ " FirstName like '%" + firstName + "%' and LastName like '%" + lastName + "%')" SqlDataSource1 = netSystem.netDatabase.getSqlDataSource(isql, SqlDataSource1) SqlDataSource1.DataBind() info = "Data loaded." netSystem._setInfo = info Return (1) Catch ex As Exception netSystem._setInfo = ex.Message End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Session.Clear() 'If Not (Session("appWorld") = Session.SessionID.ToString()) Then ' 'Response.Redirect(Request.ApplicationPath() + "/Default.aspx") 'End If netSystem.currentWebPage = Me End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged Try cID = GridView1.SelectedRow.Cells(1).Text info = "'" + GridView1.SelectedRow.Cells(2).Text + "' selection process is complated." netSystem._setInfo = info 127 of 185 | Page Online Banking | OB

Cells(1).ToString() TextBoxOccupation.ToString() DropDownListSex.ToString() TextBoxClientCode.Message _setError = ex End Try End Sub Protected Sub loadClientDetailForm(ByVal cID As Integer) Try Dim reader As SqlDataReader isql = "select * from tbl_client where clientid=" + cID.ToString() TextBoxAddress.Click Try If Not (GridView1.Text = reader("clientcode").Text = "Show Signature" 'Else ' ImageSignature.ToString() signatureFile = reader("signatureFile"). ByVal e As System.Replace("\".Sc.ImageUrl = netSystem.ToString() TextBoxUsername.Text = reader("UserPassword").Text = reader("lastname").Read()) Then '****** Loading data TextBoxClientID.Text = reader("maritalstatus").ImageUrl = signatureFile ' netSystem. "/") 'If (signatureFile <> "") Then ' ImageSignature. IT Online Banking Final Project Report Manipal Universal Learning Catch ex As Exception netSystem.ToString() DropDownListMaritalStatus.netImage.Text MultiView2.ToString().ActiveViewIndex = 1 loadClientDetailForm(cID) Else info = "Please select a record from the list.Message End Try End Sub Protected Sub ButtonEditClient_Click(ByVal sender As Object._setInfo = ex.SelectedRow.ToString() TextBoxFirstName.Text = reader("UserName").getSignatureFile("noSignature") ' MultiViewSignature.ActiveViewIndex = 0 128 of 185 | Page Online Banking | OB .SelectedIndex = -1) Then cID = GridView1.netDatabase.getReader(isql) If (reader.ImageUrl) ' MultiViewSignature.Text = reader("clientid").Text = reader("sex").Text = reader("occupation")." End If netSystem.ToString() TextBoxRemark.Text = reader("address").ActiveViewIndex = -1 ' ButtonShowSignature.Text = reader("remark").Trim() 'signatureFile = signatureFile._setInfo = info Catch ex As Exception LabelInfo.ToString() reader = netSystem.Text = ex.Text = reader("firstname").Master of Science in Information Technology M._write(signatureFile + "<hr>" + ImageSignature.ToString() TextBoxLastName.EventArgs) Handles ButtonEditClient.ToString() TextBoxPassword.

Click searchClient(TextBoxSearchClientCode. "AccountCode". IT Online Banking Final Project Report Manipal Universal Learning ' ButtonShowSignature.EventArgs) Handles ButtonMemberSearch.netDatabase..Web.Click MultiView2.Message End Try End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object. Name FROM View_Client " + where reader = netSystem.ImageClickEventArgs) Handles ImageButtonShowClientRegistrationForm. TextBoxSearchFirstName.getTableValue(record. ByVal e As System. TextBoxSearchLastName.Web.ImageClickEventArgs) Handles ImageButtonNewClientRegistration.Master of Science in Information Technology M.Sc.ActiveViewIndex = 2 'Dim ex As New Exception("Rajendra Man Banepali.Text.._setInfo = info Catch ex As Exception netSystem.ActiveViewIndex = 0 End Sub Protected Sub ImageButtonShowClientRegistrationForm_Click(ByVal sender As Object.ActiveViewIndex = 1 ImageButtonNewClientRegistration_Click(sender. ByVal e As System.UI." End If netSystem.Text.UI. ByVal e As System.Text = "Hide Signature" 'End If '****** Loading data 'ButtonShowSignature_Click(Me.netDatabase.ImageClickEventArgs) Handles ImageButtonShowSearch.UI.Web. Sahara Banepali and Rabina Gorkhali." Else info = "Record not found._setError = ex End Sub Protected Sub ImageButtonNewClientRegistration_Click(ByVal sender As Object.tableName. ByVal e As System.Click newClientRegistration() End Sub Protected Sub saveClientIntoAccountHead(ByVal where As String) Dim reader As SqlDataReader Dim record As New _Record("Tbl_Account") Dim aCode As String Dim pCode As String Dim c As Integer = 0 Try isql = "SELECT ClientID.Clear() 129 of 185 | Page Online Banking | OB . " WHERE ReferenceID=1996") While (reader.getReader(isql) pCode = netSystem.Text) MultiView2.Click MultiView2.") 'netSystem.Read()) c = c + 1 record. New EventArgs()) info = "Record loaded for editing._setInfo = ex. e) End Sub Protected Sub ButtonMemberSearch_Click(ByVal sender As Object.

Master of Science in Information Technology M.isRecordExist(record.Text) '***** if Password is reset If (TextBoxPassword. Val(TextBoxClientID.FileName <> "") Then 130 of 185 | Page Online Banking | OB . "tbl_account". TextBoxFirstName. DropDownListMaritalStatus.Text) record = record._setInfo = info Catch ex As Exception _setError = ex End Try End Sub Protected Sub saveClientRegistration() Dim signatureFile As String = "" Try Dim record As New _netSystem. DropDownListSex. ""). TextBoxRemark.addRecord("Address".addRecord("MaritalStatus".addRecord("AccountID". "This is auto posting while registering client.Text) record = record." netSystem. TextBoxAddress._getNewItemCode(pCode.addRecord("UserPassword".addRecord("Remark". reader("Name")) record.addRecord("ReferenceID".Text)) record = record.addRecord("LastName". TextBoxPassword. IT Online Banking Final Project Report Manipal Universal Learning If (netSystem.netDatabase.Text) record = record.") netSystem.SelectedItem.Text) record = record.ToString + " AND ParentCode='" + pCode + "')") = False) Then aCode = netSystem. "parentCode") record.addRecord("Sex".netDatabase. TextBoxClientCode.Text <> "") Then record = record.addRecord("Account".SelectedItem.addRecord("UserName".ToString) record.addRecord("Description".tableName.insertCommand) End If End While info = c + " Client(s) information are configured into account head.Clear() record = record.Text) record = record. TextBoxOccupation.commandType. "accountCode". pCode) record.Text) record = record. TextBoxLastName.addRecord("ClientCode". TextBoxUsername.addRecord("Occupation". " WHERE (ReferenceID=" + reader("ClientID"). aCode) record.Sc.getNewID(record.Text) record = record._saveRecord(record.addRecord("ParentCode".ToString) record. netSystem.Text) End If '**** If Signature file is exist to upload on the server If (Me. "AccountID".addRecord("ClientID"._Record("Tbl_Client") record.addRecord("AccountCode".Text) record = record.addRecord("FirstName".tableName.FileUploadSingature. _Record. reader("ClientID").

Sc. signatureFile) End If If TextBoxClientID.ImageUrl = signatureFile info = info + " Signature is uploaded to server.Master of Science in Information Technology M.Text)) Then 'signatureFile = netSystem. "\\") 'netSystem.isql End If Else info = "The Client CODE is already exist.netImage.Text + "' and ClientCode='" + Me.Text = cID info = "New record inserted first time._saveRecord(record.getRecordValue("ClientID") info = "Existing record updated.netClientService. _Record.isRecordExist("tbl_client". " WHERE (ClientID<>'" + Me." End If End If '**** Saving Signature in Physical location If (Me.Text = info '+ "<br>" + 131 of 185 | Page Online Banking | OB . _Record.FileUploadSingature._write(signatureFile) record = record.FileName <> "") Then If (netSystem.TextBoxClientID.ToString + ")") End If Else info = "The Client CODE is already exist.insertCommand)) Then cID = record.isRecordExist("tbl_client".netDatabase.commandType._saveRecord(record.copySignature(Me.addRecord("SignatureFile".Text) 'signatureFile = signatureFile. Please assign new Client CODE. TextBoxClientCode.netImage." Else info = info + " Error raised while coping signature to server." End If End If '**** end of file upload 'LabelInfo.Text + "'") = True) Then If (netSystem.Text = "-1" Then '***** Check the existing record of Client Code only If Not (netSystem. " WHERE ClientCode='" + Me." End If Else '***** Check the existing record of Client Code only If Not (netSystem.getSignatureFile(TextBoxClientCode.commandType.netDatabase." ' + "<br>" + netSystem." '***** Saving into account heading saveClientIntoAccountHead(" WHERE (ClientID=" + cID.getRecordValue("ClientID") TextBoxClientID.updateCommand)) Then cID = record.getSignatureFile(TextBoxClientCode.TextBoxClientCode.FileUploadSingature.netImage. Please assign new Client CODE.Replace("\". IT Online Banking Final Project Report Manipal Universal Learning signatureFile = netSystem.Text) ImageSignature.TextBoxClientCode.Text + "')") = True) Then If (netSystem.

ByVal e As System.ImageButtonSaveClientRegistraion.ToStrin g() netSystem.Enabled = False 'Else ' Me.Text = "" TextBoxAddress._setInfo = info End Try End Sub Protected Sub ImageButtonSaveClientRegistration_Click(ByVal sender As Object.netClientService.ActiveViewIndex = -1 ' ButtonShowSignature.Text = "" TextBoxRemark.Text = "Hide Signature" 'Else ' MultiViewSignature.Text = "" TextBoxLastName.Activate 'If (TextBoxClientID.Text = "" info = "Add new client registration.Text = "-1") Then ' Me.Message + "<br>" + netSystem._getNewClientCode() TextBoxFirstName.TextBoxClientID.Enabled = True 'End If End Sub 132 of 185 | Page Online Banking | OB .netImage._setInfo = info Catch ex As Exception info = ex.ImageButtonSaveClientRegistraion.EventArgs) Handles ButtonShowSignature.Text = "Show Signature" 'End If End Sub Protected Sub View2_Activate(ByVal sender As Object.Text) End Sub Protected Sub ButtonShowSignature_Click(ByVal sender As Object.Click saveClientRegistration() 'loadClientDetailForm(Me.isql netSystem.netImage.Text)) 'If MultiViewSignature.Master of Science in Information Technology M.ImageClickEventArgs) Handles ImageButtonSaveClientRegistraion.getSignatureFile(Me ._setInfo = info Catch ex As Exception info = ex.GetHashCode().commandType.Sc.TextBoxClientCode. ByVal e As System.Text = netSystem._showPicture(netSystem.Click netSystem.Text = "" TextBoxOccupation." netSystem. IT Online Banking Final Project Report Manipal Universal Learning netSystem.ActiveViewIndex = 0 ' ButtonShowSignature.Web.Message netSystem._setInfo = info End Try End Sub Protected Sub newClientRegistration() Try '**** making Empty Fields TextBoxClientID.iSql '+ _Record.EventArgs) Handles View2. ByVal e As System.ActiveViewIndex = -1 Then ' MultiViewSignature.insertCommandPreparationOnly.Text = "-1" '***** get new id TextBoxClientCode.UI.

Click saveClientIntoAccountHead("") Dim ex As New Exception("<h3>All Bank Accounts are registered as Account Heading for bill payable. ByVal e As System.Text netSystem.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen. e) info = "Record Deleted.SelectedRow. e) End Sub Protected Sub ImageButtonSendBankAccToLedger_Click(ByVal sender As Object.Sc. ByVal e As System.ToString) ButtonMemberSearch_Click(sender.PageIndexChanged ButtonMemberSearch_Click(sender. " WHERE ClientID=" + cID.SelectedIndex = -1) Then cID = GridView1.EventArgs) Handles GridView1._setInfo = ex." End If netSystem.aspx.ActiveViewIndex = -1 Else MultiViewUserSecurity.ActiveViewIndex = 0 End If End Sub End Class 10.Web.ActiveViewIndex = 0 Then MultiViewUserSecurity.Master of Science in Information Technology M.</h3>") _setError = ex End Sub Protected Sub ButtonUserSecurity_Click(ByVal sender As Object.Message _setError = ex End Try End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object.Click If MultiViewUserSecurity.ImageClickEventArgs) Handles ImageButtonSendBankAccToLedger. ByVal e As System.EventArgs) Handles ButtonDeleteBankAccount.UI._deleteRecord("tbl_client".Cells(1). IT Online Banking Final Project Report Manipal Universal Learning Protected Sub ButtonDeleteBankAccount_Click(ByVal sender As Object. ByVal e As System.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> 133 of 185 | Page Online Banking | OB ." Else info = "Please select a record from the list.master" AutoEventWireup="false" CodeFile="voucher.11 Page: voucher.EventArgs) Handles ButtonUserSecurity.2.Click Try If Not (GridView1._setInfo = info Catch ex As Exception netSystem.

png" ToolTip="New Voucher" />&nbsp.Sc.</td> <td align="left"> <asp:TextBox ID="TextBoxSearchVoucherNo" runat="server" Width="76px"></asp:TextBox></td> </tr> <tr> <td colspan="2" valign="middle"> <asp:Button ID="ButtonSearch" runat="server" CssClass="button" Text="Search Now" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> 134 of 185 | Page Online Banking | OB .png" ToolTip="Search Voucher" />&nbsp.Master of Science in Information Technology M.&nbsp. <asp:ImageButton ID="ImageButtonNewVoucher1" runat="server" ImageUrl="~/images/generic.&nbsp.back(-1)" class="back"></a> <asp:Label ID="LabelTitle" runat="server" CssClass="adminheader" Text="Deposite"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Voucher</th> </tr> <tr> <td align="center"> <table> <tr> <td valign="middle"> Voucher Date <br /> </td> <td valign="middle" align="left"> <asp:TextBox ID="TextBoxSearchVoucherDate" runat="server" CssClass="inputbox" Width="79px" MaxLength="10">YYYY-MM-DD</asp:TextBox> &nbsp.(Please enter into the formate of YYYY-MM-DD)</td> </tr> <tr> <td valign="middle"> Voucher No. IT Online Banking Final Project Report Manipal Universal Learning <table class="adminform"> <tr> <td style="width: 150px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext. <td> <a href="#" onclick="history.

IT Online Banking Final Project Report Manipal Universal Learning </table> </asp:View> <asp:View ID="View2" runat="server"> <table class="adminlist"> <tr> <th> Voucher</th> </tr> <tr> <td> <table> <tr> <td colspan="5"><table class="adminform"> <tr> <td style="width: 141px"> <asp:ImageButton ID="ImageButtonNewAccountHeading" runat="server" ImageUrl="~/images/new_f2. . **&nbsp.png" ToolTip="New" /> <asp:ImageButton ID="ImageButtonSaveVoucher" runat="server" ImageUrl="~/images/save_f2.print()"> Print </a><span style="color: #000000">]</span></td> </tr> </table> </td> </tr> <tr> <td style="width: 69px"> Voucher No.png" ToolTip="Add Voucher Detail" OnClientClick=" " /> <asp:ImageButton ID="ImageButtonDeleteDetail" runat="server" ImageUrl="~/images/delete_f2.Sc.png" ToolTip="Delete Voucher Detail" OnClientClick=" " /></td> <td style="width: 141px" valign="top"> <strong><span style="color: #ff0000">Note:&nbsp. <asp:RequiredFieldValidator ID="RequiredFieldValidatorClientCode" runat="server" 135 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.</td> <td> <asp:TextBox ID="TextBoxVoucherMasterID" runat="server" Width="1px" CssClass="inputbox" ReadOnly="True" Visible="False"></asp:TextBox> <asp:TextBox ID="TextBoxVoucherNo" runat="server" CssClass="inputbox"></asp:TextBox>&nbsp. &nbsp. <asp:ImageButton ID="ImageButtonAddDetail" runat="server" ImageUrl="~/images/properties_f2.&nbsp.Required Field<br /> </span></strong><span style="color: #000000"> [ </span><a href="javascript:void(0)" onclick="window.png" ToolTip="Save" /></td> <td style="width: 141px" align="right"> &nbsp.

Sc. IT Online Banking Final Project Report Manipal Universal Learning ControlToValidate="TextBoxVoucherNo" ErrorMessage="Account Code is required.<asp:TextBox ID="TextBoxDescription" runat="server" CssClass="inputbox" Rows="5" TextMode="MultiLine" Width="271px" Height="34px"></asp:TextBox></td> </tr> </table> </td> </tr> <tr> <td> <asp:Panel ID="PanelDetail" runat="server" Height="65px" Visible="False" Width="125px"> <table style="width: 694px"> 136 of 185 | Page Online Banking | OB ." MaximumValue="9999999999999999999" MinimumValue="1" Visible="False"><br>At the first Master Voucher must be saved before detail of voucher." Font-Bold="True">**</asp:RequiredFieldValidator> <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TextBoxVoucherMasterID" Display="Dynamic" ErrorMessage="At the first Master Voucher must be saved before detail of voucher.</asp:RangeValidator></td> <td> </td> <td style="width: 79px"> Voucher Type&nbsp.</td> <td style="width: 285px"> <asp:DropDownList ID="DropDownListVoucherType" runat="server" AutoPostBack="True"> </asp:DropDownList>&nbsp.Master of Science in Information Technology M. </td> </tr> <tr> <td valign="top" style="width: 69px"> Date</td> <td valign="top"> <asp:TextBox ID="TextBoxVoucherDate" runat="server" CssClass="inputbox"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorParentCode" runat="server" ControlToValidate="TextBoxVoucherDate" ErrorMessage="Voucher Date required. 2008-1115)</asp:RegularExpressionValidator></td> <td valign="top"> </td> <td valign="top" style="width: 79px"> Description</td> <td style="width: 285px" valign="top"> &nbsp. 2008-11-15)" ValidationExpression="\d{4}-\d{2}\d{2}"><br> Require: YYYY-MM-DD <br>(ie." Font-Bold="True" Width="8px">**</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidatorClientCode" runat="server" is ControlToValidate="TextBoxVoucherDate" Display="Dynamic" ErrorMessage="Voucher Date should be in format like : YYYY-MM-DD (ie.

IT Online Banking Final Project Report Manipal Universal Learning <tr> <th style="width: 200px"> A/C Code</th> <th style="width: 300px"> Account</th> <th style="width: 296px"> Description</th> <th style="width: 296px"> Debit</th> <th style="width: 296px"> Credit</th> <th style="width: 296px"> </th> </tr> <tr> <td style="width: 200px"> <asp:TextBox ID="TextBoxDetailAccountCode" runat="server" Width="70px" CssClass="inputbox"></asp:TextBox></td> <td style="width: 300px"> <asp:TextBox ID="TextBoxDetailAccount" runat="server" CssClass="inputbox" ReadOnly="True" BackColor="Info"></asp:TextBox></td> <td style="width: 296px"> <asp:TextBox ID="TextBoxDetailDescription" runat="server" CssClass="inputbox"></asp:TextBox></td> <td style="width: 296px"> <asp:TextBox ID="TextBoxDetailDebit" runat="server" Width="60px" CssClass="inputbox"></asp:TextBox></td> <td style="width: 296px"> <asp:TextBox ID="TextBoxDetailCredit" runat="server" Width="60px" CssClass="inputbox"></asp:TextBox></td> <td style="width: 296px"> <asp:Button ID="ButtonDetailSave" runat="server" CssClass="button" Text="Save" /><asp:Button ID="ButtonDetailCancel" runat="server" CssClass="button" Text="Cancel" /></td> </tr> </table> </asp:Panel> </td> </tr> <tr> <td> <asp:GridView ID="GridViewVoucherDetail" runat="server" CellPadding="4" ForeColor="#333333" DataSourceID="SqlDataSourceVoucherDetail" AllowPaging="True" CssClass="adminlist" AutoGenerateColumns="False" ShowFooter="True"> <FooterStyle BackColor="Info" FontBold="True" ForeColor="White" BorderColor="DarkGray" BorderStyle="Solid" BorderWidth="1px" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.gif" ShowSelectButton="True" /> <asp:ButtonField Text="A/C" Visible="False" HeaderText="[AC]" ShowHeader="True" /> <asp:BoundField DataField="Acode" HeaderText="A/C Code"> 137 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.Sc.

IT Online Banking Final Project Report Manipal Universal Learning <HeaderStyle HorizontalAlign="Left" /> <ControlStyle Width="60px" /> </asp:BoundField> <asp:BoundField DataField="Account" HeaderText="Account" ReadOnly="True"> <HeaderStyle HorizontalAlign="Left" /> </asp:BoundField> <asp:BoundField DataField="Description" HeaderText="Description"> <HeaderStyle HorizontalAlign="Left" /> </asp:BoundField> <asp:BoundField ApplyFormatInEditMode="True" DataField="Debit" FooterText="**" HeaderText="Debit" NullDisplayText=" -"> <ControlStyle Width="70px" /> <ItemStyle HorizontalAlign="Right" /> <HeaderStyle HorizontalAlign="Right" /> <FooterStyle Font-Bold="True" Font-Overline="True" Font-Size="Medium" Font-Underline="True" ForeColor="Red" HorizontalAlign="Right" /> </asp:BoundField> <asp:BoundField DataField="credit" FooterText="**" HeaderText="Credit" NullDisplayText=" -"> <ControlStyle Width="70px" /> <ItemStyle HorizontalAlign="Right" /> <HeaderStyle HorizontalAlign="Right" /> <FooterStyle Font-Bold="True" Font-Overline="True" Font-Size="Medium" Font-Underline="True" ForeColor="Red" HorizontalAlign="Right" /> </asp:BoundField> <asp:BoundField DataField="VoucherDetailID" HeaderText="#" ReadOnly="True" > <ControlStyle Width="10px" /> <ItemStyle Font-Size="XX-Small" /> <HeaderStyle Font-Size="XX-Small" /> </asp:BoundField> <asp:CommandField ShowEditButton="True" /> </Columns> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="LightSkyBlue" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" 138 of 185 | Page Online Banking | OB .Sc.Master of Science in Information Technology M.

Master of Science in Information Technology M. Debit=@Debit.WHERE VoucherDetailID=@VoucherDetailID" DeleteCommand="DELETE FROM Tbl_Voucher_Detail&#13.&#10. IT Online Banking Final Project Report Manipal Universal Learning ForeColor="#284775" /> </asp:GridView> <asp:SqlDataSource ID="SqlDataSourceVoucherDetail" runat="server" UpdateCommand="UPDATE Tbl_Voucher_Detail SET AccountCode=@AccountCode. </td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist"> <FooterStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> 139 of 185 | Page Online Banking | OB .WHERE VoucherDetailID=@VoucherDetailID" ConnectionString="<%$ AppSettings:DSN %>"> <UpdateParameters> <asp:CookieParameter CookieName="AccountCode" DefaultValue="-1" Name="AccountCode" /> <asp:CookieParameter CookieName="Description" DefaultValue="**" Name="Description" /> <asp:CookieParameter CookieName="Debit" DefaultValue="0" Name="Debit" /> <asp:CookieParameter CookieName="Credit" DefaultValue="0" Name="Credit" /> <asp:CookieParameter CookieName="VoucherDetailID" DefaultValue="-1" Name="VoucherDetailID" /> </UpdateParameters> <DeleteParameters> <asp:CookieParameter CookieName="VoucherDetailID" DefaultValue="-1" Name="VoucherDetailID" /> </DeleteParameters> </asp:SqlDataSource> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="adminlist" HeaderText="Recommended Exception(s):" ShowMessageBox="True" /> </td> </tr> </table> </asp:View> <asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> <th style="height: 25px"> Searched Voucher(s)</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <asp:Button ID="ButtonEditClient" runat="server" CssClass="button" Text="Edit" />&nbsp.Sc.&#10. Credit=@Credit&#13. Description=@Description.

Master of Science in Information Technology M.12 Code: voucher.2.gif" ShowSelectButton="True" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> <asp:Label ID="LabelInfo" runat="server" FontBold="True" Font-Size="Large" ForeColor="Red" Visible="False">***</asp:Label> </asp:Content> 10.Page Public netSystem As New _netSystem(Me) Public isql As String Dim voucherMasterID As String Dim info As String = "" Dim signatureFile As String 140 of 185 | Page Online Banking | OB .UI.Data.Sc. IT Online Banking Final Project Report Manipal Universal Learning <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.Web.aspx.SqlClient Partial Class open_account Inherits System.vb Imports _netSystem Imports System.

netDatabase.DataBind() Return (1) Catch ex As Exception _setError = ex End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object. SqlDataSource1) SqlDataSource1.EventArgs) Handles Me.QueryString("VoucherType") + " Voucher Form" 'If (IsPostBack = False) Then ' 'at the first time ' If (Request.Clear() 'If Not (Session("appWorld") = Session.SessionID.Text = Request.Master of Science in Information Technology M.Sc.QueryString("vm") ' loadVoucherForm(Request.ActiveViewIndex = 1 ' End If 'End If End Sub 141 of 185 | Page Online Banking | OB .currentWebPage = Me 'Session. ByVal voucherNo As String) Try Dim where As String = "" Dim tmpWhere As String = "" If IsDate(vDate) Then where = " (VoucherDate LIKE '%" + vDate + "%')" End If If voucherNo <> "" Then tmpWhere = " (VoucherNo LIKE '%" + voucherNo + "%') " If where <> "" Then where = where + " AND " + tmpWhere Else where = tmpWhere End If End If If where <> "" Then where = " WHERE " + where End If isql = _ " SELECT VoucherMasterID ID.Write(Request.ToString()) Then ' 'Response. IT Online Banking Final Project Report Manipal Universal Learning Protected Function searchVoucher(ByVal vDate As String.aspx") 'End If LabelTitle.getSqlDataSource(isql.ApplicationPath() + "/Default.Redirect(Request. ByVal e As System.ApplicationPath() + "/Default.Write(isql) SqlDataSource1 = netSystem. MDescription Description " + _ " FROM View_Voucher_Master " + _ where 'Response.QueryString("vm")) ' MultiView2.Load netSystem.QueryString("vm") <> "") Then ' voucherMasterID = Request. VoucherNo '#VNo'. VoucherDate VDate.aspx") ' 'Response.

SelectedIndex = -1) Then voucherMasterID = GridView1. ByVal e As System.Text = reader("VoucherMasterID")." End If Catch ex As Exception 142 of 185 | Page Online Banking | OB ._setInfo = ex.netDatabase.SelectedRow.Trim() MultiView2.ToString() reader = netSystem.Text = reader("VoucherNo").Cells(3).ActiveViewIndex = 1 loadVoucherForm(voucherMasterID) Else info = "Please select a record from the list.SelectedValue = reader("VoucherType"). " netSystem." Else SqlDataSourceVoucherDetail.ToString() TextBoxVoucherDate.Text._setInfo = ex.EventArgs) Handles ButtonEditClient._setInfo = info End If Catch ex As Exception netSystem.DataBind() info = "Voucher master record not found.Cells(1).Text = reader("MDescription").SelectedRow.Text + " selection process is complated.Message End Try End Sub Protected Sub ButtonEditClient_Click(ByVal sender As Object.Text = reader("VoucherType")." Catch ex As Exception netSystem.ToString() DropDownListVoucherType.Text netSystem.getReader(isql) If (reader. " + GridView1.Master of Science in Information Technology M.Text = reader("VoucherDate").ToString() TextBoxVoucherNo.ToString() '****** Loading Master data LabelTitle._setInfo = " Voucher No.EventArgs) Handles GridView1.SelectedIndexChanged Try 'voucherMasterID = GridView1.Read()) Then '****** loading Vouher Type loadComboVoucherType() '****** Loading Master data TextBoxVoucherMasterID.ToString() + " Voucher Form" info = "@Voucher master data loaded.Cells(0).SelectedRow. ByVal e As System.Message End Try End Sub Protected Sub loadVoucherMaster(ByVal masterID As Integer) Try Dim reader As SqlDataReader isql = "SELECT * FROM View_Voucher_Master WHERE VoucherMasterID=" + masterID.Click Try If Not (GridView1. IT Online Banking Final Project Report Manipal Universal Learning Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object.Sc.ToString() TextBoxDescription.

Account.Columns(i). AccountCode ACode.HeaderText = "Debit" Then GridViewVoucherDetail.netDatabase.Columns(i).Count ._setInfo = ex.netDatabase.netDatabase. SqlDataSourceVoucherDetail) SqlDataSourceVoucherDetail.getReader(isql) If (netSystem.##.ToString() rs = netSystem.Read()) Then If (IsNumeric(rs("c"))) Then cTotal = rs("c") End If End If Dim i As Integer For i = 0 To GridViewVoucherDetail. " + _ " 'Debit' = ( CASE WHEN Debit >= 1 THEN Debit ELSE NULL END).Columns(i).FooterText = Format(dTotal.Read()) Then If (IsNumeric(rs("d"))) Then dTotal = rs("d") End If End If '**** Credit Calculation isql = "SELECT sum(Credit) c FROM View_Voucher_Master_Detail WHERE VoucherMasterID=" + masterID.Columns. " + _ " 'Credit' = ( CASE WHEN Credit >= 1 THEN Credit ELSE NULL END) " + _ " FROM View_Voucher_Master_Detail " + _ " WHERE VoucherMasterID=" + masterID.netDatabase.Read()) Then SqlDataSourceVoucherDetail = netSystem.Message End Try netSystem.getSqlDataSource(isql.Sc. " WHERE VoucherMasterID=" + masterID.netDatabase.getReader(isql) If (rs.Text = masterID isql = _ " SELECT VoucherDetailID. Description. IT Online Banking Final Project Report Manipal Universal Learning netSystem.ToString() rs = netSystem.ToString() reader = netSystem.DataBind() Dim rs As SqlDataReader '**** Debit Calculation isql = "SELECT sum(Debit) d FROM View_Voucher_Master_Detail WHERE VoucherMasterID=" + masterID.#0") ElseIf GridViewVoucherDetail.ToString())) Then '***** if record found If (reader.1 If GridViewVoucherDetail.isRecordExist("View_Voucher_Master_Detail". "###.getReader(isql) If (rs.Master of Science in Information Technology M.HeaderText = "Credit" Then 143 of 185 | Page Online Banking | OB ._setInfo = info End Sub Protected Sub loadVoucherDetail(ByVal masterID As Integer) Try Dim reader As SqlDataReader Dim dTotal As Double = 0 Dim cTotal As Double = 0 TextBoxVoucherMasterID.

00") 'GridViewVoucherDetail.Message End Try netSystem.Columns(5).netDatabase.DataBind() PanelDetail.ImageClickEventArgs) Handles ImageButtonNewVoucher1.Text <> "") Then vn = TextBoxSearchVoucherNo. "000.Click MultiView2.UI.00") info = "@Voucher details loaded.FooterText = Format(cTotal. IT Online Banking Final Project Report Manipal Universal Learning GridViewVoucherDetail.Visible = True info = "@Voucher detail record not found.ActiveViewIndex = 2 144 of 185 | Page Online Banking | OB . e) End Sub Protected Sub ButtonSearch_Click(ByVal sender As Object. SqlDataSourceVoucherDetail) SqlDataSourceVoucherDetail.UI._setInfo = ex. ByVal e As System.Text End If searchVoucher(dt. " End If Else '*** if record is not found SqlDataSourceVoucherDetail = netSystem.ImageClickEventArgs) Handles ImageButtonShowSearch.Web. "000.00.##. " End If Catch ex As Exception netSystem.Text) = True) Then dt = TextBoxSearchVoucherDate.Click MultiView2. "###.Master of Science in Information Technology M.Text End If If (TextBoxSearchVoucherNo.Message End Try 'netSystem.getSqlDataSource(isql._setInfo = info End Sub Protected Sub loadVoucherForm(ByVal masterID As Integer) Try loadVoucherMaster(masterID) loadVoucherDetail(masterID) Catch ex As Exception netSystem.ActiveViewIndex = 0 End Sub Protected Sub ImageButtonNewVoucher1_Click(ByVal sender As Object. vn) MultiView2. ByVal e As System.Click Dim dt As String = "" Dim vn As String = "" If (IsDate(TextBoxSearchVoucherDate.FooterText = Format(dTotal.ActiveViewIndex = 1 ImageButtonNewVoucher_Click(sender.Web.#0") End If Next 'GridViewVoucherDetail.Columns(4)._setInfo = ex.FooterText = Format(cTotal.Columns(i).EventArgs) Handles ButtonSearch.Sc. ByVal e As System._setInfo = info End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object.00.

_Record("Tbl_Voucher_Detail") Dim userName As String If Session("UserName") <> "" Then userName = Session("UserName") Else userName = "Unknown" End If record.addRecord("VoucherDetailID". TextBoxDetailAccountCode.Text) record = record.") 'netSystem. ByVal e As System.Text)) record = record. TextBoxDetailDescription. Please assign new Voucher No.Text)) record = record._setError = ex End Sub Protected Sub ImageButtonNewVoucher_Click(ByVal sender As Object. _Record..addRecord("Credit".UI. e) PanelDetail. " Else info = "Error raise while saving voucher detail record.addRecord("VoucherMasterID".addRecord("Description".getRecordValue("AccountID") info = "New voucher detail record inserted first time.addRecord("AccountCode".Visible = True End Sub Protected Sub saveVoucherDetail() Try Dim record As New _netSystem. userName) 'If TextBoxVoucherMasterID.Text) record = record.commandType. Val(TextBoxVoucherMasterID. "-1") record = record.Text)) record = record.Master of Science in Information Technology M. Val(TextBoxDetailDebit.netDatabase.Clear() record = record.Click voucherMasterID = -1 newVoucherMaster() newVoucherDetail() loadVoucherDetail(voucherMasterID) DropDownListVoucherType_SelectedIndexChanged(sender. " WHERE VoucherNo='" + Me.insertCommand)) Then 'TextBoxVoucherMasterID.Text = "-1" Then '***** Check the existing record of Client Code only 'If Not (netSystem.Text + "'") = True) Then If (netSystem. Val(TextBoxDetailCredit.Web. Sahara Banepali and Rabina Gorkhali.isRecordExist(record.TextBoxVoucherNo.tableName..addRecord("Debit".ImageClickEventArgs) Handles ImageButtonNewAccountHeading._saveRecord(record. " 'End If 145 of 185 | Page Online Banking | OB ." End If 'Else 'info = "The Voucher No.Sc. is already exist.addRecord("LastUser". IT Online Banking Final Project Report Manipal Universal Learning 'Dim ex As New Exception("Rajendra Man Banepali.Text = record.

_Record._setInfo = info PanelDetail.Text) record = record.addRecord("VoucherNo".Text) Catch ex As Exception info = ex.GetHashCode().addRecord("VoucherDate".SelectedItem.addRecord("Description".Text)) record = record.addRecord("VoucherType". _Record.Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning 'Else '***** Check the existing record of Client Code only 'If Not (netSystem.Text + "' and VoucherNo='" + Me. userName) If TextBoxVoucherMasterID.getRecordValue("VoucherMasterID") TextBoxVoucherMasterID.commandType.insertCommand)) Then voucherMasterID = record.Sc.isRecordExist(record._setInfo = info End Sub Protected Sub saveVoucherMaster() Try Dim record As New _netSystem. " WHERE VoucherNo='" + Me.Text + "')") = True) Then 'If (netSystem.addRecord("LastUser". DropDownListVoucherType.Text = voucherMasterID info = "New voucher master record inserted first time.Text + "'") = True) Then If (netSystem.insertCommandPreparationOnly.Value) record = record.TextBoxVoucherNo.updateCommand)) Then 'info = info + "Existing record updated.netClientService. " WHERE (VoucherMasterID<>'" + Me. TextBoxDescription.isql 'End If 'Else 'info = "The Voucher No. " 'End If 'End If loadVoucherDetail(TextBoxVoucherMasterID. " ' + "<br>" + netSystem. is already exist. TextBoxVoucherNo.netDatabase.Text = "-1" Then '***** Check the existing record of Client Code only If Not (netSystem.tableName._saveRecord(record. Please assign new Voucher No. TextBoxVoucherDate._saveRecord(record.Visible = True End Try netSystem.Clear() record = record.netDatabase._Record("Tbl_Voucher_Master") Dim userName As String If Session("UserName") <> "" Then userName = Session("UserName") Else userName = "Unknown" End If record.Text) record = record. " 146 of 185 | Page Online Banking | OB .commandType.ToString() netSystem.addRecord("VoucherMasterID".TextBoxVoucherNo.tableName.Message + "<br>" + netSystem.TextBoxVoucherMasterID. Val(TextBoxVoucherMasterID.commandType.isRecordExist(record.iSql '+ _Record.Text) record = record.

Message + "<br>" + netSystem. isql) End Sub Protected Sub newVoucherDetail() TextBoxDetailAccountCode. VoucherType FROM Tbl_VoucherType" netSystem. " End If End If Catch ex As Exception LabelInfo.Text = "" TextBoxDetailCredit. " netSystem.Text = "" info = "Add new voucher master. _Record.Text = "" TextBoxDetailDebit.Text = "" TextBoxDetailAccount. " WHERE (VoucherMasterID<>'" + Me.netDatabase.Text = "" TextBoxVoucherDate.Text = voucherMasterID TextBoxVoucherNo. IT Online Banking Final Project Report Manipal Universal Learning End If Else info = "The Voucher No.insertCommandPreparationOnly._setInfo = info End Sub Protected Sub newVoucherMaster() '**** making Empty Fields '****** loading Parent Code Combo Try loadComboVoucherType() voucherMasterID = -1 TextBoxVoucherMasterID. " End If Else '***** Check the existing record of Client Code only If Not (netSystem.Text + "')") = True) Then If (netSystem.Text = ex.updateCommand)) Then info = info + "Existing record updated._saveRecord(record. " netSystem. " ' + "<br>" + netSystem.TextBoxVoucherMasterID.tableName.Text = "" TextBoxDetailDescription. Please assign new Voucher No.Master of Science in Information Technology M.Sc.Text = "" TextBoxDescription.Text + "' and VoucherNo='" + Me._setInfo = info End Sub Protected Sub loadComboVoucherType() '****** loading Parent Code Combo isql = "SELECT VoucherType.TextBoxVoucherNo. is already exist.isql End If Else info = "The Voucher No.Text = "" info = "Add new voucher detail.iSql '+ _Record.isRecordExist(record._setInfo = info Catch ex As Exception 147 of 185 | Page Online Banking | OB ._fillComboList(DropDownListVoucherType.GetHashCode(). Please assign new Voucher No.ToString() End Try netSystem.netClientService. is already exist.commandType.commandType.

Expires = Now() Response.Text = "-1" Or Me.Cookies("VoucherDetailID").Cookies("AccountCode").EventArgs) Handles View2.UI.GridViewVoucherDetail._write("### " + GridViewVoucherDetail. Response.SelectedValue) End If End Sub Protected Sub View2_Activate(ByVal sender As Object.Cells(net System.Rows(GridViewVoucherDetail.PageIndexChanged ButtonSearch_Click(sender. "#"))._setInfo = ex.EventArgs) Handles DropDownListVoucherType.Rows(GridViewVoucherDetail.SelectedIndexChanged If (Me. ByVal e As System.GridViewVoucherDetail. e) End Sub Protected Sub DropDownListVoucherType_SelectedIndexChanged(ByVal sender As Object. ByVal e As System.CommandName = "Update") Then '***** Deleting existing cookies. ByVal e As System. "#")).Cookies("Debit").TextBoxVoucherMasterID.GridViewCommandEventArgs) Handles GridViewVoucherDetail.SelectedIndex = -1) Then Response. ByVal e As System.TextBoxVoucherNo.Text) 'End If info = "Voucher detail record deleted.Activate loadComboVoucherType() End Sub Protected Sub GridViewVoucherDetail_RowCommand(ByVal sender As Object.Expires = Now() Response.Value = GridViewVoucherDetail.UI.SelectedIndex). " '************* Update Command ElseIf (e.Text = "") Then Me.EventArgs) Handles GridView1.Text = netSystem.Cookies("Description").Expires = Now() Response.Cookies("VoucherDetailID").Sc.RowCommand Try '**** column index configuration Dim paddingIndx As Integer = 1 Dim ACodeIndx As Integer = 0 + paddingIndx '************* DElETE Command If (e. ByVal e As System._getGridViewColumnIndex(Me._getGridViewColumnIndex(Me.Cells(net System.TextBoxVoucherMasterID..Expires = Now() '**** Primary Key in Database as VD ID Response.Cookies("VoucherDetailID").Click saveVoucherMaster() End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object.Cookies("Credit"). IT Online Banking Final Project Report Manipal Universal Learning netSystem.Expires = Now() 148 of 185 | Page Online Banking | OB .CommandName = "Delete") Then 'If Not (GridViewVoucherDetail.Web.ImageClickEventArgs) Handles ImageButtonSaveVoucher.Web._getNewVoucherNo(DropDownListVoucherType...Text netSystem.Message End Try End Sub Protected Sub ImageButtonSaveVoucher_Click(ByVal sender As Object.SelectedIndex).WebControls.Expires = Now() Response.Master of Science in Information Technology M.

Text 'Response.Value + " EI: " + GridViewVoucherDetail.GridVi ewVoucherDetail.Text Response._getGridViewColumnIndex(Me.Master of Science in Information Technology M.EditIndex).GridViewVoucherDetail.CommandName = "Cancel") Then info = "Voucher detail record editing canceled.Rows(GridViewVoucherDetail. e) netSystem.Rows(GridViewVoucherDetail.Value = CType(GridViewVoucherDetail.Cookies("Credit").Cells(netSyst em.Visible = False ElseIf (e. " ElseIf (e.Value = CType(GridViewVoucherDetail. "[AC]")).ToString + " CELL: " + Request.EditIndex = GridViewVoucherDetail. " ElseIf (e." 'GridViewVoucherDetail.Cells(n etSystem.GridVi ewVoucherDetail. "Credit")).Sc.Columns(netSystem.Visible = False info = "Voucher Detail record updated.Text 'GridViewVoucherDetail.Value + " V:" + Request. "Description")).Text '**** Primary Key in Database as VD ID Response.Controls(0). IT Online Banking Final Project Report Manipal Universal Learning '***** Assigning existing cookies.EditIndex).Cookies("VoucherDetailID"). TextBox).EditIndex).CommandName = "Edit") Then GridViewVoucherDetail.GridViewVoucherDetail.GridVi ewVoucherDetail._getGridViewColumnIndex(Me._getGridViewColumnIndex(Me.CommandName = "New") Then '************* New Command newVoucherDetail() PanelDetail.Value = GridViewVoucherDetail._getGridViewColumnIndex(Me.Write("A:" + Request.Cookies("Debit").Rows.Rows(GridViewVoucherDetail.Visible = True info = "Voucher detail record editing._getGridViewColumnIndex(Me.Rows(GridViewVoucherDetail. TextBox).Cookies("AccountCode").GridViewVoucherDetail.._getGridViewColumnIndex(Me.EditIndex).Columns(netSystem.Rows(GridViewVoucherDetail.Value = CType(GridViewVoucherDetail.. "#")).Count End If Dim m As String = info ButtonEditClient_Click(sender.Cookies("VoucherDetailID").Text Response.Cells(ACodeI ndx + 5).Cells(n etSystem.Cells(n etSystem.Cookies("VoucherDetailID")._getGridViewColumnIndex(Me.Columns(netSystem.EditIndex).Cookies("Description"). Response.Cookies("AccountCode").Rows(GridViewVoucherDetail.Value) GridViewVoucherDetail.." GridViewVoucherDetail.Value = CType(GridViewVoucherDetail.Controls(0). "Debit")).Visible = True info = "Add new voucher detail record.EditIndex._getGridViewColumnIndex(Me. TextBox).GridViewVoucherDetail. "A/C Code")). "[AC]")).Cells(n etSystem.Controls(0).EditIndex).Text Response._setInfo = m Catch ex As Exception _setError = ex End Try End Sub Protected Sub GridView1_DataBound(ByVal sender As Object.Controls(0).GridViewVoucherDetail. TextBox). "[AC]")). ByVal e As 149 of 185 | Page Online Banking | OB .

Web.ImageClickEventArgs) Handles ImageButtonAddDetail.UI.Click If Me.Sc.SelectedIndex = -1) Then netSystem.Click newVoucherDetail() PanelDetail.TextBoxVoucherMasterID. " WHERE VoucherDetailID=" + GridViewVoucherDetail.Visible = True End Sub Protected Sub ImageButtonDeleteDetail_Click(ByVal sender As Object._getGridViewColumnIndex(Me.EventArgs) Handles GridView1.Text) info = "Voucher Detail Deleted.TextBoxVoucherMasterID." End Sub Protected Sub ButtonDetailCancel_Click(ByVal sender As Object." netSystem._setInfo = info Else info = "Select Voucher Detail Record to delete.Master of Science in Information Technology M.Rows(GridViewVoucherDetail.Visible = False End Sub Protected Sub ButtonDetailSave_Click(ByVal sender As Object.Count." netSystem. "#")).Rows.Cells(net System." netSystem.EventArgs) Handles ButtonDetailSave.UI.Click PanelDetail._setInfo = info Else saveVoucherDetail() PanelDetail.Text = "-1" Then info = "At the first Master Voucher must be saved before detail of voucher.EventArgs) Handles ButtonDetailCancel.Visible = False End If End Sub Protected Sub ImageButtonAddDetail_Click(ByVal sender As Object._setInfo = info End If Catch ex As Exception _setError = ex End Try End Sub End Class 150 of 185 | Page Online Banking | OB . IT Online Banking Final Project Report Manipal Universal Learning System.ToString + " Row(s) effected.DataBound netSystem.Web. ByVal e As System.Click Try If Not (GridViewVoucherDetail. ByVal e As System.Text) loadVoucherDetail(Me._deleteRecord("Tbl_Voucher_Detail". ByVal e As System.ImageClickEventArgs) Handles ImageButtonDeleteDetail. ByVal e As System.GridViewVoucherDetail._setInfo = GridView1.SelectedIndex).

back(-1)" class="back"></a> <asp:Label ID="LabelTitle" runat="server" CssClass="adminheader" Text="Ledger"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Config Key</th> </tr> <tr> <td align="center"> <table> <tr> <td align="left"> Account Head</td> <td colspan="2" align="left"> <asp:DropDownList ID="DropDownListSearchAccount" runat="server"> </asp:DropDownList></td> </tr> <tr> <td align="left"> Date</td> <td align="left"> <asp:TextBox ID="TextBoxSearchDateFrom" runat="server" CssClass="inputbox" Width="69px"></asp:TextBox></td> <td align="left"> <asp:TextBox ID="TextBoxSearchDateTo" runat="server" CssClass="inputbox" 151 of 185 | Page Online Banking | OB .&nbsp.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 188px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext.13 Report Page: ledger.2.&nbsp. IT Online Banking Final Project Report Manipal Universal Learning 10.&nbsp. </td> <td> <a href="#" onclick="history.Sc.Master of Science in Information Technology M.png" ToolTip="Search Client" />&nbsp.aspx.master" AutoEventWireup="false" CodeFile="ledger.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.

.print()">Print</a> ]</td> <td> </td> </tr> <tr> <td> <strong>Ledger Name:</strong></td> <td> <asp:Label ID="LabelAccuntName" runat="server" Text=". IT Online Banking Final Project Report Manipal Universal Learning (Date Format: YYYY-MM-DD ie.Sc.Master of Science in Information Technology M."></asp:Label></td> </tr> </table> </td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridViewLedger" runat="server" CellPadding="4" ForeColor="#333333" 152 of 185 | Page Online Banking | OB ."></asp:Label></td> </tr> <tr> <td> <strong>Date:</strong></td> <td> <asp:Label ID="LabelDateDuration" runat="server" Text=".. <asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> <th style="height: 25px"> Ledger Report</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <table> <tr> <td> [ <a href="javascript:void(0)" onclick="window. 2008- Width="69px"></asp:TextBox> 11-09)</td> </tr> <tr> <td align="center" colspan="3"> <asp:Button ID="ButtonPreviewReport" runat="server" CssClass="button" Text="Preview Report" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> &nbsp.

Sc. IT Online Banking Final Project Report Manipal Universal Learning GridLines="Horizontal" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist" AutoGenerateColumns="False" ShowFooter="True"> <FooterStyle BackColor="Info" FontBold="True" ForeColor="Red" Font-Size="110%" Font-Strikeout="False" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Height="30px" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.Master of Science in Information Technology M.gif" ShowSelectButton="True" /> <asp:BoundField DataField="VoucherDetailID" HeaderText="ID" NullDisplayText="-" Visible="False" > <ItemStyle Font-Size="XX-Small" Width="5px" /> <HeaderStyle Font-Size="XX-Small" /> </asp:BoundField> <asp:BoundField DataField="VDate" HeaderText="VDate" NullDisplayText="-" /> <asp:BoundField DataField="VNo" HeaderText="V.No" /> <asp:BoundField DataField="Description" HeaderText="Description" NullDisplayText="-" HtmlEncode="False" /> <asp:BoundField DataField="Debit" HeaderText="Debit" NullDisplayText="-" /> <asp:BoundField DataField="Credit" HeaderText="Credit" NullDisplayText="-" /> <asp:BoundField DataField="Balance" HeaderText="Balance" NullDisplayText="-" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> 153 of 185 | Page Online Banking | OB .

Text = netSystem.14 Report Code: ledger.Master of Science in Information Technology M.Text = "From " + dateFrom + " To " + dateTo iSql = _ " SELECT * FROM (" + _ " SELECT NULL as VoucherDetailID.Sc. IT Online Banking Final Project Report Manipal Universal Learning <asp:Label ID="LabelInfo" runat="server" FontBold="True" Font-Size="Large" ForeColor="Red"></asp:Label> </asp:Content> 10. " + _ " 'Debit' = SUM(CASE WHEN Debit >= 1 THEN Debit ELSE NULL END). VoucherDate VDate.Web. NULL VNo.aspx.getTableValue("Tbl_Account".Page Public netSystem As New _netSystem(Me) Public iSql As String Dim cID As Integer Dim info As String Dim signatureFile As String Protected Function previewReport(ByVal accountCode As String. ('<a href=. NULL VoucherMasterID./com_report/voucher.SqlClient Partial Class open_account Inherits System. ByVal dateTo As String) Try Dim dTotal As Double Dim cTotal As Double LabelAccuntName.netDatabase. '*** Balance Carry Down ***' as Description.UI. "Account".Data.2. ByVal dateFrom As String.vb Imports _netSystem Imports System. VoucherMasterID . " + _ " 'Credit' = SUM(CASE WHEN Credit >=1 THEN Credit ELSE NULL END)..aspx?vm=' + 154 of 185 | Page Online Banking | OB . VoucherNo VNo. NULL VDate. " + _ " 'Balance' = NULL " + _ " FROM View_Voucher_Master_Detail " + _ " WHERE (" + _ " AccountCode='" + accountCode + "'" + _ " ) AND ( VoucherDate<'" + dateFrom + "')" + _ " ) as A " + _ " UNION " + _ " SELECT * FROM " + _ " (SELECT VoucherDetailID. " WHERE AccountCode='" + accountCode + "'") LabelDateDuration.

VoucherMasterID) + '>' + Description + '</a>') Description.Columns.Columns(i).HeaderText = "Credit" Then GridViewLedger. VoucherNo.getSqlDataSource(iSql.##. "#.#0") ElseIf GridViewLedger. VoucherMasterID.FooterText = Format(dTotal.Columns(i).HeaderText = "Balance" Then GridViewLedger.Columns(i).netDatabase. Description" + _ " ) as B " '" Order By VoucherDetailID" + _ SqlDataSource1 = netSystem.##. SqlDataSource1) SqlDataSource1.FooterText = Format(dTotal .HeaderText = "Debit" Then GridViewLedger.Columns(i).Columns(i). " + _ " 'Credit' = SUM(CASE WHEN Credit >=1 THEN Credit ELSE NULL END). " + _ " 'Debit' = SUM(CASE WHEN Debit >= 1 THEN Debit ELSE NULL END).1 If GridViewLedger. "#.#0") End If Next '****** Calculating Running balance netSystem.Columns(i).Master of Science in Information Technology M.Sc. '-' Balance " + _ " FROM View_Voucher_Master_Detail " + _ " WHERE (" + _ " AccountCode='" + accountCode + "'" + _ " ) AND ( VoucherDate>='" + dateFrom + "' AND VoucherDate<='" + dateTo + "')" + _ " Group By VoucherDetailID._CalculateGridViewDebitCreditBalance(GridViewLedger) netSystem._setInfo = "Report loaded." 155 of 185 | Page Online Banking | OB .#0") ElseIf GridViewLedger.cTotal.FooterText = Format(cTotal.Read()) Then '**** Debit Calculation If (IsNumeric(rs("d"))) Then dTotal = rs("d") End If ''**** Credit Calculation If (IsNumeric(rs("c"))) Then cTotal = rs("c") End If End If Dim i As Integer For i = 0 To GridViewLedger.getReader(iSql) If (rs.##. sum(Credit) c FROM View_Voucher_Master_Detail WHERE (AccountCode='" + accountCode + "') " + _ " AND ( VoucherDate<='" + dateTo + "')" rs = netSystem.DataBind() Dim rs As SqlDataReader iSql = _ " SELECT sum(Debit) d.netDatabase. "#.Count . VoucherDate. IT Online Banking Final Project Report Manipal Universal Learning Convert(varchar.

ByVal e As System.Master of Science in Information Technology M._fillComboList(DropDownListSearchAccount.QueryString("acCode") <> "" And Request." netSystem. Request.getReader(iSql) If (reader.QueryString("dateFrom") <> "" And Request.AccountCode ORDER BY a.QueryString("dateTo")) MultiView2.QueryString("dateFrom").SelectedIndexChanged Try cID = GridViewLedger.EventArgs) Handles GridViewLedger.netDatabase. IT Online Banking Final Project Report Manipal Universal Learning Return (1) Catch ex As Exception _setError = ex End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object.aspx") 'End If netSystem.ToString()) Then ' 'Response.EventArgs) Handles Me.Load 'Session.AccountCode = b.SelectedRow.Text = reader("Mi") Me.Text info = "'" + GridViewLedger.QueryString("dateTo") <> "") Then previewReport(Request._setInfo = info Catch ex As Exception _setError = ex End Try End Sub 156 of 185 | Page Online Banking | OB .AccountCode + '-'+ a.ApplicationPath() + "/Default.SessionID.Clear() 'If Not (Session("appWorld") = Session.Redirect(Request.currentWebPage = Me '****** load at the first time If Not IsPostBack Then loadSearchAccountDropDownList() If (Request. MIN(VoucherDate) Mi FROM Tbl_Voucher_Master" reader = netSystem.Text = reader("Ma") End If End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object. Request.AccountCode" netSystem.AccountCode. (a.Text + "' selection process is complated. ByVal e As System.SelectedRow. iSql) Dim reader As SqlDataReader iSql = "SELECT MAX(VoucherDate) Ma.Cells(1).Sc.TextBoxSearchDateFrom.Read()) Then Me.Account) Account " + _ " FROM Tbl_Account a INNER JOIN Tbl_Voucher_Detail b " + _ " ON a.ActiveViewIndex = 1 End If End If End Sub Sub loadSearchAccountDropDownList() iSql = _ " SELECT DISTINCT a.TextBoxSearchDateTo.QueryString("acCode").Cells(2).

2. ByVal e As System.ActiveViewIndex = 0 End Sub End Class 10.Text.&nbsp..Master of Science in Information Technology M..png" ToolTip="Search Client" />&nbsp.Click MultiView2. ByVal e As System.Count.PageIndexChanged ButtonMemberSearch_Click(sender.Web.EventArgs) Handles GridViewLedger.Write(DropDownListSearchAccount.&nbsp.EventArgs) Handles ButtonPreviewReport.SelectedValue.ImageClickEventArgs) Handles ImageButtonShowSearch.EventArgs) Handles GridViewLedger.DataBound netSystem. ByVal e As System.ToString + " Row(s) effected." End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object. ByVal e As System. e) End Sub Protected Sub GridView1_DataBound(ByVal sender As Object.Sc.UI.&nbsp._setInfo = "@" + GridViewLedger.ActiveViewIndex = 1 'Dim ex As New Exception("Rajendra Man Banepali.aspx.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.SelectedValue) previewReport(DropDownListSearchAccount.back(-1)" 157 of 185 | Page Online Banking | OB .15 Report Page: trial_balance. IT Online Banking Final Project Report Manipal Universal Learning Protected Sub ButtonMemberSearch_Click(ByVal sender As Object. TextBoxSearchDateTo.Text) MultiView2. </td> <td> <a href="#" onclick="history.master" AutoEventWireup="false" CodeFile="trial_balance._setError = ex End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object.Click 'Response.Rows. Sahara Banepali and Rabina Gorkhali.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 188px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext.") 'netSystem. TextBoxSearchDateFrom.

<asp:View ID="View3" runat="server"> <table class="adminlist"> <tr> 158 of 185 | Page Online Banking | OB . IT Online Banking Final Project Report Manipal Universal Learning class="back"></a> <asp:Label ID="LabelTitle" runat="server" CssClass="adminheader" Text="Tial Balance"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Config Key</th> </tr> <tr> <td align="center"> <table> <tr> <td align="left"> <span style="color: appworkspace"> Account Head</span></td> <td colspan="2" align="left"> <asp:DropDownList ID="DropDownListSearchAccount" runat="server" Enabled="False"> </asp:DropDownList></td> </tr> <tr> <td align="left"> Date</td> <td align="left"> <asp:TextBox ID="TextBoxSearchDateFrom" runat="server" CssClass="inputbox" Width="69px"></asp:TextBox></td> <td align="left"> <asp:TextBox ID="TextBoxSearchDateTo" runat="server" CssClass="inputbox" Width="69px"></asp:TextBox> (Date Format: YYYY-MM-DD ie. 200811-09)</td> </tr> <tr> <td align="center" colspan="3"> <asp:Button ID="ButtonPreviewReport" runat="server" CssClass="button" Text="Preview Report" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> &nbsp.Sc.Master of Science in Information Technology M.

IT Online Banking Final Project Report Manipal Universal Learning <th style="height: 25px"> Ledger Report</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <table> <tr> <td> [ <a href="javascript:void(0)" onclick="window."></asp:Label></td> </tr> </table> </td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridViewLedger" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Horizontal" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist" AutoGenerateColumns="False" ShowFooter="True"> <FooterStyle BackColor="Info" FontBold="True" ForeColor="Red" Font-Size="110%" Font-Strikeout="False" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Height="30px" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.Master of Science in Information Technology M.Sc.."></asp:Label></td> </tr> <tr> <td> <strong>Date:</strong></td> <td> <asp:Label ID="LabelDateDuration" runat="server" Text=".print()">Print</a> ]</td> <td> </td> </tr> <tr> <td> <strong>Report:</strong></td> <td> <asp:Label ID="LabelAccuntName" runat="server" Text="..gif" ShowSelectButton="True" /> <asp:BoundField DataField="AccountCode" HeaderText="A/C Code" /> <asp:BoundField DataField="Account" HeaderText="Account" HtmlEncode="False" /> 159 of 185 | Page Online Banking | OB .

aspx.UI.Sc.getTableValue("Tbl_Account".Text = "Trial Balance" '****netSystem.Web.Data.SqlClient Partial Class open_account Inherits System.2.netDatabase. " WHERE AccountCode='" + accountCode + "'") 160 of 185 | Page Online Banking | OB . "Account".Master of Science in Information Technology M.16 Report Code: trial_balance.vb Imports _netSystem Imports System. IT Online Banking Final Project Report Manipal Universal Learning <asp:BoundField DataField="Debit" HeaderText="Debit" NullDisplayText="-" /> <asp:BoundField DataField="Credit" HeaderText="Credit" NullDisplayText="-" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> <asp:Label ID="LabelInfo" runat="server" FontBold="True" Font-Size="Large" ForeColor="Red"></asp:Label> </asp:Content> 10.Page Public netSystem As New _netSystem(Me) Public iSql As String Dim cID As Integer Dim info As String Dim signatureFile As String Protected Function previewReport(ByVal dateFrom As String. ByVal dateTo As String) 'Try Dim dTotal As Double Dim cTotal As Double LabelAccuntName.

Account " SqlDataSource1 = netSystem. Account " + _ " Order By AccountCode.Columns(i).netDatabase. " + _ " 'Debit' = (CASE " + _ " WHEN (SUM(Debit-Credit)) IS NULL THEN 0 " + _ " WHEN (SUM(Debit-Credit)) <= 0 THEN 0 " + _ " ELSE SUM(Debit-Credit) END).Columns.HeaderText = "Debit" Then GridViewLedger.netDatabase.FooterText = Format(dTotal.FooterText = Format(cTotal. Account. SqlDataSource1) SqlDataSource1.Columns(i).Columns(i). " + _ " 'Credit' = (CASE " + _ " WHEN (SUM(Debit-Credit)) IS NULL THEN 0 " + _ " WHEN (SUM(Debit-Credit)) <= 0 THEN SUM(Credit-Debit) " + _ " ELSE 0 END) " + _ " FROM View_Voucher_Master_Detail " + _ " WHERE " + _ " ( VoucherDate>='" + dateFrom + "' AND VoucherDate<='" + dateTo + "') " + _ " Group By AccountCode.1 If GridViewLedger.##. Account) as A" rs = netSystem.Master of Science in Information Technology M. " + _ " 'Credit' = (CASE " + _ " WHEN (SUM(Debit-Credit)) IS NULL THEN NULL " + _ " WHEN (SUM(Debit-Credit)) <= 0 THEN SUM(Credit-Debit) " + _ " ELSE NULL END) " + _ " FROM View_Voucher_Master_Detail " + _ " WHERE " + _ " ( VoucherDate>='" + dateFrom + "' AND VoucherDate<='" + dateTo + "') " + _ " Group By AccountCode.HeaderText = "Credit" Then GridViewLedger.Text = "From " + dateFrom + " To " + dateTo iSql = _ " SELECT AccountCode. ('<a href=ledger. " + _ " 'Debit' = (CASE " + _ " WHEN (SUM(Debit-Credit)) IS NULL THEN NULL " + _ " WHEN (SUM(Debit-Credit)) <= 0 THEN NULL " + _ " ELSE SUM(Debit-Credit) END). IT Online Banking Final Project Report Manipal Universal Learning LabelDateDuration.getSqlDataSource(iSql.Sc. SUM(Credit) c " + _ " FROM (SELECT AccountCode.DataBind() Dim rs As SqlDataReader '**** Debit Calculation iSql = _ " SELECT SUM(Debit) d.#0") ElseIf GridViewLedger.getReader(iSql) If (rs.aspx?acCode=' + AccountCode + '&dateFrom=" + dateFrom + "&dateTo=" + dateTo + ">' + Account + '</a>') Account.Columns(i).Read()) Then If (IsNumeric(rs("d"))) Then dTotal = rs("d") End If If (IsNumeric(rs("c"))) Then cTotal = rs("c") End If End If Dim i As Integer For i = 0 To GridViewLedger. 161 of 185 | Page Online Banking | OB . "#.Count .

MIN(VoucherDate) Mi FROM Tbl_Voucher_Master" reader = netSystem.#0") 'ElseIf GridViewLedger.ApplicationPath() + "/Default.EventArgs) Handles GridViewLedger.ToString()) Then ' 'Response._setInfo = info Catch ex As Exception _setError = ex 162 of 185 | Page Online Banking | OB .Redirect(Request.Load 'Session.AccountCode._fillComboList(DropDownListSearchAccount.##.Columns(i).Cells(2). IT Online Banking Final Project Report Manipal Universal Learning "#.SelectedRow.Columns(i).TextBoxSearchDateFrom.FooterText = Format(dTotal .Read()) Then Me." netSystem.AccountCode ORDER BY a." Return (1) 'Catch ex As Exception '_setError = ex 'End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object.Clear() 'If Not (Session("appWorld") = Session.##.Text info = "'" + GridViewLedger.#0") End If Next netSystem.SelectedRow. iSql) Dim reader As SqlDataReader iSql = "SELECT MAX(VoucherDate) Ma.Cells(1).SessionID. ByVal e As System. ByVal e As System. (a.Account) Account " + _ " FROM Tbl_Account a INNER JOIN Tbl_Voucher_Detail b " + _ " ON a.cTotal.EventArgs) Handles Me.Text + "' selection process is complated. "#.SelectedIndexChanged Try cID = GridViewLedger.TextBoxSearchDateTo.Sc._setInfo = "Report loaded.currentWebPage = Me '****** load at the first time If Not IsPostBack Then loadSearchAccountDropDownList() End If End Sub Sub loadSearchAccountDropDownList() iSql = _ " SELECT DISTINCT a.AccountCode" netSystem.AccountCode + '-'+ a.Text = reader("Mi") Me.aspx") 'End If netSystem.Text = reader("Ma") End If End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object.getReader(iSql) If (reader.HeaderText = "Balance" Then ' GridViewLedger.AccountCode = b.Master of Science in Information Technology M.netDatabase.

UI. ByVal e As System.EventArgs) Handles GridViewLedger.Count.Write(DropDownListSearchAccount.DataBound netSystem._setError = ex End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object._setInfo = "@" + GridViewLedger.ToString + " Row(s) effected.Rows.2.master" AutoEventWireup="false" CodeFile="voucher.ImageClickEventArgs) Handles ImageButtonShowSearch.&nbsp.") 'netSystem. ByVal e As System.EventArgs) Handles ButtonPreviewReport.png" ToolTip="Search Voucher" />&nbsp. ByVal e As System.ActiveViewIndex = 1 'Dim ex As New Exception("Rajendra Man Banepali. e) End Sub Protected Sub GridView1_DataBound(ByVal sender As Object.ActiveViewIndex = 0 End Sub End Class 10.aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen.Web.Text) MultiView2.PageIndexChanged ButtonPreviewReport_Click(sender.&nbsp.Master of Science in Information Technology M. IT Online Banking Final Project Report Manipal Universal Learning End Try End Sub Protected Sub ButtonPreviewReport_Click(ByVal sender As Object. ByVal e As System..Click MultiView2.&nbsp. TextBoxSearchDateTo.Click 'Response.aspx. 163 of 185 | Page Online Banking | OB . Sahara Banepali and Rabina Gorkhali.Text.Sc.EventArgs) Handles GridViewLedger.vb" Inherits="open_account" title="Untitled Page" Theme="ThemeOnline" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table class="adminform"> <tr> <td style="width: 150px"> <asp:ImageButton ID="ImageButtonShowSearch" runat="server" ImageUrl="~/images/searchtext.SelectedValue) previewReport(TextBoxSearchDateFrom..17 Report Page: voucher." End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object.

Sc.Master of Science in Information Technology M.</td> <td align="left"> <asp:TextBox ID="TextBoxSearchVoucherNo" runat="server" Width="76px"></asp:TextBox></td> </tr> <tr> <td colspan="2" valign="middle"> <asp:Button ID="ButtonSearch" runat="server" CssClass="button" Text="Search Now" /></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> <asp:View ID="View2" runat="server"> <table class="adminlist"> <tr> <th> Voucher</th> </tr> <tr> 164 of 185 | Page Online Banking | OB .&nbsp. IT Online Banking Final Project Report Manipal Universal Learning <td> <a href="#" onclick="history.back(-1)" class="back"></a> <asp:Label ID="LabelTitle" runat="server" CssClass="adminheader" Text="Deposite"></asp:Label></td> </tr> </table> </asp:View> </asp:MultiView> <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0" EnableTheming="True"> <asp:View ID="View1" runat="server"> <table class="adminlist"> <tr> <th> Search Voucher</th> </tr> <tr> <td align="center"> <table> <tr> <td valign="middle"> Voucher Date <br /> </td> <td valign="middle" align="left"> <asp:TextBox ID="TextBoxSearchVoucherDate" runat="server" CssClass="inputbox" Width="79px" MaxLength="10">YYYY-MM-DD</asp:TextBox> &nbsp.(Please enter into the formate of YYYY-MM-DD)</td> </tr> <tr> <td valign="middle"> Voucher No.

print()"> Print </a><span style="color: #000000">]</span></td> </tr> </table> </td> </tr> <tr> <td style="width: 69px"> Voucher No. &nbsp.&nbsp. </td> </tr> <tr> <td valign="top" style="width: 69px"> Date</td> <td valign="top"> <asp:TextBox ID="TextBoxVoucherDate" runat="server" CssClass="inputbox" ReadOnly="True"></asp:TextBox>&nbsp. IT Online Banking Final Project Report Manipal Universal Learning <td> <table> <tr> <td colspan="5"><table class="adminform"> <tr> <td style="width: 141px"> &nbsp.</td> <td style="width: 285px"> <asp:DropDownList ID="DropDownListVoucherType" runat="server" AutoPostBack="True" Enabled="False"> </asp:DropDownList>&nbsp.&nbsp.&nbsp.Sc.Required Field<br /> </span></strong><span style="color: #000000"> [ </span><a href="javascript:void(0)" onclick="window. </td> <td valign="top"> </td> <td valign="top" style="width: 79px"> Description</td> <td style="width: 285px" valign="top"> &nbsp. </td> <td style="width: 141px" valign="top"> <strong><span style="color: #ff0000">Note:&nbsp.<asp:TextBox ID="TextBoxDescription" runat="server" CssClass="inputbox" Rows="5" 165 of 185 | Page Online Banking | OB .&nbsp. .</td> <td style="width: 141px" align="right"> &nbsp. **&nbsp. </td> <td> </td> <td style="width: 79px"> Voucher Type&nbsp.Master of Science in Information Technology M.</td> <td> <asp:TextBox ID="TextBoxVoucherMasterID" runat="server" Width="1px" CssClass="inputbox" ReadOnly="True" Visible="False"></asp:TextBox> <asp:TextBox ID="TextBoxVoucherNo" runat="server" CssClass="inputbox" ReadOnly="True"></asp:TextBox>&nbsp.

Master of Science in Information Technology M.Sc. IT Online Banking Final Project Report Manipal Universal Learning TextMode="MultiLine" Width="271px" Height="34px" ReadOnly="True"></asp:TextBox></td> </tr> </table> </td> </tr> <tr> <td> <asp:GridView ID="GridViewVoucherDetail" runat="server" CellPadding="4" ForeColor="#333333" DataSourceID="SqlDataSourceVoucherDetail" AllowPaging="True" CssClass="adminlist" AutoGenerateColumns="False" ShowFooter="True"> <FooterStyle BackColor="Info" FontBold="True" ForeColor="White" BorderColor="DarkGray" BorderStyle="Solid" BorderWidth="1px" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.gif" ShowSelectButton="True" /> <asp:ButtonField Text="A/C" Visible="False" HeaderText="[AC]" ShowHeader="True" /> <asp:BoundField DataField="Acode" HeaderText="A/C Code"> <HeaderStyle HorizontalAlign="Left" /> <ControlStyle Width="60px" /> </asp:BoundField> <asp:BoundField DataField="Account" HeaderText="Account" ReadOnly="True"> <HeaderStyle HorizontalAlign="Left" /> </asp:BoundField> <asp:BoundField DataField="Description" HeaderText="Description"> <HeaderStyle HorizontalAlign="Left" /> </asp:BoundField> <asp:BoundField ApplyFormatInEditMode="True" DataField="Debit" FooterText="**" HeaderText="Debit" NullDisplayText=" -"> <ControlStyle Width="70px" /> <ItemStyle HorizontalAlign="Right" /> <HeaderStyle HorizontalAlign="Right" /> <FooterStyle Font-Bold="True" Font-Overline="True" Font-Size="Medium" Font-Underline="True" ForeColor="Red" HorizontalAlign="Right" /> </asp:BoundField> <asp:BoundField DataField="credit" FooterText="**" HeaderText="Credit" NullDisplayText=" -"> <ControlStyle Width="70px" /> <ItemStyle HorizontalAlign="Right" /> <HeaderStyle HorizontalAlign="Right" /> <FooterStyle Font-Bold="True" Font-Overline="True" Font-Size="Medium" Font-Underline="True" ForeColor="Red" 166 of 185 | Page Online Banking | OB .

</td> </tr> </table> </asp:View> <asp:View ID="View3" runat="server"> 167 of 185 | Page Online Banking | OB .&#10. Description=@Description. Debit=@Debit.Sc. IT Online Banking Final Project Report Manipal Universal Learning HorizontalAlign="Right" /> </asp:BoundField> <asp:BoundField DataField="VoucherDetailID" HeaderText="#" ReadOnly="True" Visible="False" > <ControlStyle Width="10px" /> <ItemStyle Font-Size="XX-Small" /> <HeaderStyle Font-Size="XX-Small" /> </asp:BoundField> <asp:CommandField ShowEditButton="True" Visible="False" /> </Columns> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="LightSkyBlue" BorderColor="CornflowerBlue" BorderStyle="Solid" BorderWidth="1px" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> </asp:GridView> <asp:SqlDataSource ID="SqlDataSourceVoucherDetail" runat="server" UpdateCommand="UPDATE Tbl_Voucher_Detail SET AccountCode=@AccountCode.WHERE VoucherDetailID=@VoucherDetailID" DeleteCommand="DELETE FROM Tbl_Voucher_Detail&#13.WHERE VoucherDetailID=@VoucherDetailID" ConnectionString="<%$ AppSettings:DSN %>"> <UpdateParameters> <asp:CookieParameter CookieName="AccountCode" DefaultValue="-1" Name="AccountCode" /> <asp:CookieParameter CookieName="Description" DefaultValue="**" Name="Description" /> <asp:CookieParameter CookieName="Debit" DefaultValue="0" Name="Debit" /> <asp:CookieParameter CookieName="Credit" DefaultValue="0" Name="Credit" /> <asp:CookieParameter CookieName="VoucherDetailID" DefaultValue="-1" Name="VoucherDetailID" /> </UpdateParameters> <DeleteParameters> <asp:CookieParameter CookieName="VoucherDetailID" DefaultValue="-1" Name="VoucherDetailID" /> </DeleteParameters> </asp:SqlDataSource> </td> </tr> <tr> <td> &nbsp. Credit=@Credit&#13.Master of Science in Information Technology M.&#10.

Sc. IT Online Banking Final Project Report Manipal Universal Learning <table class="adminlist"> <tr> <th style="height: 25px"> Searched Voucher(s)</th> </tr> <tr> <td><table class="adminform"> <tr> <td> <asp:Button ID="ButtonEditClient" runat="server" CssClass="button" Text="Edit" />&nbsp. </td> </tr> <tr class="row1"> <td> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" DataSourceID="SqlDataSource1" AllowPaging="True" CssClass="adminlist"> <FooterStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <EditRowStyle BackColor="#999999" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <HeaderStyle BackColor="#5D7B9D" FontBold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:CommandField ButtonType="Image" SelectImageUrl="~/images/arrow.Master of Science in Information Technology M.gif" ShowSelectButton="True" /> </Columns> </asp:GridView> </td> </tr> <tr> <td> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </table> </asp:View> </asp:MultiView> </asp:Content> 168 of 185 | Page Online Banking | OB .

netDatabase. SqlDataSource1) SqlDataSource1.SessionID.UI.ApplicationPath() + "/Default.DataBind() Return (1) Catch ex As Exception _setError = ex End Try Return (0) End Function Protected Sub Page_Load(ByVal sender As Object.aspx") 169 of 185 | Page Online Banking | OB .Load netSystem. VoucherDate VDate.Page Public netSystem As New _netSystem(Me) Public isql As String Dim voucherMasterID As String Dim info As String = "" Dim signatureFile As String Protected Function searchVoucher(ByVal vDate As String. MDescription Description " + _ " FROM View_Voucher_Master " + _ where Response.Data. IT Online Banking Final Project Report Manipal Universal Learning 10.vb Imports _netSystem Imports System.Web.ToString()) Then ' 'Response.2.SqlClient Partial Class open_account Inherits System.Clear() 'If Not (Session("appWorld") = Session.Master of Science in Information Technology M. ByVal e As System.Sc.aspx.getSqlDataSource(isql. VoucherNo '#VNo'.18 Report Code: voucher.currentWebPage = Me 'Session. ByVal voucherNo As String) Try Dim where As String = "" Dim tmpWhere As String = "" If IsDate(vDate) Then where = " (VoucherDate LIKE '%" + vDate + "%')" End If If voucherNo <> "" Then tmpWhere = " (VoucherNo LIKE '%" + voucherNo + "%') " If where <> "" Then where = where + " AND " + tmpWhere Else where = tmpWhere End If End If If where <> "" Then where = " WHERE " + where End If isql = _ " SELECT VoucherMasterID ID.Write(isql) SqlDataSource1 = netSystem.Redirect(Request.EventArgs) Handles Me.

Trim() MultiView2.QueryString("VoucherType") + " Voucher Form" If (IsPostBack = False) Then 'at the first time If (Request.ApplicationPath() + "/Default.ToString() 170 of 185 | Page Online Banking | OB ._setInfo = ex.SelectedIndexChanged Try 'voucherMasterID = GridView1. " netSystem.netDatabase.SelectedRow.SelectedRow.aspx") 'End If LabelTitle. ByVal e As System.Cells(0).Text = Request. IT Online Banking Final Project Report Manipal Universal Learning ' 'Response.SelectedRow.QueryString("vm")) MultiView2.EventArgs) Handles ButtonEditClient.ActiveViewIndex = 1 Else MultiView2.Cells(1).ActiveViewIndex = -1 netSystem.QueryString("vm") <> "") Then voucherMasterID = Request._setInfo = " Voucher No._setInfo = "Voucher is not found.Sc.Text. " + GridView1." Catch ex As Exception netSystem.Click Try If Not (GridView1.Write(Request.Master of Science in Information Technology M.Text netSystem._setInfo = info End If Catch ex As Exception netSystem.Cells(3).Message End Try End Sub Protected Sub ButtonEditClient_Click(ByVal sender As Object._setInfo = ex.Message End Try End Sub Protected Sub loadVoucherMaster(ByVal masterID As Integer) Try Dim reader As SqlDataReader isql = "SELECT * FROM View_Voucher_Master WHERE VoucherMasterID=" + masterID.EventArgs) Handles GridView1. " WHERE VoucherMasterID='" + voucherMasterID.Text + " selection process is complated.SelectedIndex = -1) Then voucherMasterID = GridView1. ByVal e As System.Trim() + "'") = True Then loadVoucherForm(Request.isRecordExist("Tbl_Voucher_Master".ActiveViewIndex = 1 loadVoucherForm(voucherMasterID) Else info = "Please select a record from the list.QueryString("vm") If netSystem." End If End If End If End Sub Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object.

getReader(isql) If (reader.netDatabase.Master of Science in Information Technology M." End If Catch ex As Exception netSystem.getReader(isql) If (netSystem.DataBind() Dim rs As SqlDataReader '**** Debit Calculation isql = "SELECT sum(Debit) d FROM 171 of 185 | Page Online Banking | OB .Message End Try netSystem.Sc. Description. " WHERE VoucherMasterID=" + masterID.Text = reader("VoucherDate")._setInfo = ex. IT Online Banking Final Project Report Manipal Universal Learning reader = netSystem.Read()) Then '****** loading Vouher Type loadComboVoucherType() '****** Loading Master data TextBoxVoucherMasterID.ToString() TextBoxVoucherDate.ToString() reader = netSystem.ToString() '****** Loading Master data LabelTitle.ToString() TextBoxDescription.Text = reader("VoucherType"). " + _ " 'Debit' = ( CAS E WHEN Debit >= 1 THEN Debit ELSE NULL END). AccountCode ACode.ToString() DropDownListVoucherType.DataBind() info = "Voucher master record not found.netDatabase.ToString())) Then '***** if record found If (reader.Text = reader("MDescription"). " + _ " 'Credit' = ( CASE WHEN Credit >= 1 THEN Credit ELSE NULL END) " + _ " FROM View_Voucher_Master_Detail " + _ " WHERE VoucherMasterID=" + masterID.getSqlDataSource(isql.Text = masterID isql = _ " SELECT VoucherDetailID._setInfo = info End Sub Protected Sub loadVoucherDetail(ByVal masterID As Integer) Try Dim reader As SqlDataReader Dim dTotal As Double = 0 Dim cTotal As Double = 0 TextBoxVoucherMasterID.Text = reader("VoucherNo").ToString() TextBoxVoucherNo.isRecordExist("View_Voucher_Master_Detail". SqlDataSourceVoucherDetail) SqlDataSourceVoucherDetail.Read()) Then SqlDataSourceVoucherDetail = netSystem.netDatabase.SelectedValue = reader("VoucherType").Text = reader("VoucherMasterID")." Else SqlDataSourceVoucherDetail.netDatabase.ToString() + " Voucher Form" info = "@Voucher master data loaded. Account.

netDatabase. 172 of 185 | Page Online Banking | OB .Columns(i).netDatabase.##.Columns(5).Columns(i)._setInfo = ex.Read()) Then If (IsNumeric(rs("c"))) Then cTotal = rs("c") End If End If Dim i As Integer For i = 0 To GridViewVoucherDetail.getReader(isql) If (rs.00") 'GridViewVoucherDetail.Message End Try netSystem. "###. "000.##._setInfo = ex.00. SqlDataSourceVoucherDetail) SqlDataSourceVoucherDetail.Master of Science in Information Technology M. "###._setInfo = info End Sub Protected Sub ImageButtonShowSearch_Click(ByVal sender As Object.netDatabase.Columns(i).Message End Try 'netSystem.HeaderText = "Credit" Then GridViewVoucherDetail. " End If Else '*** if record is not found SqlDataSourceVoucherDetail = netSystem.ToString() rs = netSystem.HeaderText = "Debit" Then GridViewVoucherDetail.00. " End If Catch ex As Exception netSystem.Columns(i). IT Online Banking Final Project Report Manipal Universal Learning View_Voucher_Master_Detail WHERE VoucherMasterID=" + masterID. "000.#0") ElseIf GridViewVoucherDetail.FooterText = Format(cTotal.Columns(4).getReader(isql) If (rs.ToString() rs = netSystem.FooterText = Format(cTotal._setInfo = info End Sub Protected Sub loadVoucherForm(ByVal masterID As Integer) Try loadVoucherMaster(masterID) loadVoucherDetail(masterID) Catch ex As Exception netSystem.FooterText = Format(dTotal.1 If GridViewVoucherDetail.DataBind() info = "@Voucher detail record not found.Count .Sc.Read()) Then If (IsNumeric(rs("d"))) Then dTotal = rs("d") End If End If '**** Credit Calculation isql = "SELECT sum(Credit) c FROM View_Voucher_Master_Detail WHERE VoucherMasterID=" + masterID.Columns.getSqlDataSource(isql.#0") End If Next 'GridViewVoucherDetail.FooterText = Format(dTotal.00") info = "@Voucher details loaded.

Text = netSystem.Text = "") Then Me.Click MultiView2. ByVal e As System.TextBoxVoucherMasterID.SelectedValue) End If End Sub Protected Sub View2_Activate(ByVal sender As Object. isql) End Sub Protected Sub GridView1_PageIndexChanged(ByVal sender As Object. ByVal e As System.ActiveViewIndex = 2 'Dim ex As New Exception("Rajendra Man Banepali.") 'netSystem..PageIndexChanged ButtonSearch_Click(sender.EventArgs) Handles GridView1. ByVal e As System. VoucherType FROM Tbl_VoucherType" netSystem.ActiveViewIndex = 0 End Sub Protected Sub ButtonSearch_Click(ByVal sender As Object. vn) MultiView2._fillComboList(DropDownListVoucherType.Sc.EventArgs) Handles ButtonSearch. Sahara Banepali and Rabina Gorkhali.GridViewCommandEventArgs) Handles GridViewVoucherDetail.Web.Text = "-1" Or Me.Web._setError = ex End Sub Protected Sub loadComboVoucherType() '****** loading Parent Code Combo isql = "SELECT VoucherType..Master of Science in Information Technology M._getNewVoucherNo(DropDownListVoucherType.TextBoxVoucherNo.UI.SelectedIndexChanged If (Me. IT Online Banking Final Project Report Manipal Universal Learning ByVal e As System.UI.ImageClickEventArgs) Handles ImageButtonShowSearch.Text End If If (TextBoxSearchVoucherNo.Click Dim dt As String = "" Dim vn As String = "" If (IsDate(TextBoxSearchVoucherDate. ByVal e As System.EventArgs) Handles View2.Activate loadComboVoucherType() End Sub Protected Sub GridViewVoucherDetail_RowCommand(ByVal sender As Object.EventArgs) Handles DropDownListVoucherType. e) End Sub Protected Sub DropDownListVoucherType_SelectedIndexChanged(ByVal sender As Object.WebControls.Text End If searchVoucher(dt.Text <> "") Then vn = TextBoxSearchVoucherNo. ByVal e As System.TextBoxVoucherMasterID.RowCommand Try '**** column index configuration Dim paddingIndx As Integer = 1 Dim ACodeIndx As Integer = 0 + paddingIndx 173 of 185 | Page Online Banking | OB .Text) = True) Then dt = TextBoxSearchVoucherDate.

Cells(ne tSystem. "#")).Cells( netSystem.EditIndex). "Credit")).Rows(GridViewVoucherDetail.Value = CType(GridViewVoucherDetail.Controls(0).Value = GridViewVoucherDetail.EditIndex).GridViewVoucherDetail.EditIndex).Controls(0).Cookies("Credit").CommandName = "Delete") Then 'If Not (GridViewVoucherDetail.EditIndex).CommandName = "Update") Then '***** Deleting existing cookies.EditIndex). "Description")).. TextBox).GridViewVoucherDetail. "#")).Expires = Now() '**** Primary Key in Database as VD ID Response.Expires = Now() '***** Assigning existing cookies._getGridViewColumnIndex(Me.Cookies("Description").Value + " EI: " + GridViewVoucherDetail.Cookies("VoucherDetailID"). " '************* Update Command ElseIf (e. TextBox)._getGridViewColumnIndex(Me.Cells(ne tSystem.Text 'Response.Rows(GridViewVoucherDetail.Expires = Now() Response.Cells( netSystem.GridViewVoucherDetail.Controls(0).Controls(0).Text Response.Rows(GridViewVoucherDetail. Response..GridViewVoucherDetail._getGridViewColumnIndex(Me.Text 'GridViewVoucherDetail.Rows(GridViewVoucherDetail.Expires = Now() Response.GridViewVoucherDetail.SelectedIndex).GridViewVoucherDetail.Cookies("AccountCode")._getGridViewColumnIndex(Me.Value = CType(GridViewVoucherDetail.Rows(GridViewVoucherDetail.Rows(GridViewVoucherDetail.Columns(netSystem.Cookies("Debit").Expires = Now() Response.Cookies("VoucherDetailID").Cookies("Description"). "#")).Cookies("Credit").Cells( netSystem. "[AC]"))._getGridViewColumnIndex(Me.Visible = True info = "Voucher detail record editing.Cookies("VoucherDetailID").Sc. "[AC]")).Cells(netSys tem.Text netSystem.Rows(GridViewVoucherDetail.Rows(GridViewVoucherDetail.Cookies("AccountCode").Cells(ACode Indx + 5).Master of Science in Information Technology M._getGridViewColumnIndex(Me.Text Response.ToString + " CELL: " + Request. TextBox).Write("A:" + Request._getGridViewColumnIndex(Me.Cookies("VoucherDetailID").GridV iewVoucherDetail.. " ElseIf (e.Text Response.Value + " V:" + Request.Cookies("Debit"). IT Online Banking Final Project Report Manipal Universal Learning '************* DElETE Command If (e._write("### " + GridViewVoucherDetail.EditIndex).. TextBox).Expires = Now() Response. " 174 of 185 | Page Online Banking | OB .Value) GridViewVoucherDetail.Cells( netSystem.Cookies("VoucherDetailID").Columns(netSystem. "A/C Code")).Cookies("VoucherDetailID").Value = GridViewVoucherDetail.Value = CType(GridViewVoucherDetail.SelectedIndex = -1) Then Response.EditIndex.GridViewVoucherDetail. Response..Visible = False info = "Voucher Detail record updated.CommandName = "Edit") Then GridViewVoucherDetail..GridV iewVoucherDetail._getGridViewColumnIndex(Me.Value = CType(GridViewVoucherDetail.Text) 'End If info = "Voucher detail record deleted._getGridViewColumnIndex(Me.Text '**** Primary Key in Database as VD ID Response.SelectedIndex).Cookies("AccountCode"). "Debit")).

ByVal e As System.dtd"> <html xmlns="http://www.Count End If Dim m As String = info ButtonEditClient_Click(sender." 'GridViewVoucherDetail.Columns(netSystem.EventArgs) Handles GridView1.DataBound netSystem.Master of Science in Information Technology M.CommandName = "Cancel") Then info = "Voucher detail record editing canceled.0 Transitional//EN" "http://www.Visible = False ElseIf (e.aspx <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default. e) netSystem.org/TR/xhtml1/DTD/xhtml1-transitional.19 Page: Defult.CommandName = "New") Then '************* New Command info = "Add new voucher detail record.2._setInfo = GridView1.Rows.ToString + " Row(s) effected. IT Online Banking Final Project Report Manipal Universal Learning ElseIf (e. "[AC]")).Sc._getGridViewColumnIndex(Me.vb" Inherits="_Default" Theme="ThemeOnline" Debug="true" StylesheetTheme="ThemeOnline" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.w3." GridViewVoucherDetail. Online Banking</span></strong></th> </tr> <tr> <td align="center"> &nbsp." End Sub End Class 10._setInfo = m Catch ex As Exception _setError = ex End Try End Sub Protected Sub GridView1_DataBound(ByVal sender As Object.org/1999/xhtml" > <head runat="server"> <title>::: Sahara Online Banking :::</title> </head> <body> <form id="form1" runat="server"> <div> <table class="adminlist" style="height: 500px"> <tr> <th align="center"> <strong><span style="font-size: 16pt">Only Banking.w3.EditIndex = GridViewVoucherDetail.Count.aspx.<table> 175 of 185 | Page Online Banking | OB .GridV iewVoucherDetail.Rows.

Sc.</td> <td style="background-color: #fbfbfc"> <strong>Note:<br /> </strong>This software is Online Banking Conceptual Framework <br /> demostration for the award of Thesis for<br /> "Master of Science in Information Technology (M. IT)"</td> <td> </td> <td> <asp:Login ID="Login1" runat="server" UserName="ganapati"> <TitleTextStyle BackColor="Green" FontBold="True" Font-Size="Large" ForeColor="White" /> </asp:Login> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td> </td> </tr> </table> </td> </tr> <tr> <td align="center"> </td> </tr> </table> </div> <br /> <br /> 176 of 185 | Page Online Banking | OB . IT Online Banking Final Project Report Manipal Universal Learning <tr> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td style="background-color: #fffff7"> <strong>University:<br /> </strong>Sikkim Manipal University.Master of Science in Information Technology M.Sc.<br /> <br /> <strong>College: <br /> </strong>College for Professional Studies.

UI.20 Page Code: Default.SessionID() Session("rootPath") = Request.netDatabase.Sc.getReader(isql) If reader.Web.Authenticate Dim isql As String = "select * from tbl_client where username='" + Login1.netDatabase.Web.WebControls.Write(netSystem.EventArgs) Handles form1.vb Imports System.errorObj.Write("<BR>" + Request.Write(Session("defaultRedirectURL")) '********** Configuration Managment ************** End Sub Protected Sub Login1_Authenticate(ByVal sender As Object.SessionID netSystem.aspx" Session("defaultRedirectURL") = Session("rootPath") + "\" + Session("defaultIndexPage") 'Response. ByVal e As System.Redirect("Default2.Write(GetGlobalResourceObject("Resource".MapPath("images") Session("defaultIndexPage") = "Default.Message()) configSession() End Sub Protected Sub configSession() 'Response.2.AuthenticateEventArgs) Handles Login1. ByVal e As System.aspx") End If End Sub 177 of 185 | Page Online Banking | OB .Master of Science in Information Technology M.MapPath("") Session("imageRootPath") = Request.SqlClient Partial Class _Default Inherits System. IT Online Banking Final Project Report Manipal Universal Learning </form> </body> </html> 10.UI.MapPath("")) '********** Configuration Managment ************** Session("sessionID") = Session.Password + "'" Dim reader As SqlDataReader reader = netSystem.currentWebPage = Me Session("currSessionId") = "" 'Response.SessionID Session("UserName") = Login1.Read() Then Session("currSessionId") = Session.aspx.Load Session("currSessionId") = Session.Page Public netSystem As New _netSystem() Protected Sub form1_Load(ByVal sender As Object. "projectTitle")) 'Response.UserName + "' and userpassword='" + Login1.UserName Response.Data.

aspx <%@ Page Language="VB" MasterPageFile="~/MasterPageFontScreen. background-color: #edfcff." valign="middle"> <span style="font-size: 16pt. background-color: #edfcff" valign="middle"> <asp:Image ID="ImageHome" runat="server" Height="100%" Width="100%" /></td> </tr> <tr> <td align="center" style="height: 120px.</span><br /> </span>Itachhen. border-left: lightblue 1px solid. border-bottom: lightblue 1px solid.vb" Inherits="Default2" title="::: Sahara Online Banking" Theme="ThemeOnline" Debug="true" StylesheetTheme="ThemeOnline" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <strong> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View4" runat="server"> <table align="center" style="width: 100%. border-right: lightblue 1px solid. border-top: lightblue 1px solid.2. border-bottom: lightblue 1px solid.Master of Science in Information Technology M.21 Page: Default2. IT Online Banking Final Project Report Manipal Universal Learning End Class 10. height: 200px.aspx. height: 150px. border-left: lightblue 1px solid. border-right: lightblue 1px solid. border-bottom: lightblue 1px solid. border-top: lightblue 1px solid. border-top: lightblue 1px solid. border-left: lightblue 1px solid. color: #ff0000"><span style="font-size: 8pt">License to:</span><br /> <span style="font-size: 24pt">Shress Ganesh Saving and Cooperative Ltd.Sc.master" AutoEventWireup="false" CodeFile="Default2. Bhaktapur-17<br /> Nepal</td> </tr> </table> </asp:View> </asp:MultiView></strong> </asp:Content> 178 of 185 | Page Online Banking | OB ." border="0" cellpadding="0" cellspacing="0" > <tr> <td align="center" style="border-right: lightblue 1px solid.

EventArgs) Handles Me.ToString()) Then ' 'Response.QueryString(i) End If Next If (query.QueryString("task") '****** Eliminating Com and Task Dim i As Integer Dim query As String = "" For i = 0 To Request.currentWebPage = Me 'Dim ex As New Exception("Hello from rajendra") 'netSystem.vb Imports _netSystem Partial Class Default2 Inherits System." 'netSystem.QueryString("task") + "] is not currently available._setError = ex 'Response.Keys(i) = "task") Then query = query + "&" + Request._setInfo = info End If '***************** Assigning Settings of page ImageHome.2.QueryString.StartsWith("&")) Then query = "?" + query.Load netSystem.Write(" *** " + netSystem.Web.QueryString.22 Page Code: Default2.Master of Science in Information Technology M.ImageUrl = netSystem.rootPath) 'If Not (Session("appWorld") = Session.QueryString("com") _task = Request.Count .Page Protected fs As New FileIO.1 If Not (Request.aspx") 'End If If (getPageRedirected() = False) Then info = "The Requested service [" + Request.Keys(i) = "com" Or Request.FileSystem() Protected netSystem As New _netSystem(Me) Protected info As String Protected Sub Page_Load(ByVal sender As Object.Sc.Keys(i) + "=" + Request. IT Online Banking Final Project Report Manipal Universal Learning 10.imagePath + "/ob_banking.QueryString." netSystem._setInfo = info Dim ex As New Exception(info) _setError = ex netSystem.QueryString.Substring(1) 179 of 185 | Page Online Banking | OB .SessionID.jpg" End Sub Function getPageRedirected() As Boolean Dim _com As String Dim _task As String _com = Request.UI._setInfo = info Else 'info = "The request service is successfully started. ByVal e As System.Redirect("Default.aspx.

23 Master Page: MasterPageFrontScreen. IT Online Banking Final Project Report Manipal Universal Learning End If If (_com <> "" And _task <> "") Then Dim com As String = "components/com_" + _com Dim page As String = com + "/" + _task + "...w3.Master of Science in Information Technology M.2.FileExists(Request.aspx" If fs."></asp:Label><br /> <asp:Panel ID="Panel1" CssClass="panelWindow" runat="server" Height="250px" ScrollBars="Vertical" Width="100%"> <asp:TreeView ID="TreeView1" runat="server" ImageSet="Simple" NodeIndent="10" NodeWrap="True"> <ParentNodeStyle Font-Bold="False" /> 180 of 185 | Page Online Banking | OB .dtd"> <html xmlns="http://www.MapPath(page)) = True Then Response.Sc.Redirect(page + query) getPageRedirected = True Else getPageRedirected = False End If Else getPageRedirected = True End If End Function End Class 10.org/1999/xhtml" > <head runat="server"> <title>::: Sahara Online Banking</title> </head> <body> <form id="form1" runat="server"> <div id="bank-screen"> <div id="heading"> <div id="logo"> </div> <div id="top-menu"> <asp:Button id="ButtonHome" runat="server" CssClass="button" Text="Home"></asp:Button> | <asp:Button ID="ButtonLogout" runat="server" Text="Logout" CssClass="button" /> </div> </div> <div id="left-band"> <asp:Label ID="LabelFrontTime" runat="server" CssClass="frontTime" Text=".0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.master.aspx <%@ Master Language="VB" CodeFile="MasterPageFontScreen."></asp:Label><br /> <br /> <asp:Label ID="LabelFrontUserName" runat="server" CssClass="frontUserName" Text=".vb" Inherits="MasterPageFontScreen" Debug="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.

&nbsp.com. &nbsp. &nbsp. No.Master of Science in Information Technology M. Coorporation<br /> Kathmandu.vb Imports System.MasterPage Public netSystem As New _netSystem() 181 of 185 | Page Online Banking | OB .saharabanking.2.&nbsp.24 Master Page Code: MasterPageFrontScreen. Sahara Software </div> </div> </form> </body> </html> 10.5555555<br /> Fax: 977 (1) 555555<br /> Email: rajen@saharabanking.np<br /> <br /> All Right &reg Copy Right &copy 2008. </div> <div id="main-board"> <!-. Ph.Web.Data. Nepal<br /> Tel.:977 (1) &nbsp. &nbsp.np<br /> URL: www.UI.Sc.aspx.<div id="banner"> </div> --> <!-.com. IT Online Banking Final Project Report Manipal Universal Learning <HoverNodeStyle Font-Underline="True" ForeColor="#DD5555" /> <SelectedNodeStyle Font-Underline="True" ForeColor="#DD5555" HorizontalPadding="0px" VerticalPadding="0px" /> <NodeStyle Font-Names="Verdana" FontSize="8pt" ForeColor="Black" HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" /> <RootNodeStyle Font-Bold="True" ForeColor="Green" /> </asp:TreeView> </asp:Panel> &nbsp.SqlClient Partial Class MasterPageFontScreen Inherits System.<asp:Label ID="LabelError" runat="server" Text="<div id='banner'> Error here </div>"></asp:Label> --> <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"> </asp:contentplaceholder> </div> <div id="footer"> <strong><u>Contact Address:</u><br /> </strong>Sahara Software Inc.

menutitle. "ParentCode".netDatabase. ByVal e As System. "tbl_menu". ByVal e As System.Text = Format(Now.Redirect(Request.FindNode(Trim(rs("parentid"))) ' 'Response.getReader(isql) TreeView1. d MMMM yyyy") LabelFrontUserName.getReader(isql) ' If (rs.netDatabase.Read()) ' '**** Parent Node ' isql = "select menuid. Trim(rs("menuid"))) ' 'nodeParent = TreeView1.Nodes.netDatabase.EventArgs) Handles ButtonLogout.Clear() While (readerParent.Load Dim userName As String = "" If Session("userName") <> "" Then userName = Session("userName").Password + "'" ' Dim readerParent As SqlDataReader ' Dim readerChild As SqlDataReader ' Dim nodeChild As TreeNode ' Dim nodeParent As TreeNode ' ' ' readerParent = netSystem.ApplicationPath() + "/Default. "MenuTitle".aspx") End Sub Protected Sub Page_Load(ByVal sender As Object.Add(nodeChild) ' Else ' TreeView1. False) LabelFrontTime. "MenuCode".UserName + "' and userpassword='" + Login1. " Active=-1 ". "dddd.Master of Science in Information Technology M. Trim(rs("parentid"))) ' If Not (nodeParent Is Nothing) Then ' nodeParent.getReader(isql) 182 of 185 | Page Online Banking | OB .Read()) Then '*** if parent available ' nodeChild = New TreeNode(rs("MenuTitle").Text = "Welcome to " + userName End Sub 'Protected Sub loadMenu() ' Dim isql As String = "select distinct parentid from tbl_menu order by parentid" ' where username='" + Login1.Sc.EventArgs) Handles Me.ToString.Write("= " + rs("parentid")) ' nodeParent = getNode(TreeView1.Click Session. IT Online Banking Final Project Report Manipal Universal Learning Protected Sub ButtonLogout_Click(ByVal sender As Object.RemoveAll() Response.Nodes. parentid from tbl_menu where menuid='" + readerParent("parentid") + "'" ' Dim rs As SqlDataReader = netSystem.ToUpper() Else userName = "Unkwown" End If 'loadMenu() netSystem.ChildNodes._getLoadedTree(TreeView1. "Link".Add(nodeChild) ' End If ' End If ' '***** Child Node ' isql = "select * from tbl_menu where parentid='" + Trim(readerParent("parentid")) + "'" ' readerChild = netSystem.

ChildNodes.ApplicationPath() + "/Default2.Nodes.Write("<br>" + Trim(readerChild("menutitle")) + " | " + Trim(readerChild("menuid")) + " | " + Trim(readerChild("parentid"))) ' If Not (nodeParent Is Nothing) Then ' nodeParent.Write("<br>" + tree.Add(nodeChild) ' End If ' End While ' End While ' TreeView1.aspx") End Sub End Class 183 of 185 | Page Online Banking | OB .Nodes(i). _ ' "".ExpandAll() 'End Sub 'Function getNode(ByVal tree As TreeView. ByVal key As String) As TreeNode ' Dim n As TreeNode ' Dim i As Integer ' For i = 1 To tree. IT Online Banking Final Project Report Manipal Universal Learning ' While (readerChild.Nodes(i) ' End If ' Next ' getNode = n 'End Function Protected Sub ButtonHome_Click(ByVal sender As Object.Master of Science in Information Technology M.Value) ' If tree.EventArgs) Handles ButtonHome. ByVal e As System.Sc.Read()) ' nodeChild = _ ' New TreeNode(readerChild("MenuTitle").Value = key Then ' n = tree.Nodes(i).Redirect(Request. Trim(readerChild("menuid")). "") ' 'nodeParent = TreeView1.Text + " " + tree.FindNode(Trim(readerChild("parentid"))) ' nodeParent = getNode(TreeView1.Count . (Trim(readerChild("link"))).Nodes(i).1 ' 'Response.Click Response. Trim(readerChild("parentid"))) ' 'Response.

25 WEB Configuration: web.Web.pwd=ganapati.Caching"/> <add namespace="System.uid=ganapati.WebControls.Web. A full list of settings and comments can be found in machine. <customErrors defaultRedirect="offline. IT Online Banking Final Project Report Manipal Universal Learning 10.UI.2.database=online banking"/> <add key="bgColor" value="white"/> </appSettings> <system.Web.WebControls"/> <add namespace="System.Configuration"/> <add namespace="System.web> <!-Set compilation debug="true" to insert debugging symbols into the compiled page.Specialized"/> <add namespace="System. Because this affects performance.Master of Science in Information Technology M.Security"/> <add namespace="System.Net\Framework\v2.Text.Web.NetConfiguration/v2.Web"/> <add namespace="System. Use the Website->Asp.Net Configuration option in Visual Studio.SessionState"/> <add namespace="System.microsoft.aspx" mode="On" /> --> <!-.Web.UI.Collections.Web. Visual Basic options: Set strict="true" to disallow all data type conversions where data loss can occur.x\Config --> <configuration xmlns="http://schemas.com/.Web.UI.Text"/> <add namespace="System.aspx" mode="Off" / --> <compilation debug="true" strict="false" explicit="true"/> <pages> <namespaces> <clear/> <add namespace="System"/> <add namespace="System. Set explicit="true" to force declaration of all variables.HtmlControls"/> </namespaces> </pages> 184 of 185 | Page Online Banking | OB .0"?> <!-Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application.RegularExpressions"/> <add namespace="System.config. set this value to true only during development.Web.UI"/> <add namespace="System.comments usually located in \Windows\Microsoft.config <?xml version="1.Collections"/> <add namespace="System.Profile"/> <add namespace="System.WebParts"/> <add namespace="System.Sc.ustomErrors defaultRedirect="components/com_offline/offline.0"> <appSettings> <add key="DSN" value="server=sahara\SQLEXPRESS.

Master of Science in Information Technology M.Sc.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.NET to identify an incoming user.htm" /> </customErrors> --> </system.web> </configuration> 185 of 185 | Page Online Banking | OB . it enables developers to configure html error pages to be displayed in place of a error stack trace. --> <authentication mode="Windows"/> <!-The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically. IT Online Banking Final Project Report Manipal Universal Learning <!-The <authentication> section enables configuration of the security authentication mode used by ASP.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->