0% found this document useful (0 votes)
59 views

Implementing Biometrics Into Data Securi

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Implementing Biometrics Into Data Securi

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 68

DESIGN OF NYSC POSTING SYSTEM

{A CASE STUDY OF NYSC DELTA STATE}

BY

HAMPO, JOHNPAUL ANENECHUKWU


CHUKWUNONSO

A GRADUATE OF COMPUTER SCIENCE,


MATHEMATICS AND COMPUTER SCIENCE
DEPARTMENT OF DELTA STATE UNIVERSITY,
ABRAKA – NIGERIA

APRIL, 2012

i
DEDICATION

This research work is dedicated first to Jehovah God and humanity

especially those in computing and ICT, and related fields.

ii
ACKNOWLEDGEMENT

I appreciate and gratefully acknowledge God Almighty for making me

who I am today. Also for the intuition, life, Peace and every good thing God

has been giving me; Lord you’re indeed wonderful.

I salute my relatives, past and present friends (foes inclusive),

lecturers back in school, bosses at past times and opponents for all their

support and otherwise.

More thanks to you, my readers. Continue the voyage on this work for

better discoveries.

iii
ABSTRACT.

Decision making is a fundamental activity for managers. The intricacy

of systems at present has aided the world optimistically and pessimistically

notably in the straightforwardness of difficult task done by humans, also in

automation of human life almost in everything done by human. Methods,

systems and machine readable measures converts document fields into data

element that aids posting, scheduling and management. Rules associated

with the documents type are obtained or set and used to process the text field

for the defined task example posting. This research work is a web based

system designed with Microsoft Visual studio (ASP.Net) 2008 as its front

end and Microsoft SQL management server studio 2005 as its back end.

iv
TABLE OF CONTENTS
TITLE PAGES i & ii
CERTIFICATION iii
DEDICATION iv
ACKNOWLEDGEMENT v
ABSTRACT vi
TABLE OF CONTENTS vii-ix
LIST OF FIGURES x
LIST OF TABLES x
CHAPTER ONE – Introduction 1
1.1 Background of study 2
1.2 Objectives of study 4
1.3 Scope of the study 5
1.4 Motivation 6
1.5 Statement of Problem
1.6 Limitation of study
1.7 Methodology 6
CHAPTER TWO – Literature Review 11
2.1 Introduction 11
2.2 Review of verification systems 11

v
CHAPTER THREE – System Analysis and Design 29
3.1 Introduction 29
3.2 System analysis of the system 29
3.3 Constraints of the existing system 31
3.4 Proposed system design 33
3.4.1 System algorithm design 33
3.4.2 Input design 39
3.4.3 Interface design 41
3.4.4 Output design 42
3.4.5 System database design 43
3.5 Technology, tools and programming language used 45
CHAPTER FOUR – Design and Implementation 48
4.0 Introduction 48
4.1 System design 48
4.2 System description 49
4.3 System implementation 52
4.4 Hardware requirement 53
4.5 Software requirement 53
4.6 System testing 54
4.7 System review and maintenance 54

vi
4.8 Installation procedure 55
4.9 User guide 55
CHAPTER FIVE – Summary and Conclusion 57
5.1 Summary 57
5.2 Recommendation 58
5.3 Conclusion 58
REFERENCE 60
APPENDIX (SOURCE CODES) 62

vii
LIST OF FIGURES
1.1 The SSADM Approach. 8
1.2 The RAD Model. 9
2.1 Credit/Debit Card – front and back view 28
3.1 Input form to add Administrator 40
3.2 The main interface form 41
3.3a Verification Form 42
3.3b The Verification Result form 43
3.4 System’s database table for Admin 45
4.1 Use Case diagram for SVS 51
LIST OF TABLES
2.1 Address Verification Service – the types 13
2.2 Address Verification Service – detail description 17
3.1 Company Table 44

viii
CHAPTER ONE

INTRODUCTION

Decision making (Decision from Latin decidere "to decide, determine,

literally "to cut off," from de- "off" and caedere "to cut") can be regarded as the

mental processes (cognitive process) resulting in the selection of a course of

action among several alternative scenarios. Every decision making process

produces a final choice. The output can be an action or an opinion of choice.

Decision Support Systems (DSS) are a specific class of computerized

information system that supports business and organizational decision-making

activities.

A system, with numerous definitions can be literally seen in a computer

way as a collection of the hardware and software components of a computer.

According to Stella C. Chiemeke and Franca A. Egbokdara (2006), a

system is set of components that interact to achieve a common goal. In another

sense, a system is a group of interrelated or intersecting elements forming a

unified whole.

1.0 BACKGROUND OF THE STUDY

Ever since the advent of Computers in our society, a lot of criticisms have

arisen on the danger it will pose on the society. Critics of this new technology

express their fear on how this system will be displacing and replacing all human

skills thus resulting to mass unemployment. However, further developments

continue to prove the critics wrong as the invention continue to create additional
1
jobs for those who identify themselves with the technology. Thus, computers

are partners to human beings in any field of human endeavor.

In this enthralling world, the computer has served as an aid to decision

making in recent years, mostly because of its efficiency in terms of speed,

accuracy, reliability, cost and security, among others. In recent years, awareness

has existed in people as it concerns the use of computers in planning areas of

business activities. Organization have adopted the use of Management

Information System (MIS) and Decision Support System (DSS) in their decision

process which has advanced to web based human resources management

systems on the platform of the Internet. Human Resources Management (HRM)

involves the use of both quantitative (structured) and qualitative (unstructured)

information.

According to Uzoka in Hampo, J.A. (2011), “Decisions are largely based

on principles and experience. In recent times, efforts are being made to build

intelligence into computer system, whereby the computer can be used to process

large volume of structured and unstructured information for decision making.”

“An information system may be defined as a continuing and interacting

structure of hardware, software, people and procedures to collect, sort, analyses

evaluate and distribute pertinent, timely and accurate information for use by

recipients to enhance better decision making.

An information system provides both a data processing capacity and

information to help recipients make better decision. The information generated


2
from these systems goes a long way to meet the need of people in a given

organization as well as those outside the organization. Most recently,

information systems have been developed to provide information to support

decision making. This application is known as a Management Information

System (MIS).

A management information system MIS is a formal information network

using computers to provide management with information necessary for

decision taking the fundamental objective of an MIS is to get the correct

information to the appropriate manager at the right time.” (Source: Introduction

to computer science and data processing, Apanapudor, J.S. et al)

1.2 STATEMENT OF THE PROBLEM

Decision and management remain a paramount factor to successes or

failures reached by individuals and organization. The problems associated with

manual registration, decision, management and posting systems of which NYSC

scheme in regards to posting of corp members to their PPA - Place of Primary

Assignment; is not an exemption. Some of these problems are notably:

1. High administrative costs which include cost from transportation to

communication and so on.

2. Un-confidentiality

3. Bribery and corruption

4. Unnecessary delay for some personal reasons and gain

3
5. Lack of competency among unskilled human resources that claim

professionals and so on

1.3 AIMS AND OBJECTIVES

The aim of the research is to examine the posting of National Youth

Service Corp (NYSC) members to their PPA

The objectives are:

1. To describe the role of decision support/making systems and/or

management system in regards to NYSC deployment.

2. To design a system that is web based using MS visual studio 2008 and

MS management server studio 2005 as its front end and back end

respectively. This system will address the issues of the manual system.

3. To review management systems and decision making/ support systems.

1.4 SIGNIFICANCE OF THE STUDY

This research work will be of great importance the NYSC Delta State as

well as other states as it will save the schemes reputation and cost.

1.5 SCOPE

The scope of this research is centered on:

 The materials review

 The posting of National Youth Service Corp (NYSC) members in Delta

State

1.6 LIMITATION

4
The scope of this research as well as the materials reviewed serves as

limitation to this research. Also, time and financial constraints have limited this

research.

1.7 METHODOLOGY

A system study using related systems to the proposed system was carried

out and their lapses were discovered. A feasibility study proceeded after the

system study to determine if there are software, hardware and resources

available to bring about a solution. System analysis followed, which included

various fact finding techniques. The materials and literature review are utilized

to the most advantageous.

SSADM (Structured System Analysis and Design Methodology)

approaches were applied. Meanwhile, relevant literature and authorities were

referenced and reviewed. The Graphic User Interface (GUI) was design using

Microsoft visual studio 2008, with ASP.NET as its programming language.

SQL Server management studio 2005 was used as its database.


Requirement

Specification

Design

Implementation

Fig. 1.1 THE SSADM APPROACH


Test

Deploy
5
1.8 MOTIVATION

A search for solution to the aforementioned problems of the manual

systems has provoked this research. Also, to create a level playing ground for

all prospective corp members.

6
CHAPTER TWO

LITERATURE REVIEW

1.0 REVIEW OF RELEVANT LITERATURES

Information and information systems that support information technology

are essential business assets, their availability, integrity and confidentiality are

essential to maintain competitive edge, cash flow, profitability and legal

compliance and respected company image. Odigie (1996) in Apanapudor, J.S. et

al, opined that information is the corner stone of any business establishment; In

addition, he said that the channels or information systems through which this

information is received are very important. Hence it is essential for any

establishment to ensure that sound and effective Information systems are in

place. Mandell (1986) in Apanapudor, J.S. et al, said that information system

provides stand and reports and most recently, they provide information, that

support decision making.

Decision making (Decision from Latin decidere "to decide, determine,

literally "to cut off," from de- "off" and caedere "to cut") can be regarded as the

mental processes (cognitive process) resulting in the selection of a course of

action among several alternative scenarios. Every decision making process

produces a final choice. The output can be an action or an opinion of choice.

Maris G. Martinsons and Robert M. Davison said, “Decision making is a

fundamental activity for managers. A leading textbook author has described it

as “the essence of the manager's job” and “a critical element of organizational


7
life”. Meanwhile, a Nobel laureate suggests that decision making is

synonymous with managing. Many types of computer-based information

systems (IS) have been developed to support decision making, including

decision support systems (DSS), group support systems (GSS) and executive

information systems (EIS)”. A decision is the choice made among the

alternative courses of action. Thus the process in making a choice from

available alternative course of action is known as Decision Making Process.

This process can be illustrated as follows

Identify Collect Analyze and seek


problem data relationship for the data

Take
decision Compare alternative Identify constraints / barriers
courses of actions and generate alternative

The Decision Making Process

Fig 2.1 Decision Making Process. Source ApanapudurJ.S. et al

From this diagram, we first identify a problem which may be a deviation

from standard. Next we collect, sort and classify data regarding the problem.

Data collected must be representative of the problem, upon this, the data are

analyzed to unveil the possible relationships—positive, negative no relationship

between the data using appropriate data analysis tools. Thereafter we identify

possible constraints and alterative courses of action are noted and used to

compare other alternatives. This may require additional data. At this point the

objective of the organization plays some crucial roles.


8
We observe that the decision making process is a closed loop so the

process may continue until an optimal choice is made from the alternative

courses of action.

Logical decision making is an important part of all science-based

professions, where specialists apply their knowledge in a given area to making

informed decisions. For example, medical decision making often involves

making a diagnosis and selecting an appropriate treatment. Some research using

naturalistic methods shows, however, that in situations with higher time

pressure, higher stakes, or increased ambiguities, experts use intuitive decision

making rather than structured approaches, following a recognition primed

decision approach to fit a set of indicators into the expert's experience and

immediately arrive at a satisfactory course of action without weighing

alternatives. Recent robust decision efforts have formally integrated uncertainty

into the decision making process. However, Decision Analysis recognized and

included uncertainties with a structured and rationally justifiable method of

decision making since its conception in 1964.

A major part of decision making involves the analysis of a finite set of

alternatives described in terms of evaluative criteria. These criteria may be

benefit or cost in nature. Then the problem might be to rank these alternatives in

terms of how attractive they are to the decision maker(s) when all the criteria

are considered simultaneously. Another goal might be to just find the best

9
alternative or to determine the relative total priority of each alternative (for

instance, if alternatives represent projects competing for funds) when all the

criteria are considered simultaneously. Solving such problems is the focus of

multi-criteria decision analysis (MCDA) also known as multi-criteria decision

making (MCDM). This area of decision making, although it is very old and has

attracted the interest of many researchers and practitioners, is still highly

debated as there are many MCDA / MCDM methods which may yield very

different results when they are applied on exactly the same data. This leads to

the formulation of a decision making paradox.

PROBLEM ANALYSIS VS DECISION MAKING

It is important to differentiate between problem analysis and decision

making. The concepts are completely separate from one another. Traditionally it

is argued that problem analysis must be done first, so that the information

gathered in that process may be used towards decision making.

Problem analysis

 Analyze performance, what should the results be against what they

actually are

 Problems are merely deviations from performance standards

 Problem must be precisely identified and described

 Problems are caused by a change from a distinctive feature

10
 Something can always be used to distinguish between what has and hasn't

been effected by a cause

 Causes to problems can be deducted from relevant changes found in

analyzing the problem

 Most likely cause to a problem is the one that exactly explains all the

facts

Decision making

 Objectives must first be established

 Objectives must be classified and placed in order of importance

 Alternative actions must be developed

 The alternative must be evaluated against all the objectives

 The alternative that is able to achieve all the objectives is the tentative

decision

 The tentative decision is evaluated for more possible consequences

 The decisive actions are taken, and additional actions are taken to prevent

any adverse consequences from becoming problems and starting both

systems (problem analysis and decision making) all over again

 There are steps that are generally followed that result in a decision model

that can be used to determine an optimal production plan.

 In a situation featuring conflict, role-playing is helpful for predicting

decisions to be made by involved parties.

11
Decision planning

Making a decision without planning is fairly common, but does not often

end well. Planning allows for decisions to be made comfortably and in a smart

way. Planning makes decision making a lot more simple than it is. Decision will

get four benefits out of planning: 1. Planning give chance to the establishment

of independent goals. It is a conscious and directed series of choices. 2.

Planning provides a standard of measurement. It is a measurement of whether

you are going towards or further away from your goal. 3. Planning converts

values to action. You think twice about the plan and decide what will help

advance your plan best. 4. Planning allows for limited resources to be

committed in an orderly way. Always govern the use of what is limited to you.

(e.g. money, time, etc.)

Within an organization, we can identify three levels of management and

corresponding levels of decision making. The diagram below shows the levels.

Top management level – strategic decision making

Middle management level - Tactical Decision


Making

Low Management level - Operational Decision Making

Levels of Management and their Decisions

Fig 2.2 Levels of Management and their Decisions. Source ApanapudurJ.S. et al

12
Each of these levels needs information for making decision for

actualizing the goals and objective of the organization and so managers at all

levels must be provided with decision oriented information. Mandell (1986) in

Apanapudor, J.S. et al, opined that since information needs at the three levels

differs, data has to be structured differently at each level.

At the low level, management is interested in the daily activities of the

organization. Hence the data / information needed are largely internal and the

scope well defined and narrow.

In the middle level interest is on goal attainment so as to meet the

objectives of the organization. Hence tactical decisions are prevalent here. The

information requirements for decisions at this level include periodic reports and

occasionally “what if reports, financial management and employee problem

decisions are common”.

At the top level, managers are more objective minded, future oriented and

often interested in resources allocation since the pattern of decisions is on — off

type. Data/information required are on-time reports, trend analysis reports and

also data that are organized to provide inquiry capacity across functional lines

and to handle routine information reporting.

MANAGEMENT INFORMATIONSYSTEM (MIS)

We need formally define what an information system is and thereafter

discuss management information systems.

13
An information system may be defined as a continuing and interacting

structure of hardware, software, people and procedures to collect, sort, analyze

evaluate and distribute pertinent, timely and accurate information for use by

recipients to enhance better decision making.

An information system provides both a data processing capacity and

information to help recipients make better decision. The information generated

from these systems goes a long way to meet the need of people in a given

organization as well as those outside the organization. Most recently,

information systems have been developed to provide information to support

decision making. This application is known as a Management Information

System (MIS).

‘A management information system MIS is a formal information network

using computers to provide management with information necessary for

decision taking. The fundamental objective of an MIS is to get the correct

information to the appropriate manager at the right time.

Apart from providing data processing capability, an information system

has the capability to provide decision makers with on-demand reports and

inquiry capabilities, as well as routine and well-defined periodic reports.

MIS generates different types of reports including predictive reports, exception

reports, scheduled listings and demand reports. These reports are management

oriented.

MANAGEMENT - ORIENTED REPORTS


14
This include

 Predictive reports

 Scheduled listings

 Exception reports

 Demand reports

 Predictive Reports

These are future oriented reports, based on decision models, which may

be simple or complex. They are used for planning and permit an institution to

force future results. Predictive reports enable management to provide answers to

“what if’ kinds of queries. For example “What will be the fate of the presently

graduated students if ASUU strike is not called off before august? The decision

models on which our reports are based as well suited for middle and top

management decisions.

 Scheduled Listings

These are reports generated at regular time intervals and often provide

routine information to a wide variety of users.. Shift reports, production quota,

rosters, leave schedule reports and call- duty reports are examples. By the way,

scheduled listings are generated, they tend to supply an over abundance of data,

most of which may not be relevant to some particular recipients These reports

constitute the hulk of computer output.

 Exception reports

15
These reports monitor performance and any deviation from expected

standard. Thus they are action — driven and often sensitized to action by

observed deviation. Such reports are generated during routine processing. It

must be stressed here that these reports focus management attention on

abnormal situations in the organization and demands special handling. -

 Demand Reports

These reports are generated only on request. Thus an MIS must have an

extensive and well structured database in order to meet up with unanticipated

demands.

Providing demand reports can be very expensive. Non- availability and timely

production of demand reports can delay, and frustrate decision making and even

lead to wrong decisions being made.

DESIGN ALTERNATIVE STRUCTURES OF MANAGEMENT INFORMATION

SYSTEMS

When an organization establishes an MIS, it has behind its mind the sole

purpose of organizing the activities of the organization. Hence such an MIS

must be structured in such a way to reap all necessary benefits of integration.

There are quite a number of alternatives the analyst faces in making

choice. Among these are

1. Centralized design MIS

2. Decentralized design MIS

3. Hierarchical design MIS

16
4. Distributed design MIS

DECISION SUPPORT SYSTEMS

According to InformationBuilders.com, “Decision Support Systems

(DSS) are a specific class of computerized information system that supports

business and organizational decision-making activities. A properly designed

DSS is an interactive software-based system intended to help decision makers

compile useful information from raw data, documents, personal knowledge,

and/or business models to identify and solve problems and make decisions.”

DSSs serve the management, operations, and planning levels of an organization

and help to make decisions, which may be rapidly changing and not easily

specified in advance. Decision support systems can be either fully

computerized, human or a combination of both. DSSs include knowledge-based

systems

17
Fig. 2.3 Decision style model. Source; M.G. Martinsons and R.M. Davison (2007)

Fig. 2.4 Information technology applications and decision styles.Source; M.G. Martinsons and
R.M. Davison (2007)

18
NATIONAL YOUTH SERVICE CORP (NYSC)

HISTORICAL BACKGROUND OF THE NYSC

The NYSC scheme was created in a bid to reconstruct, reconcile and

rebuild the country after the Nigerian Civil war. The unfortunate antecedents in

our national history gave impetus to the establishment of the National Youth

Service Corps by decree No.24 of 22nd May 1973 which stated that the NYSC

is being established "with a view to the proper encouragement and development

of common ties among the youths of Nigeria and the promotion of national

unity".

As a developing country; Nigeria is further plagued by the problems

attendant upon a condition of under development, namely; poverty. Mass

illiteracy, acute shortage of high skilled manpower (coupled with most uneven

distribution of the skilled people that are available), woefully inadequate

socioeconomic infrastructural facilities, housing. Water and sewage facilities,

road, healthcare services, and effective communication system. . Faced with

these almost intractable problems, which were further compounded by the

burden of reconstruction after the civil war, the government and people of

Nigeria set for the country, fresh goals, and objectives aimed at establishing

Nigeria as:

a) a united, strong and self-reliant nation:

19
b) a great and dynamic economy;

c) a land of bright and full opportunities for all citizens; and

d) a free and democratic society.

The government and people of Nigeria are not aware that sound and

patriotic leadership is a precondition for the rapid social and economic

development of the country. As a nation, Nigeria has been less fortunate in the

kind of leadership that emerge to govern the affairs of the country in the period

immediately after independence, a leadership whose achievements

notwithstanding, was none the less ill-prepared and generally not properly

motivated to tackle the problems of socioeconomic under development, in the

interest of the country as a whole.

e) There is no gain saying the fact that the future of any country depends on

the youths. The youths of Nigeria acknowledge this fact, and have

consistently laid claim to the nation's leadership.

f) While one may give credence to the saying that leaders are born, not

made, one must also concede to the fact that leadership in a modem

society requires a certain degree of preparation and orientation before the

assumption of that role.

g) The universities and other institutions of higher learning are normally

expected to be training ground for future leaders, except that, as we are

all aware, these institutions are first and foremost committed to the

20
advancement of learning and knowledge, training of people for good

citizenship. Little wonder that the products of these institutions have been

accused of being too elitist in their outlook, of not identifying with the

plight of common man, and of inability to appreciate predicament of the

vast majority of our people who live in the rural areas.

h) It was the need to look beyond the immediate present and to think of the

future leadership of the country that necessitated the mobilisation of

certain categories of our youths through the National Youth Service

Corps Scheme. This was done with a view to giving them the proper

guidance and orientation relevant to the needs of the country. The

National Youth Setvice Corps Decree No. 24 which has now been

repealed and replaced by Decree 51 of 16th June 1993, was then formally

promulgated.

i) The purpose of the scheme is primarily to inculcate in Nigerian Youths

the spirit of selfless service to the community, and to emphasize the spirit

of oneness and brotherhood of all Nigerians, irrespective of cultural or

social background. The history of our country since independence has

clearly indicated the need for unity amongst all our people, and

demonstrated the fact that no cultural or geographical entity can exist in

isolation.

OBJECTIVES OF THE SCHEME

21
1) The objectives of the National Youth Service Corps Scheme are clearly

spelt out in Decree No.51 of 16th June 1993 as follows:

a) to inculcate discipline in Nigerian youths by instilling in them a tradition

of industry at work, and of patriotic and loyal service to Nigeria in any

situation they may find themselves.

b) to raise the moral tone of the Nigerian youths by giving them the

opportunity to learn about higher ideals of national achievement, social

and cultural improvement;

c) to develop in the Nigerian youths the attitudes of mind, acquired through

shared experience and suitable training. which will make them more

amenable to mobilisation in the national interest;

d) To enable Nigerian youths acquire the spirit of self reliance by

encouraging them to develop skills for self employment,

e) to contribute to the accelerated growth of the national economy;

f) to develop common ties among the Nigerian youths and promote national

unity and integration;

g) to remove prejudices, eliminate ignorance and confirm at first hand the

many similarities among Nigerians of all ethnic groups; and

h) to develop a sense of corporate existence and common destiny of the

people of Nigeria.

(ii) In order to achieve the objectives in subsection (3) of this section, the

service corps shall ensure:


22
(a) the equitable distribution of members of the service corps and the effective

utilisation of their skills in area of national needs;

(b) that as far as possible, youths are assigned to jobs in States other than their

States of origin;

(c) that such group of youths assigned to work together is as representative of

Nigeria as far as possible;

(d) that the Nigerian youths are exposed to the modes of living of the people in

different parts of Nigeria;

(e) that the Nigerian youths are encouraged to eschew religious intolerance by

accommodating religious differences;

(f) that members of the service corps are encouraged to seek at the end of their

one year national service, career employment all over Nigeria, thus promoting

the free movement of labour;

(g) that employers are induced partly through their experience with members of

the service corps to employ more readily and on a permanent basis, qualified

Nigerians, irrespective of their States of origin.

23
CHAPTER THREE

SYSTEM ANALYSIS AND DESIGN

3.0 System study (Information Gathering)

Taking into consideration the objectives of the proposed system,

comprehensive research has been made to achieve an insight into the needs and

behaviors of various users. The operation of the application is made convenient

and straightforward for the end user. Supplementary, a great number of research

on various other methods of building this application which and was able to

incorporate a few stronger features into the application.

The tools and controls used in the application are recommended

ASP.NET controls which improves the navigation and usability and

interactivity.

3.1 Analysis of the Proposed System

A system is a harmonious arrangement of components hardware and

software; that interact to achieve a common goal. (Stella C. and France A.)

Analysis is the focus of system development and at this stage system

designer’s works at two levels - what to do and how to do. Understanding is

paramount in every analysis; hence the manual system was rigorously studies

with understanding so that automation can be achievable. Hence, this automated

NYSC posting system (this posting is not the national posting but the posting of

corp members to their place of primary assignment, PPA; within the state that

24
they were posted to by the National Headquarters of NYSC, Abuja) has a higher

preference in mode of procession and many other issues.

All systems are created against at least a particular problem; that is

systems are created to solve problems. Hence, this automated system solves the

problem of the manual system that has been aforementioned. It also, achieves

the laid down objectives.

This automated system was designed and developed with Microsoft

visual studio 2008 using Active Server Pages (ASP. Net) as it language and

Microsoft SQL management server 2005.

Analysis of systems directly deals with the software development

activities. Three fundamental and essential stages involved in designing and

delivering a good system, are:

A systematic analysis of the system. A problem understood is half solved.

Development of a successful automated system; to meet requirement in

an effective and efficient way.

Developing, installation, testing of system components, training,

management, programming, monitoring and delivery the system into

production yields to successful construction and implementation of the

system in the user’s environment.

3.2 System Feasibility

The system feasibility can be divided into the following sections:

1. Economic Feasibility
25
The project is economically feasible as the only cost involved is having a

computer with the minimum requirements mentioned earlier. For the users to

access the application, the only cost involved will be in getting access to the

Internet.

2. Technical Feasibility

To deploy the application, the only technical aspects needed are mentioned

below:

 An Operating System which might be any of MS Windows for

compatibility issues. Examples include, WIN XP, WIN VISTA,

WIN 7 and WIN 8 of latest.

 Platform .Net Framework & Internet Information Service (IIS)

 Microsoft SQL Server 2005 or higher version.

For Users:

 Internet Browser

 Internet Connection

3. Behavioral Feasibility

The application requires no special technical guidance and all the views

available in the application are self explanatory. The users are well guided with

validation, warning and failure messages for all the actions taken.

3.4 CONSTRAINT OF THE EXISTING SYSTEM

 Stress

 Risk of life and document like certificates


26
 Bribery and un confidentiality

 Numerous paper work

 Data redundancy

 Difficulty in file processing

 Lack of privacy and secrecy

3.5 BENEFIT OF THE PROPOSED SYSTEM

This automated system has the following benefits over the manual

system. Thus they are:

 Lesser paper work

 Simplicity in file procession

 No stress

 No risk

 Data redundancy is eliminated

 A non awkward and nice-looking Graphic User Interface (GUI)

 A good archive medium

 Privacy of everybody is considered.

 No defamation of character.

3.7 SYSTEM DESIGN

This proposed automated system is designed for the public, registered

individuals and the administrator(s) of the system. In designing this automated

system, the established research objectives were paramount in heart.

27
The system comprises of web forms and master pages which have the

following on them:

 Image

 Labels

 Textboxes

 buttons

 Dropdownlist

 Gridview

 Hyperlink etc

3.4.1 INPUT DESIGN

The supplied data on the input forms serves as the input to the system.

These inputs are coupled to the systems database and comparison is made with

the pre-stored data in the database.

Fig. 3.1 Home Page

28
Fig. 3.2 Input Validation Form for Registration of companies, organization and

employers

Fig. 3.3 input form (registration continuation) after validation of the card details

3.4.3 INTERFACE DESIGN

29
This is the physical structure of the visible side of the system, mainly to

the users. That is the front end of the system, which the users of the system

interacts with, it comprises of both inputs and output forms.

The interface of the system is a graphical user interface and not a

command type; it is also an interactive, clear and not clumsy interface. It is easy

to use and user friendly.

Fig. 3.4 About NYSC form

3.4.4 OUTPUT DESIGN

After input there is likely be an output either in a soft copy or a hard copy

as the case maybe. The output forms of this system are MyInfo.aspx,

MyPosting.aspx, and so on. When a registered user (corp member) logs in, he /

she see the form for the logon user information and the PPA (Place of Primary

Assignment) posting with the details which was supplied by him/her and the

30
decision made by the system for the posting. The general public makes use of

the static pages like Home.aspx, FAQs.aspx, AboutUs.aspx. The web Page

ContactUs.aspx is not a static web page but a dynamic/database page.

Fig. 3.5 Corp Member Information form

Fig. 3.6 Corp Member Posting Form

31
3.4.5 SYSTEM DATABASE DESIGN

Database is a storehouse, warehouse and repository for data and

information in an organized way to prevent redundancy and to preserve data

integrity amongst others.

The design and implementation of the database is done on Microsoft

SQL Management Server Studio. This database consists of table of which some

are. tblCompany, tblCorpDocumentation, tblApply, amongst others. Each of

these tables has their column name (Field) and data types respectively. Notable,

tblLogin has

username varchar(50) Unchecked


password varchar(50) Unchecked
code varchar(50) Unchecked
define varchar(50) Unchecked
dt varchar(50) Unchecked
Table 3.7 Table for All Users of the System (Corp member, staff, organisations)

Fig 3.8 System’s Database Table for Card (e-MobPin)


32
3.8 INFORMATION TECHNOLOGY TOOLS FOR DESIGN

3.8.1. Internet Information Services (IIS)

IIS is a set of Internet based services for Windows machines. Originally

supplied as part of the Option Pack for Windows NT, they were subsequently

integrated with Windows 2000 and Windows Server 2003). The current

(Windows 2003) version is IIS 6.0 and includes servers for FTP (a software

standard for transferring computer files between machines with widely different

operating systems), SMTP (Simple Mail Transfer Protocol, is the de facto

standard for email transmission across the Internet) and HTTP/HTTPS (is the

secure version of HTTP, the communication protocol of the World Wide Web).

Features: The web server itself cannot directly perform server side processing

but can delegate the task to ISAPI (Application Programming Interface of IIS)

applications on the server. Microsoft provides a number of these including ones

for Active Server Page and ASP.NET.

Compatibility: Internet Information Services is designed to run on Windows

server operating systems. A restricted version that supports one web site and a

limited number of connections is also supplied with Windows XP Professional.

Microsoft has also changed the server account that IIS runs on. In versions of

IIS before 6.0, all the features were run on the System account, allowing

exploits to run wild on the system. Under 6.0 many of the processes have been

brought under a Network Services account that has fewer privileges. In

33
particular this means that if there were an exploit on that feature, it would not

necessarily compromise the entire system.

3.8.2 ASP.NET (Active Server Pages)

ASP.NET is a programming framework built on the common language

runtime that can be used on a server to build powerful Web applications.

ASP.NET has many advantages – both for programmers and for the end users

because it is compatible with the .NET Framework. This compatibility allows

the users to use the following features through ASP.NET:

a) Powerful database-driven functionality: ASP.NET allows programmers to

develop web applications that interface with a database. The advantage of

ASP.NET is that it is object-oriented and has many programming tools

that allow for faster development and more functionality.

b) Faster web applications: Two aspects of ASP.NET make it fast –

compiled code and caching. In ASP.NET the code is compiled into

"machine language" before a visitor ever comes to the website. Caching

is the storage of information in memory for faster access in the future.

ASP.NET allows programmers to set up pages or areas of pages that are

commonly reused to be cached for a set period of time to improve the

performance of web applications. In addition, ASP.NET allows the

caching of data from a database so the website is not slowed down by

frequent visits to a database when the data does not change very often.

34
c) Memory leak and crash protection: ASP.NET automatically recovers

from memory leaks and errors to make sure that the website is always

available to the visitors. ASP.NET also supports code written in more

than 25 .NET languages (including VB.NET, C#, and Jscript.Net). This is

achieved by the Common Language Runtime (CLR) compiler that

supports multiple languages.

3.8.3 MICROSOFT SQL Server Database

In this project, SQL Server Database is used as the backend database.

Microsoft SQL is an open source database management system. Microsoft SQL

Server is a relational database server, developed by Microsoft: It is a software

product whose primary function is to store and retrieve data as requested by

other software applications, be it those on the same computer or those running

on another computer across a network (including the Internet). There are at least

a dozen different editions of Microsoft SQL Server aimed at different audiences

and for different workloads (ranging from small applications that store and

retrieve data on the same computer, to millions of users and computers that

access huge amounts of data from the Internet at the same time). SQL Server

2005 (codename Yukon), released in October 2005, is the successor to SQL

Server 2000. It included native support for managing XML data, in addition to

relational data. For this purpose, it defined an xml data type that could be used

either as a data type in database columns or as literals in queries. XML columns

can be associated with XSD schemas; XML data being stored is verified against
35
the schema. XML is converted to an internal binary data type before being

stored in the database. Specialized indexing methods were made available for

XML data. XML data is queried using XQuery; Common Language Runtime

(CLR) integration was a main feature with this edition, enabling one to write

SQL code as Managed Code by the CLR. SQL Server 2005 added some

extensions to the T-SQL language to allow embedding XQuery queries in T-

SQL. In addition, it also defines a new extension to XQuery, called XML DML

that allows query-based modifications to XML data. SQL Server 2005 also

allows a database server to be exposed over web services using Tabular Data

Stream (TDS) packets encapsulated within SOAP (protocol) requests. When the

data is accessed over web services, results are returned as XML. Partitions on

tables and indexes are supported natively, so scaling out a database onto a

cluster is easier. SQL CLR was introduced with SQL Server 2005 to let it

integrate with the .NET Framework.

36
CHAPTER 4

SYSTEM IMPLEMENTATION

4.0 Introduction

System implementation can be defined as the means by which the

purpose of the system is achieved. This chapter explains how the website and

the database will be implemented by the posting department of Delta state

National Youth Service Corp (NYSC) office. It involves the acquisition,

development and installation of the hardware and software testing of the system

and training the people that will use the system. It also covers the conversion

and use of the new system by the management of Delta State NYSC.

4.1 HARDWARE REQUIREMENT

 A Pentium iv or higher system with the following configurations

 1.2GHz of processor speed and above

 40 gigabyte of hard disk and above

 512 megabyte of Ram and above

 1024 * 768 screen resolution

4.2 SOFTWARE REQUIREMENT

 Any of MS windows Operating System

 Microsoft SQL server 2005 for storage of input data

37
 Microsoft.net frame work 2.0 and above

 Microsoft internet information services (IIS6.0)

 Web browser like Internet Explorer, Mozilla firefox, crazy browser

etc

4.3 PERSONNEL REQUIREMENTS

The personnel required by Delta State NYSC to implement and manage

the new system include:

 A web master who manages the website. The job involves updating the

website periodically, editing the existing WebPages and creating new ones,

and uploading web resources, who must be an expert in the field with the

keenness to work.

 A database administrator who manages the database. The job involves

creating, managing and monitoring the database and its schema (users,

tables, indexes, functions etc.)., who must be an expert in the field with the

enthusiasm to work.

4.4 SITE PREPARATION

 The system (website) was designed with latest web technology to run on

a web browser, so in other for the web application to function properly, it

must be on the internet.

38
 For testing sake, a local web server (IIS) application, microsoft.net

framework was installed & properly configured. The operating system

used is windows 7 Ultimate.

4.5 SYSTEM DESCRIPTION

To describe this automated system, we apply a use case diagram which is

graphical representation of the systems functionality by the different users. The

use case diagram consist of actors use cases and arrows (for evens of flow).

The actors as concerned in this student verification system are Admin

(Administrator), users (prospective corp member, staff and employer of labour).

The use cases are registration, my information, my posting, Apply, and so on.

The use case diagram of this automated system – Delta state NYSC

Automated Posting system; is given below.

39
Registration

Apply for Corp Member

View posting

Admin
Users Admin Panel

About Delta State

My Info
Staff
My Posting

Contact us

General Public
About Us
Employers

Change Details

System Boundary

Fig 4.1 Delta State NYSC Automated Posting system USE CASE

4.6 SYSTEM TESTING

“Before a system is put into operation, its components programs must be

tested to make sure. They work both individually and as a unit. Testing whether

unit testing (individual testing) or individual testing, removes bugs from

individual programs and system application. The testing of this system is done

with life data and test data.

40
An automated system may have a hundred programs and a

comprehensive database, all must be tested together to ensure harmony of

operation. The purpose of system testing is to validate all software, input/output,

databases and procedures and so on as the case may be.”, said Hampo, J.A.C.

(2011).

This involves running a series of tests on the new system, so as to check

for errors and to verify that all components of the system are run simultaneously

and then observation and comparisons are made and documented. This is done

to ensure that the new system holds true to the advantages it should have over

the existing system without posing any complications of its own.

System testing should be done before the new system and any new

system / system component is fully implemented, so as to correct any

occurrence of low usability in portions of the system.

4.7 SYSTEM MAINTENANCE

The maintenance involves the monitoring, evaluation and periodic

modification of the system so as to make necessary or desired improvements.

This is carried out by the personnel with the use of the available software and

hardware. The forms of maintenance that this system will adopt include the

following:

41
 Inserting new data into the database by the administrator.

 Deleting redundant information from the database.

 Altering the database structure by adding new tables or editing existing ones

in order to meet the changing needs of the website in relation to development

(socialization)

 Changing the Cascading Style Sheet also known as, CSS; document for the

website which affects the layout and general theme of the website that is

visible to the users.

4.8 DOCUMENTATION

To comfortably use the web application, the administrator should have

access to a web server, MS visual Studio, MICROSOFT SQL Server and

Internet Information Service (IIS) web server installed and running. Once this is

achieved, the administrator can easily upload the relevant files / web resources

and other information to the server, and save as a Webpage which can be

browsed from any system connected to the network. The Webpage can also be

used as part of a website to enable easy access to visitors and personnel. A

database administrator should be called upon to properly manage the database

which will be used by the store. The database administrator should work hand-

in-hand with the management of Delta State NYSC in order to fully understand

and represent the needs of the system before building the database and its

schema. The new website should be tested on a sample of staff and customers
42
before being fully implemented as the new way of combating crime. This is to

note and address any unexpected shortcomings of the system, or oversight on

the part of the system designer or the staff of NYSC in Delta State.

43
CHAPTER FIVE

SUMMARY AND CONCLUSION

5.1 SUMMARY

A decision is the choice made among the alternative courses of action. A

management information system MIS is a formal information network using

computers to provide management with information necessary for decision

taking.

With computers making decisions for human, the ability to manipulation

no more exist since there is no human present and in this system, immediately

you click a button, the decision is made using these rules


If rdapplysearch.HasRows = True Then
LabelState.Text = rdapplysearch.Item("ppa")
LabelOCA.Text = rdapplysearch.Item("location")
If rdapplysearch.Item("batch") = "A" Then
LabelDateToReport.Text = "April, " & rdapplysearch.Item("year")
ElseIf rdapplysearch.Item("batch") = "B" Then
LabelDateToReport.Text = "August, " & rdapplysearch.Item("year")
Else
LabelDateToReport.Text = "December, " & rdapplysearch.Item("year")
End If
End If

The merits of this automated system over the manual police crime diary are as

follows

 Accuracy

 Users friendliness with GUI

 Privacy and safety

 No stress and little or no risk

 Reliability

44
 Reduced paper work

 Speed in processing time (data processing)

 Cost effective

5.2 RECOMMENDATION

Change is the only thing unvarying in life. More sophisticated decision

algorithm should be use in decision making in regards to this system. Advance

technology like; biometrics can be integrated to this system as a means of user

recognition as an alternative of password.

Also, we strongly suggest this software for the posting department of

NYSC and NYSC office in Delta State and other States at large, likewise others

decision making organization.

5.3 CONCLUSION

Automated system has proved to be more successful when compared to

manual systems.

Automated NYSC posting system (a case study of Delta State) has

strategically redefines the manual posting system. This system hence averts risk,

stress, promotes privacy and secrecy as well as safety.

We human desire to live a simple and stress less life, decision making

systems like this system, Automated NYSC posting will soon lash out manual

decision making system and incorporated advance technology into

computerized decision making systems.

45
REFERENCE

Hampo, J.A. (2011). Design and Implementation of Students Verification System for

Delta State University Nigeria (DELSU E-VERIFY). An unpublished B.Sc

Thesis, Delta State University, Abraka-Delta State.

Martinsons, M.G. and Davison R.M. (2007). Strategic decision making and support

systems: Comparing American, Japanese and Chinese management. Decision

Support Systems. 43. 284–300. (Retrieved from:

http://pdf.aminer.org/000/289/253/executive_support_systems_for_strategic_ad

vance_abstract.pdf, accessed on: 15/12/2012)

Sikiru, O.A. (2009). Implementation of an Online Job recruitment system. An

unpublished M.IT Thesis, University of Lagos, Nigeria.

Stella, C.C. and Franca, A.E (2006). Principles of System Analysis and Design.

Rootprint and publisher, Benin city – Nigeria.

Uzoka. (1998). Human Resources Management an unpublished M. Tech Thesis,

federal University of Technology, Akure, Ondo State.

Using_Curse_Managemnt_System.pdf (retrieved from www.copywrite.com; accessed

on: 15/11/2012)

WEBSTIES
http://en.wikipedia.org/wiki/microsoft-visual-studio (Accessed on: 10th November
2012).
www.nysc.gov.ng (Date Accessed: 10/10/2012)
http://www.springer.com/engineering/production+engineering/book/978-1-84628-
228-7 (Accessed on: 10/10/2012)

46
http://www.informationbuilders.com/decision-support-systems-dss (Accessed on:
02/12/12)
http://en.wikipedia.org/wiki/Decision_support_system (Accessed on: 11/11/12)
http://en.wikipedia.org/wiki/Decision_making (Accessed on: 15/12/12)

47
APPENDIX (SOURCE CODES)
HTML (ASP.NET) CODES

<%@ Master Language="VB" CodeFile="MP1.master.vb" Inherits="MP1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<style type="text/css">
.style1
{
width: 6px;
}
.style4
{
width: 24%;
}
.style5
{
width: 87%;
margin-left: 0px;
}
.style6
{
width: 99%;
}
</style>
</head>

<body background="pics/nyscbuild%20EDITED.jpg"
style="background-repeat:no-repeat ; background-position:center "
bgcolor="#66ccff">

<form id="form1" runat="server">


<div>
<table class="style1" align="center"
style="border-style: none; border-color: #FFFFFF;"
frame="border">
<tr>
<td colspan="2">
<img alt="NYSC DELTA STATE e-POSTING HEADER BY HAMPLUS
JOHNPAUL"
longdesc="+234805076053, +2347063047037
(www.facebook.com/hamplus.johnpaul)"
src="pics/NYSC%20Delta%20State%20HD%20JPSoft.jpg"
style="width: 723px; height: 113px" /></td>
</tr>
<tr>
<td colspan="2"
style="text-align: center; color: #FFFFFF; background-
color: #66CCFF;">
<asp:HyperLink ID="HyperLink1" runat="server"
BackColor="White"
BorderStyle="Outset"
NavigateUrl="~/Home.aspx">Home</asp:HyperLink>
&nbsp;&nbsp;&nbsp;

48
<asp:HyperLink ID="HyperLink2" runat="server"
BackColor="White"
BorderStyle="Outset"
NavigateUrl="~/AboutUs.aspx">About NYSC</asp:HyperLink>
&nbsp;&nbsp;&nbsp;
<asp:HyperLink ID="HyperLink7" runat="server"
BackColor="White"
BorderStyle="Outset"
NavigateUrl="~/DeltaState.aspx">Delta State in Brief</asp:HyperLink>
&nbsp;&nbsp;
<asp:HyperLink ID="HyperLink3" runat="server"
BackColor="White"
BorderStyle="Outset"
NavigateUrl="~/ContactUs.aspx">Contact Us</asp:HyperLink>
&nbsp;&nbsp;&nbsp;
<asp:HyperLink ID="HyperLink4" runat="server"
BackColor="White"
BorderStyle="Outset"
NavigateUrl="~/FAQs.aspx">FAQs</asp:HyperLink>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: right">
<asp:Panel ID="Panel4" runat="server">
<table class="style5">
<tr>
<td>
<asp:Label ID="Label4" runat="server"
style="color: #3399FF; font-weight:
700; background-color: #FFFFFF"
Text="Username: "></asp:Label>
&nbsp;
<asp:TextBox ID="txtUserN"
runat="server">hamplus</asp:TextBox>
&nbsp;&nbsp;<asp:Label ID="Label5"
runat="server"
style="color: #3399FF; font-weight:
700; background-color: #FFFFFF;"
Text="Password: "></asp:Label>
&nbsp;<asp:TextBox ID="txtPassW"
runat="server" TextMode="Password"></asp:TextBox>
&nbsp;
<asp:Button ID="btnLogin"
runat="server"
style="color: #3399FF; font-weight:
700" Text="Log in" />
<br />
<asp:Label ID="Label6" runat="server"
Text="Forgot detail? If yes, just click "></asp:Label>
<asp:HyperLink ID="HyperLink6"
runat="server" NavigateUrl="~/GetDetails.aspx">HERE</asp:HyperLink>
</td>
</tr>
<tr>
<td style="text-align: left">
<asp:Label ID="result" runat="server"
style="color: #FF0000"></asp:Label>
</td>
</tr>
</table>
</asp:Panel>

49
</td>
</tr>
<tr valign="top">
<td style="text-align: left; " class="style4">
<asp:Image ID="Image1" runat="server"
ImageUrl="~/pics/dgnysc.jpg"
Width="169px" />
</td>
<td style="color: #3399FF; background-color: #FFFFFF">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
<p>
&nbsp;
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="text-align: center; " class="style4">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr valign="top">
<td style="text-align: left; " class="style4">
<asp:Panel ID="Panel5" runat="server" style="color:
#3399FF">
<table class="style6">
<tr>
<td>
<asp:Menu ID="Menu1" runat="server"
BorderColor="White" BorderStyle="Outset"
Font-Bold="True" Font-Size="Medium"
ForeColor="#3399FF"
style="color: #3399FF">
<Items>
<asp:MenuItem
Selectable="False" Text="Quick Links" Value="Quick Links">
<asp:MenuItem Text="Home"
Value="Home" NavigateUrl="~/Home.aspx"></asp:MenuItem>
<asp:MenuItem Text="About
NYSC" Value="About NYSC" NavigateUrl="~/AboutUs.aspx"></asp:MenuItem>
<asp:MenuItem Text="Delta
State in Brief" Value="Delta State in Brief"

NavigateUrl="~/DeltaState.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Contact
Us" Value="Contact Us"

NavigateUrl="~/ContactUs.aspx"></asp:MenuItem>
<asp:MenuItem Text="FAQs"
Value="FAQs" NavigateUrl="~/FAQs.aspx"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
</td>
<td>
&nbsp;</td>
</tr>
</table>

50
</asp:Panel>
</td>
<td style="text-align: right">
&nbsp;</td>
</tr>
<tr>
<td colspan="2" style="text-align: right; background-color:
#66CCFF;">
<asp:Panel ID="Panel3" runat="server">
<table class="style5">
<tr>
<td>
<asp:Label ID="Label3" runat="server"
style="color: #FF3300; font-weight: 700"

Text="Companies, organisations and


employers should please register if you haven't please click "></asp:Label>
&nbsp;<asp:HyperLink ID="HyperLink5"
runat="server"

NavigateUrl="~/CompReg.aspx">HERE</asp:HyperLink>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2">
<img alt="NYSC DELTA STATE e_POSTING BY HAMPLUS
JOHNPAUL"
longdesc="+234805076053, +2347063047037
(www.facebook.com/hamplus.johnpaul)"
src="pics/NYSC%20Delta%20State%20FT%20JPSoft.jpg"
style="width: 722px; height: 84px" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
<%@ Page Language="VB" MasterPageFile="~/Users.master"
AutoEventWireup="false" CodeFile="MyPosting.aspx.vb" Inherits="MyPosting"
title="NYSC Delta State .:.: My Posting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"


Runat="Server">
<table class="style2" style="width: 83%">
<tr>
<td class="style8">
<asp:Label ID="Label40" runat="server" Text="Call
Up"></asp:Label>
</td>
<td>
<asp:Label ID="callup" runat="server"
style="font-weight: 700; font-size: x-
large"></asp:Label>
</td>
</tr>

51
<tr>
<td class="style8">
<asp:Label ID="Label31" runat="server" Text="State
Code"></asp:Label>
</td>
<td>
<asp:Label ID="stcode" runat="server"
style="font-weight: 700; font-size: x-
large"></asp:Label>
</td>
</tr>
<tr>
<td class="style8">
<asp:Label ID="Label25" runat="server"
Text="Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtSN" runat="server" Enabled="False"
Width="176px"
style="color: #3399FF"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style8">
<asp:Label ID="Label19" runat="server"
Text="Qualification"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtqual" runat="server" Enabled="False"
Width="176px"
style="color: #3399FF"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style8">
<asp:Label ID="Label42" runat="server"
Text="Discipline"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtdisc" runat="server" Enabled="False"
Width="176px"
style="color: #3399FF"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style8">
<asp:Label ID="Label23" runat="server" Text="Year of
Graduation"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtYG" runat="server" Enabled="False"
MaxLength="4"
Width="176px" style="color: #3399FF"></asp:TextBox>
</td>
</tr>
<tr>
<td __designer:mapid="18b" class="style6">
<asp:Label ID="Label39" runat="server"
Text="Institution"></asp:Label>
</td>
<td __designer:mapid="18c">

52
<asp:TextBox ID="txtSOS" runat="server" Enabled="False"
TextMode="MultiLine"
Width="176px" style="color: #3399FF"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style8" colspan="2">
<asp:Panel ID="Panel1" runat="server">
<table class="style2">
<tr>
<td colspan="2">
<asp:Label ID="Label33" runat="server"
style="font-weight: 700"
Text="The above are your data used for
your deployment / posting. Haven meet the conditions for deployment, you
are hereby posted to:"></asp:Label>
</td>
</tr>
<tr>
<td class="style9">
<asp:Label ID="Label34" runat="server"
Text="Place of Primary Assignment"></asp:Label>
</td>
<td>
<asp:Label ID="LabelState" runat="server"
style="font-weight: 700; font-size:
large"></asp:Label>
</td>
</tr>
<tr>
<td class="style9">
<asp:Label ID="Label35" runat="server"
Text="PPA Address"></asp:Label>
</td>
<td>
<asp:Label ID="LabelOCA" runat="server"
style="font-weight: 700; font-size:
large"></asp:Label>
</td>
</tr>
<tr>
<td class="style9">
<asp:Label ID="Label36" runat="server"
Text="Date to Report:"></asp:Label>
</td>
<td>
<asp:Label ID="LabelDateToReport"
runat="server"
style="font-weight: 700; font-size:
large"></asp:Label>
</td>
</tr>
<tr>
<td class="style9">
<asp:Label ID="Label37" runat="server"
Text="Call Up Number"></asp:Label>
</td>
<td>
<asp:Label ID="LabelCallUpNumber"
runat="server"

53
style="font-weight: 700; font-size:
large"></asp:Label>
</td>
</tr>
<tr>
<td class="style8">
<asp:Label ID="Label41" runat="server"
Text="State Code"></asp:Label>
</td>
<td>
<asp:Label ID="stcode0" runat="server"
style="font-weight: 700; font-size: x-
large"></asp:Label>
</td>
</tr>
<tr>
<td class="style9">
&nbsp;</td>
<td>
<asp:Button ID="Button1" runat="server"
Text="Ok" />
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
<tr>
<td class="style8" colspan="2">
<asp:Label ID="Label38" runat="server"></asp:Label>
<asp:DropDownList ID="ddlDecision" runat="server">
</asp:DropDownList>
<asp:DropDownList ID="ddldecision2" runat="server">
</asp:DropDownList>
<asp:DropDownList ID="ddldecision3" runat="server">
</asp:DropDownList>
</td>
</tr>
</table>
</asp:Content>

VB.NET CODES

Imports System.Data.SqlClient
Imports Microsoft.VisualBasic

Public Class DbCodes


Public cn As SqlConnection
Public dt As DateTime
Public Sub dbconnect()
Try
cn = New SqlConnection("server=localhost;uid=sa;pwd=hamplus;
database=NYSC_DT")
If cn.State = Data.ConnectionState.Open Then
cn.Close()
End If
cn.Open()
Catch ex As Exception
MsgBox(ex.Message)

54
End Try
End Sub

Public Sub dbtime()


dbconnect()
Dim cmd = New SqlCommand("select GetDate()", cn)
dt = cmd.ExecuteScalar
End Sub
End Class
Imports System.Data.SqlClient
Partial Class MyPosting
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As


System.EventArgs) Handles Me.Load
stcode.Text = Session("code")
Dim lust, love As New DbCodes
lust.dbtime()
love.dbconnect()
Dim girls, boys As New System.Data.SqlClient.SqlCommand
girls.Connection = love.cn
girls.CommandText = "select * from tblCorpMember where statecode='"
& stcode.Text & "'"
girls.ExecuteNonQuery()
boys.Connection = love.cn
boys.CommandText = "select * from tblCorpDocumentation where
statecode='" & stcode.Text & "'"
boys.ExecuteNonQuery()
Dim rdgirls, rdboys As SqlDataReader
rdgirls = girls.ExecuteReader
rdgirls.Read()
If rdgirls.HasRows = True Then
callup.Text = rdgirls.Item("callup")
LabelCallUpNumber.Text = rdgirls.Item("callup")
rdgirls.Close()
rdboys = boys.ExecuteReader
rdboys.Read()
stcode.Text = rdboys.Item("statecode")
stcode0.Text = rdboys.Item("statecode")
txtSN.Text = rdboys.Item("names")
txtqual.Text = rdboys.Item("qual")
txtdisc.Text = rdboys.Item("disc")
txtYG.Text = rdboys.Item("yog")
txtSOS.Text = rdboys.Item("inst")
rdboys.Close()

Dim applysearch As New SqlCommand


applysearch = New SqlCommand("select * from tblApply where
discipline='" & txtdisc.Text & "'", love.cn)
applysearch.ExecuteNonQuery()
Dim rdapplysearch As SqlDataReader
rdapplysearch = applysearch.ExecuteReader
rdapplysearch.Read()
If rdapplysearch.HasRows = True Then
LabelState.Text = rdapplysearch.Item("ppa")
LabelOCA.Text = rdapplysearch.Item("location")
If rdapplysearch.Item("batch") = "A" Then
LabelDateToReport.Text = "April, " &
rdapplysearch.Item("year")
ElseIf rdapplysearch.Item("batch") = "B" Then

55
LabelDateToReport.Text = "August, " &
rdapplysearch.Item("year")
Else
LabelDateToReport.Text = "December, " &
rdapplysearch.Item("year")
End If
End If
End If
End Sub
End Class
Imports System.Data.SqlClient

Partial Class ChangeDetails


Inherits System.Web.UI.Page

Protected Sub btnChange_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles btnChange.Click
Dim uju, ochuku As New DbCodes
uju.dbconnect()
ochuku.dbtime()
Dim johnpaul As SqlCommand
johnpaul = New SqlCommand("update tblStaff set
name=@cn,sysID=@cac,position=@si," _
& "un=@ad,pwd=@lga,dt=@date where sysID= '" & Label12.Text &
"'", uju.cn)
johnpaul.Parameters.AddWithValue("@cn", txtName.Text)
johnpaul.Parameters.AddWithValue("@cac", Label12.Text)
johnpaul.Parameters.AddWithValue("@si", txtPosition.Text)
johnpaul.Parameters.AddWithValue("@ad", txtUN.Text)
johnpaul.Parameters.AddWithValue("@lga", txtPWD.Text)
johnpaul.Parameters.AddWithValue("@date", ochuku.dt)
johnpaul.ExecuteNonQuery()

Dim hamplus As New SqlCommand


hamplus.Connection = uju.cn
hamplus.CommandText = "update tblLogin
username=@username,password=@password,code=@code,define=@define,dt=@dt"
hamplus.Parameters.AddWithValue("@username", txtUN.Text)
hamplus.Parameters.AddWithValue("@password", txtPWD.Text)
hamplus.Parameters.AddWithValue("@code", Label12.Text)
hamplus.Parameters.AddWithValue("@define", "Staff")
hamplus.Parameters.AddWithValue("@dt", ochuku.dt)
hamplus.ExecuteNonQuery()

Response.Redirect("Register.aspx")
End Sub

Protected Sub Page_Load(ByVal sender As Object, ByVal e As


System.EventArgs) Handles Me.Load
Label12.Text = Session("code")
End Sub
End Class
Imports System.Data.SqlClient
Partial Class Apply
Inherits System.Web.UI.Page

Protected Sub btnRequest_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles btnRequest.Click
Dim uju, ochuku As New DbCodes
uju.dbconnect()
ochuku.dbtime()

56
Dim hamplus As New SqlCommand
hamplus.Connection = uju.cn
hamplus.CommandText = "select * from tblCompany where sysID= '" &
Session("code") & "'"
hamplus.ExecuteNonQuery()
Dim rdhamplus As SqlDataReader
rdhamplus = hamplus.ExecuteReader
rdhamplus.Read()
If rdhamplus.HasRows = True Then
Dim johnpaul As SqlCommand
johnpaul = New SqlCommand("Insert into tblApply
(code,ppa,location,number,discipline,batch,year" _
& ",dt) values (@cn,@ppa,@loc,@cac,@dis,@si,@ad,@date)",
uju.cn)
johnpaul.Parameters.AddWithValue("@cn", Session("code"))
johnpaul.Parameters.AddWithValue("@ppa",
rdhamplus.Item("cname"))
johnpaul.Parameters.AddWithValue("@loc",
rdhamplus.Item("address"))
johnpaul.Parameters.AddWithValue("@cac", txtNCM.Text)
johnpaul.Parameters.AddWithValue("@dis", txtDecipline.Text)
johnpaul.Parameters.AddWithValue("@si", txtBatch.Text)
johnpaul.Parameters.AddWithValue("@ad", txtYear.Text)
johnpaul.Parameters.AddWithValue("@date", ochuku.dt)
rdhamplus.Close()
johnpaul.ExecuteNonQuery()
Response.Redirect("Apply.aspx")
Else
Response.Write("ERROR. PLEASE REFRESH YOUR BROWSER AND LOG OUT.
THEN LOG IN. THANKS")
End If

End Sub
End Class
Imports System.DateTime
Imports System.Data.SqlClient
Partial Class Register
Inherits System.Web.UI.Page

Protected Sub btnValidate_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles btnValidate.Click
Dim a, b As Integer
Dim c, d As String
a = Now.Year
Randomize()
3: b = 4321 * Rnd((a))
b = Mid(b, 1, 4)
If b > 3000 Then
GoTo 3
End If
d = DateTime.Now.Month.ToString
'Dim mont As DateTime = DateTime.ParseExact(d, "dd/m/yyyy",
System.Globalization.CultureInfo.CurrentCulture)
'Dim af As String = mont.Month
'Split(d, " ")
'NYSC.Text = d

'c = Now.Year
'NYSC.Text = d
'Dim b1, b2, bc As Integer
'b1 = Now.Month.ToString()

57
If d <= 4 Then
c = Today.Year & "A"
ElseIf d <= 8 Then
c = Now.Year & "B"
Else
c = DateTime.Now.Year & "C"
End If
NYSC.Text = "DT/" & Right(c, 3) & "/" & b
With txtUN
.Enabled = False
.Text = NYSC.Text
End With
Panel4.Visible = False
Panel5.Visible = True
txtSN.Text = txtCUName.Text
End Sub

Protected Sub btnProceed_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles btnProceed.Click
Dim uju, ochuku As New DbCodes
uju.dbconnect()
ochuku.dbtime()
Dim johnpaul As SqlCommand
johnpaul = New SqlCommand("Insert into tblCorpMember
(callup,name,statecode,sex,address,numbers,eadd," _
& "usern,passw,sq,sa,dt) values
(@cn,@cac,@si,@ad,@lga,@n,@sc,@un,@pass,@sq,@sa,@date)", uju.cn)
johnpaul.Parameters.AddWithValue("@cn", txtCUN.Text)
johnpaul.Parameters.AddWithValue("@cac", txtCUName.Text)
johnpaul.Parameters.AddWithValue("@si", NYSC.Text)
johnpaul.Parameters.AddWithValue("@ad", ddlSex.Text)
johnpaul.Parameters.AddWithValue("@lga", txtAdd.Text)
johnpaul.Parameters.AddWithValue("@n", txtNo1.Text & "/" &
txtNo2.Text)
johnpaul.Parameters.AddWithValue("@sc", txtEAdd.Text)
johnpaul.Parameters.AddWithValue("@un", txtUN.Text)
johnpaul.Parameters.AddWithValue("@pass", txtPWD2.Text)
johnpaul.Parameters.AddWithValue("@sq", ddlSQ.Text)
johnpaul.Parameters.AddWithValue("@sa", txtSA.Text)
johnpaul.Parameters.AddWithValue("@date", ochuku.dt)
johnpaul.ExecuteNonQuery()

Dim hamplus As New SqlCommand


hamplus.Connection = uju.cn
hamplus.CommandText = "insert into tblLogin
(username,password,code,define,dt) values
(@username,@password,@code,@define,@dt)"
hamplus.Parameters.AddWithValue("@username", txtUN.Text)
hamplus.Parameters.AddWithValue("@password", txtPWD.Text)
hamplus.Parameters.AddWithValue("@code", NYSC.Text)
hamplus.Parameters.AddWithValue("@define", "Corp Member")
hamplus.Parameters.AddWithValue("@dt", ochuku.dt)
hamplus.ExecuteNonQuery()

If ddlSex.SelectedIndex = 1 Then
rblSex.SelectedIndex = 0
rblSex.Enabled = False
ElseIf ddlSex.SelectedIndex = 2 Then
rblSex.SelectedIndex = 1
rblSex.Enabled = False
End If

58
Panel5.Visible = False
Panel6.Visible = True
End Sub

Protected Sub btnDone_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles btnDone.Click
Dim uju, ochuku As New DbCodes
uju.dbconnect()
ochuku.dbtime()
Dim johnpaul As SqlCommand
johnpaul = New SqlCommand("Insert into tblCorpDocumentation
(statecode,title,names,sex,ms,date,newname," _
& "husadd,inst,state,qual,disc,yob,pob,yog,soo,dt) values
(@cn,@cac,@si,@ad,@lga,@n,@sc,@un,@pass,@sq,@sa,@disc,@yob,@pob,@yog,@soo,@
date)", uju.cn)
johnpaul.Parameters.AddWithValue("@cn", NYSC.Text)
johnpaul.Parameters.AddWithValue("@cac", ddlTitle.Text)
johnpaul.Parameters.AddWithValue("@si", txtSN.Text)
johnpaul.Parameters.AddWithValue("@ad", rblSex.Text)
johnpaul.Parameters.AddWithValue("@lga", rblMS.Text)
johnpaul.Parameters.AddWithValue("@n", txtDate.Text)
johnpaul.Parameters.AddWithValue("@sc", txtNewName.Text)
johnpaul.Parameters.AddWithValue("@un", txtHA.Text)
johnpaul.Parameters.AddWithValue("@pass", txtInst.Text)
johnpaul.Parameters.AddWithValue("@sq", txtSOS.Text)
johnpaul.Parameters.AddWithValue("@sa", ddlRQ.Text)
johnpaul.Parameters.AddWithValue("@disc", txtdis.Text)
johnpaul.Parameters.AddWithValue("@yob", txtAge.Text)
johnpaul.Parameters.AddWithValue("@pob", txtPoB.Text)
johnpaul.Parameters.AddWithValue("@yog", txtYG.Text)
johnpaul.Parameters.AddWithValue("@soo", txtSOO.Text)
johnpaul.Parameters.AddWithValue("@date", ochuku.dt)
johnpaul.ExecuteNonQuery()
Response.Redirect("Register.aspx")
End Sub

Protected Sub rblMS_SelectedIndexChanged(ByVal sender As Object, ByVal


e As System.EventArgs) Handles rblMS.SelectedIndexChanged
If rblMS.SelectedIndex = 1 Then
Panel7.Visible = True
Else
Panel7.Visible = False
End If
End Sub
End Class
Imports System.Data.SqlClient
Partial Class MP1
Inherits System.Web.UI.MasterPage

Protected Sub btnLogin_Click(ByVal sender As Object, ByVal e As


System.EventArgs) Handles btnLogin.Click
If txtUserN.Text = "hamplus" And txtPassW.Text = "kelvin" Then
Response.Redirect("AddStaff.aspx")
Else
Dim uju, ochuku As New DbCodes
uju.dbconnect()
ochuku.dbtime()
Dim johnpaul As SqlCommand
johnpaul = New SqlCommand("select * from tblLogin where
username='" & txtUserN.Text & "' and password= '" & txtPassW.Text &
"'",uju.cn)

59
johnpaul.ExecuteNonQuery()
Dim hamplus As SqlDataReader
hamplus = johnpaul.ExecuteReader
hamplus.Read()
If hamplus.HasRows = True Then
If hamplus.Item("define") = "Staff" Then
Session("un") = hamplus.Item("username")
Session("pass") = hamplus.Item("password")
Session("code") = hamplus.Item("code")
Response.Redirect("Register.aspx")
ElseIf hamplus.Item("define") = "Company" Then
Session("un") = hamplus.Item("username")
Session("pass") = hamplus.Item("password")
Session("code") = hamplus.Item("code")
Response.Redirect("Apply.aspx")
ElseIf hamplus.Item("define") = "Corp Member" Then
Session("un") = hamplus.Item("username")
Session("pass") = hamplus.Item("password")
Session("code") = hamplus.Item("code")
Response.Redirect("MyInfo.aspx")
End If
Else
result.Text = "Log in Process Failed. Wrong Details. Please
Try Again"
End If
End If
End Sub
End Class

60

You might also like