Online Blood Donation Management System Report
Online Blood Donation Management System Report
Online Blood Donation Management System Report
INTRODUCTION
1.1. Project Overview
The Blood Donation Agent is to create an e-Information about the donor and organization
that are related to donating the blood. Through this application any person who is interested in
donating the blood can register himself in the same way if any organization wants to register
itself with this site that can also register. Moreover if any general consumer wants to make
request blood online he can also take the help of this site. Admin is the main authority who
can do addition, deletion, and modification if required.
This project is aimed to developing an online Blood Donation Information. The entire
project has been developed keeping in view of the distributed client server computing
technology, in mind.
The Blood Donation Agent is to create an e-Information about the donor and organization
that are related to donating the blood. Through this application any person who is interested in
donating the blood can register himself in the same way if any organization wants to register
itself with this site that can also register. Moreover if any general consumer wants to make
request blood online he can also take the help of this site.
Admin is the main authority who can do addition, deletion, and modification if
required.
The project has been planned to be having the view of distributed architecture, with
centralized storage of the database. The application for the storage of the data has been planned.
Using the constructs of MS-SQL Server and all the user interfaces have been designed using the
ASP.Net technologies.
The database connectivity is planned using the “SQL Connection” methodology. The
standards of security and data protective mechanism have been given a big choice for proper
usage.
The application takes care of different modules and their associated reports, which are
produced as per the applicable strategies and standards that are put forwarded by the
administrative staff.
The entire project has been developed keeping in view of the distributed client server
computing technology, in mind. The specification has been normalized up to 3NF to eliminate all
the anomalies that may arise due to the database transaction that are executed by the general
users and the organizational administration. The user interfaces are browser specific to give
distributed accessibility for the overall system. The internal database has been selected as MS-
SQL server 2000.
The basic constructs of table spaces, clusters and indexes have been exploited to provide
higher consistency and reliability for the data storage. The MS-SQL server 2000 was a choice as
it provides the constructs of high-level reliability and security. The total front end was dominated
using the ASP.Net technologies. At all proper levels high care was taken to check that the system
manages the data consistency with proper business rules or validations.
The database connectivity was planned using the latest “SQL Connection” technology
provided by Microsoft Corporation. The authentication and authorization was crosschecked at all
the relevant stages. The user level accessibility has been restricted into two zones namely.
Problem Definition
2.1 Existing System
Cannot Upload and Download the latest updates.
No use of Web Services and Remoting.
Risk of mismanagement and of data when the project is under development.
Less Security.
No proper coordination between different Applications and Users.
Fewer Users – Friendly
Disadvantages
1. User friendliness is provided in the application with various controls.
2. The system makes the overall project management much easier and flexible.
3. Readily upload the latest updates, allows user to download the alerts by clicking the
URL.
4. There is no risk of data mismanagement at any level while the project development is
under process.
5. It provides high level of security with different level of authentication.
2.2. Proposed System
To debug the existing system, remove procedures those cause data redundancy, make
navigational sequence proper. To provide information about audits on different level and also to
reflect the current work status depending on organization/auditor or date. To build strong
password mechanism.
Advantages:
User friendliness I provided in the application with various controls.
The system makes the overall project management much easier and flexible.
Readily upload the latest updates ,allows user to download the alerts by clicking
the url.
It provides high level of security with different level of authentication.
Feasibility Study
Preliminary investigation examine project feasibility, the likelihood the system will be
useful to the organization. The main objective of the feasibility study is to test the Technical,
Operational and Economical feasibility for adding new modules and debugging old running
system. All system is feasible if they are unlimited resources and infinite time. There are aspects
in the feasibility study portion of the preliminary investigation:
Technical Feasibility
Operation Feasibility
Economical Feasibility
The technical issue usually raised during the feasibility stage of the investigation includes
the following:
The database’s purpose is to create, establish and maintain a workflow among various
entities in order to facilitate all concerned users in their various capacities or roles. Permission to
the users would be granted based on the roles specified. Therefore, it provides the technical
guarantee of accuracy, reliability and security.
The software and hard requirements for the development of this project are not many and
are already available in-house at NIC or are available as free as open source. The work for the
project is done with the current equipment and existing software technology. Necessary
bandwidth exists for providing a fast feedback to the users irrespective of the number of users
using the system.
Proposed projects are beneficial only if they can be turned out into information system.
That will meet the organization’s operating requirements. Operational feasibility aspects of the
project are to be taken as an important part of the project implementation. Some of the important
issues raised are to test the operational feasibility of a project includes the following: -
The well-planned design would ensure the optimal utilization of the computer resources and
would help in the improvement of performance status.
A system can be developed technically and that will be used if installed must still be a good
investment for the organization. In the economical feasibility, the development cost in creating
the system is evaluated against the ultimate benefit derived from the new systems. Financial
benefits must equal or exceed the costs.
The system is economically feasible. It does not require any addition hardware or
software. Since the interface for this system is developed using the existing resources and
technologies available at NIC, There is nominal expenditure and economical feasibility for
certain.
System Analysis
Developing the system, which meets the SRS and solving all the requirements of the system?
Demonstrating the system and installing the system at client's location after the acceptance
testing is successful.
Submitting the required user manual describing the system interfaces to work on it and also
the documents of the system.
Conducting any user training that might be needed for using the system.
Maintaining the system for a period of one year after installation.
Functionality
UserRole:
RoleID
RoleName
RoleDesc
Active
Functionality:
Association user role with user Account
Alerts:
Select Role Id
Select role name
BDA State:
StateID
StateName
StateCode
StateDesc
CountryID
Active
Functionality:
Association state with city
Assocition state with Address
Alerts:
Select State id
Select state name
Country:
CountryID
CountryName
CountryDesc
CountryCode
Active
Functionality:
Association state with country
Assocition state with Address
Alerts:
Select countryId
Select countryname
Select country code
BDA City:
CityID
CityName
CityDesc
CityCode
StateID
Active
Functionality:
Association Location with city
Assocition Address with city.
Alerts:
Select cityId
Select cityNane
Select state code
BDALocation:
LocationID
LocationName
LocationDesc
LocationCode
CityID
Pin code
Active
Functionality:
Association Location with Address.
Alerts:
Select LocationId
Select Location Name
Select Pincode.
BloodGroup:
BloodGroupID
BloodGroup
Description
Active
Functionality:
Association Blood group with Personal details.
Alerts:
Select BloodGroupID
Select BloodGroupID
Blood Type:
BloodTypeID
TypeName
TypeDesc
Active
Functionality:
Association Blood type with Personal details.
Alerts:
Select BloodGroupID
Select TypeName
Personal Details:
UserAccountID
FirstName
MiddleName
LastName
Email
DOB
Weight
Gender
ImageURL
BloodGroupID
BloodType
BloodType
AddressID
ContactNo_Office
ContactNo_Residence
MobileNo
Active
Functionality:
Association personal detaials with preferd location Day Time
Details.
Alerts:
Select user account id
Select Email id
Call Center:
In this module all the employee who has been appointed by Admin will come. Admin will add
all the information of employee and assign user name and password to them. By using that user
name and password they will enter to their login and can search for all the donor, and about all
the blood request which have been made by either consumer, donor or any organization. Call
center people will assign donor to related request.
Employee Detail:
EmpId
Name
Address
Phone
Email
Active
Functionality:
Association Employee Details type with user Accounts.
Alerts:
Select Emp Id
Select email id
Donor:
Donor is that person who is interested in donating their blood so they can register themselves
through this website. If any requirement comes then they will be contacted and they can donate
their blood. Along with it they can search for the various organization locations wise and can
also make request for blood if needed
Donation Frequencies:
Frequency ID
Frequency
Description
Functionality:
Association Donor Frequencies with Blood donation
preferences.
Alerts:
Select Frequency Id
User Account D
Organization ID
Active
Functionality:
Association Donor preferred organization with personal
details.
Alerts:
Select user account id
Select organization id.
Organization:
In this module if any organization wants to register itself then it can do it. It can also search for
donor location wise and if needed then it can also make request for blood
Organization:
OrgID
OrgName
OrgType
Email
OrgAddrID
OrgImageURL
OrgDescription
ContactNo
MobileNo
Active
Comment
Functionality:
Association organization type with Organization type.
Alerts:
Select OrgId
Select Email
Organization Type:
TypeID
TypeName
Type Description
Functionality:
Association organization type with Organization.
Alerts:
Select Type Id
Select Type Name
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
System Design
DFD SYMBOLS:
In the DFD, there are four symbols
1. A square defines a source(originator) or destination of system data
2. An arrow identifies data flow. It is the pipeline through which the information flows
3. A circle or a bubble represents a process that transforms incoming data flow into outgoing
data flows.
4. An open rectangle is a data store, data at rest or a temporary repository of data
Data flow
Data Store
CONSTRUCTING A DFD:
Several rules of thumb are used in drawing DFD’S:
1. Process should be named and numbered for an easy reference. Each name should be
representative of the process.
2. The direction of flow is from top to bottom and from left to right. Data traditionally flow
from source to the destination although they may flow back to the source. One way to
indicate this is to draw long flow line back to a source. An alternative way is to repeat the
source symbol as a destination. Since it is used more than once in the DFD it is marked with
a short diagonal.
3. When a process is exploded into lower level details, they are numbered.
4. The names of data stores and destinations are written in capital letters. Process and dataflow
names have the first letter of each work capitalized
A DFD typically shows the minimum contents of data store. Each data store should
contain all the data elements that flow in and out.
Questionnaires should contain all the data elements that flow in and out. Missing
interfaces redundancies and like is then accounted for often through interviews.
CURRENT PHYSICAL:
In Current Physical DFD proecess label include the name of people or their positions or
the names of computer systems that might provide some of the overall system-processing label
includes an identification of the technology used to process the data. Similarly data flows and
data stores are often labels with the names of the actual physical media on which data are stored
such as file folders, computer files, business forms or computer tapes.
CURRENT LOGICAL:
The physical aspects at the system are removed as mush as possible so that the current
system is reduced to its essence to the data and the processors that transform them regardless of
actual physical form.
NEW LOGICAL:
This is exactly like a current logical model if the user were completely happy with he
user were completely happy with the functionality of the current system but had problems with
how it was implemented typically through the new logical model will differ from current logical
model while having additional functions, absolute function removal and inefficient flows
recognized.
NEW PHYSICAL:
The new physical represents only the physical implementation of the new system.
PROCESS
1) No process can have only outputs.
2) No process can have only inputs. If an object has only inputs than it must be a sink.
3) A process has a verb phrase label.
DATA STORE
1) Data cannot move directly from one data store to another data store, a process must move
data.
2) Data cannot move directly from an outside source to a data store, a process, which receives,
must move data from the source and place the data into data store
3) A data store has a noun phrase label.
SOURCE OR SINK
The origin and /or destination of data.
1) Data cannot move direly from a source to sink it must be moved by a process
2) A source and /or sink has a noun phrase land
DATA FLOW
1) A Data Flow has only one direction of flow between symbols. It may flow in both directions
between a process and a data store to show a read before an update. The later is usually
indicated however by two separate arrows since these happen at different type.
2) A join in DFD means that exactly the same data comes from any of two or more different
processes data store or sink to a common location.
3) A data flow cannot go directly back to the same process it leads. There must be atleast one
other process that handles the data flow produce some other data flow returns the original
data into the beginning process.
4) A Data flow to a data store means update (delete or change).
5) A data Flow from a data store means retrieve or use.
Context Diagram
Admin
DataBase
Call Center
Organization
Future Use
Admin
Login data
login
Call Center
Login
Donor Donor Id
Details
Insert New
Donor Insert Donor
Verify Id Verify
Data Data
1.1 1.2
Insert
Donor Details
Operator Id
Operator
Details
Verify
Data 2.2
2.1
Insert
Operator Id
Insert
Operator
Details
Call Center
Call Center Id
Details
Verify
Department of CSE -23 - Data Blood Bequeath Federal
3.2
Blood Bequeath Federal
Insert New
Call Center
Verify
Data
3.1
Insert Call
Center Id
Call Center
Insert
Details
Donor
Details
Donor Donor Id
Organizati
Details on Details
Insert New
Donor
Verify Data Verify Data
Verify Data
4.1 4.2
4.3
Insert
Donor
Details
Insert Donor Id
Check in
Organization
Check for
Check for Dates
Check for
Verify Blood Type Verify Appointm Verify
Data ent Data
Data Details
4.4
4.6 4.5
Appointment Dates
Blood Details Details Details
Insert
Donor Details
Database
Updated
Administrator
Login data
Logs In
Donar
Call Organiza
Appointment Center tion
Details
Operator Report
The unified modeling language allows the software engineer to express an analysis model
using the modeling notation that is governed by a set of syntactic semantic and pragmatic
rules.
A UML system is represented using five different views that describe the system from
distinctly different perspective. Each view is defined by a set of diagram, which is as follows.
ii. The analysis representation describes a usage scenario from the end-users
perspective.
Structural model view
In this model the data and functionality are arrived from inside the system.
In this the structural and behavioral as parts of the system are represented
as they are to be built.
In this the structural and behavioral aspects of the environment in which the
system is to be implemented are represented.
UML Analysis modeling, which focuses on the user model and structural model views of
the system.
UML design modeling, which focuses on the behavioral modeling, implementation modeling and
environmental model views.
Use case Diagrams represent the functionality of the system from a user’s point of view. Use
cases are used during requirements elicitation and analysis to represent the functionality of the
system. Use cases focus on the behavior of the system from external point of view.
Actors are external entities that interact with the system. Examples of actors include users like
administrator, bank customer …etc., or another system like central database.
Use case Model
SYSTEM NAME
Use case 1
Use case 2
Actor
Actor
Use case n
Home Page
Login Page
DonorAccountDetail
Admin MakeRequestForBlood
Search
Contact S
About US
Home Page
Login Page
Search
Contact S
About us
Donor
Home Page
Login Page
Search
Call Center
Contact S
About US
Home Page
Login Page
DonorSearchPage
MakeRequestForBlood
OrganizationAccountDetail
Search
Contact S
Organization About US
actors
Flow of events The Call Center must enter all his personal details.
Entry View Home page
Condition
Exit condition Registered Call Center should be successfully logged out. Error
Message should be displayed on Un successful creation.
Quality Best Error Handling techniques. Check on Mandatory fields.
Requirements
SEQUENCE DIAGRAMS
Sequence Diagrams Represent the objects participating the interaction horizontally and time
vertically.
Time
: Login : Accounts DB
Donor
Validate forms ()
: Login : Accounts DB
Call Center
Department of CSE -36 - Blood Bequeath Federal
Press login button ()
Blood Bequeath Federal
Validate forms ()
: Login : Accounts DB
Organization
Validate forms ()
Admin
Sequence Diagram 5
Press login button()
Admin : Account
Press Accept/Reject Button
Home
Page Validate
Select Validate
Select orValidate
Reports() Reject or Reject Account()
Transaction ()
Blood Bequeath Federal
UserRole:
RoleID
RoleName
RoleDesc
Active
BDAState:
StateID
StateName
StateCode
StateDesc
CountryID
Active
Country:
CountryID
CountryName
CountryDesc
CountryCode
BDACity
CityID
CityName
CityDesc
CityCode
StateID
Active
:
BDALocation:
LocationID
LocationName
LocationDesc
LocationCode
CityID
Pin code
Active
BloodGroup:
BloodGroupID
BloodGroup
Description
Active
BloodType:
BloodTypeID
TypeName
TypeDesc
Active
PersonalDetails:
UserAccountID
FirstName
MiddleName
LastName
Email
DOB
Weight
Gender
ImageURL
BloodGroupID
BloodType
BloodType
AddressID
ContactNo_Office
ContactNo_Residence
MobileNo
Active
EmployeeDetail:
EmpId
Name
Address
Phone
Email
Active
DonationFrequencies:
FrequencyID
Frequency
Description
Active
Organisation:
OrgID
OrgName
OrgType
Email
OrgAddrID
OrgImageURL
OrgDescription
ContactNo
MobileNo
Active
Comment
OrganisationType:
TypeID
TypeName
TypeDescription
OrgImage
Active
ER Diagrams
Has/
User Account: UserRole:
belo
ngs
UserAccount: UserRole:
RoleID
AccountID
RoleName
Username
RoleDesc
Password
Active
UserDesc
HintQuestion
Answer
RoleID
Organisation:
UserAccount:
OrgID
OrgName
AccountID OrgType
Email
Username OrgAddrID
OrgImageURL
Password OrgDescription
ContactNo
MobileNo
UserDesc Active
Comment
Hint Question
Answer
Department of CSE -43 - Blood Bequeath Federal
RoleID
Blood Bequeath Federal
Personal Details:
Username ImageURL
Password BloodGroupID
UserDesc BloodType
BloodType
HintQuestion
AddressID
Answer
ContactNo_Office
RoleID
ContactNo_Residence
MobileNo
Department of CSE -44 - Blood Bequeath Federal
Active
MiddleName
Blood Bequeath Federal
Employee Details
User Account
Has/
belo
ngs
User Desc
Hint Question
Answer
Role ID
Department of CSE -45 - Blood Bequeath Federal
Blood Bequeath Federal
Has/
belo User Account
ngs
UserRole
User Account:
UserRole:
AccountID
RoleID
Username
RoleName
Password
RoleDesc
User Desc
Active
Hint Question
Answer
Role ID
Has/
belo BDAcity
State
ngs
BDACity:
BDAState:
CityID
StateID
CityName
StateName
CityDesc
StateCode
CityCode
StateDesc
StateID
CountryID
Active
Active
dBDA_Address
BDAState:
AddressID
StateID
AddressLine1
StateName
LocationID
StateCode
CityID
StateDesc
StateID
CountryID
CountryID
Active
CountryID
Zipcode
Active
BDAState:
Country:
StateID
CountryID
StateName
CountryName
StateCode
CountryDesc
StateDesc
CountryCode
CountryID
Active
Active
Has/
Location: belo State
ngs
BDALocation:
BDAState:
LocationID
StateID
LocationName
StateName
LocationDesc
StateCode
LocationCode
StateDesc
CityID
CountryID
Pin code
Active
Active
BDACity:
dBDA_Address
CityID
AddressID
CityName
AddressLine1
CityDesc
LocationID
CityCode
CityID
StateID
StateID
Active
CountryID
CountryID
Zipcode
Active
BDALocation: DBDAddress:
Has/
belo
ngs
BDALocation: DBDAAddress
LocationID AddressID
LocationName AddressLine1
LocationDesc LocationID
LocationCode CityID
CityID StateID
Active CountryID
Zipcode
Department of CSE -52 - Blood Bequeath Federal
Active
Blood Bequeath Federal
Has/
Blood group: belo Personal details
ngs
Personal details:
BloodGroup: UserAccountID
BloodGroupID FirstName
BloodGroup MiddleName
Description LastName
Active Email
DOB
Weight
Gender
ImageURL
BloodGroupID
BloodType
AddressID
ContactNo_Office
ContactNo_Residence
MobileNo
Department of CSE -53 - Blood Bequeath Federal
Active
Blood Bequeath Federal
UserAccountID PreferredDonationDayTime
FirstName DonorPreferenceID
MiddleName WeekDay
LastName TimeFrom
Email TimeFrom
DOB TimeUpto
Weight UserAccountID
Gender Comment
ImageURL Active
BloodGroupID
BloodType
AddressID
ContactNo_Office
ContactNo_Residence
MobileNo
Department of CSE -54 - Blood Bequeath Federal
Active
Blood Bequeath Federal
Has/
DonationFrequencies: belo BloodDonationPrefere
ngs nce
BloodDonationPreference:
DonationFrequencies:
PreferenceID
FrequencyID
UserAccountID
Frequency
DonationFrequencyID
Description
WantToDonateWhitecells
Active
Active
ER diagram FirstName
UserAcountID
for Organization type and MiddleName
OrganisationID
Organization . LastName
Active
Email
DOB
Has/
belo
Organization type Organization
Weight
ngs
Gender
ImageURL
Organisation:
OrganisationType: OrgID
BloodGroupID
OrgName
TypeID OrgType
EmailBloodType
OrgAddrID
TypeName OrgImageURL
AddressID
OrgDescription
TypeDescription ContactNo
ContactNo_Office
MobileNo
Active
OrgImage
Comment
ContactNo_Residence
Active
MobileNo
Department of CSE -56 - Blood Bequeath Federal
Active
Blood Bequeath Federal
BDA_BloodDonationDetails
BDA_BloodDonationPreference
BDA_BloodGroup
BDA_BloodRequest
BDA_BloodType
BDA_City
BDA_Country
BDA_DonationFrequencies
BDA_DonorPreferredOrganisation
BDA_EmployeeDetail
BDA_FAQ
BDA_Location
BDA_Organisation
BDA_OrganisationType
BDA_PersonalDetails
BDA_PreferredDonationDayTime
BDA_State
BDA_UserAccount
BDA_UserRole
2.Entities with Attributes
1. BDA_Address
AddressID
AddressLine1
LocationID
CityID
StateID
CountryID
Zipcode
Active
2. BDA_BloodDonationDetails
ID
DonorID
DonationDate
TakerID
OrgID
Quantity
Comment
Active
3. BDA_BloodDonationPreference
PreferenceID
UserAccountID
DonationFrequencyID
WantToDonateWhitecells
Active
4. BDA_BloodRequest
RequestID
DonorId
OrgId
Name
Email
Phone
Country
State
City
Location
BloodRequireAddress
BloodType
BloodGroup
AppDate
ReqDate
Status
RequestType
5. BDA_BloodGroup
BloodGroupID
BloodGroup
Description
Active
6. BDA_BloodType
BloodTypeID
TypeName
TypeDesc
Active
7. BDA_City
CityID
CityName
CityDesc
CityCode
StateID
Active
8. BDA_Country
CountryID
CountryName
CountryDesc
CountryCode
Active
9. BDA_DonationFrequencies
FrequencyID
Frequency
Description
Active
10. BDA_DonorPreferredOrganisation
UserAcountID
OrganisationID
Active
11. BDA_EmployeeDetail
EmpId
Name
Address
Phone
Email
Active
12. BDA_FAQ
FaqID
Question
Answer
Active
13. BDA_Location
LocationID
LocationName
LocationDesc
LocationCode
CityID
Pincode
Active
14. BDA_Organisation
OrgID
OrgName
OrgType
Email
OrgAddrID
OrgImageURL
OrgDescription
ContactNo
MobileNo
Active
Comment
15. BDA_OrganisationType
TypeID
TypeName
TypeDescription
OrgImage
Active
16. BDA_PersonalDetails
UserAccountID
FirstName
MiddleName
LastName
Email
DOB
Weight
Gender
ImageURL
BloodGroupID
BloodType
AddressID
ContactNo_Office
ContactNo_Residence
MobileNo
Active
17. BDA_PreferredDonationDayTime
DonorPreferenceID
WeekDay
TimeFrom
TimeUpto
UserAccountID
Comment
Active
18. BDA_State
StateID
StateName
StateCode
StateDesc
CountryID
Active
19. BDA_UserAccount
AccountID
Username
Password
UserDesc
HintQuestion
Answer
RoleID
Active
2.Data Dictionary
BDA_ Address
BDA_BloodDonationDetails
BDA_BloodDonationPreference
BDA_BloodGroup
BDA_BloodRequest
BDA_City
BDA_BloodType
BDA_Country
BDA_DonationFrequencies
BDA_DonorPreferredOrganisation
BDA_EmployeeDetail
BDA_FAQ
BDA_Location
BDA_Organisation
Sno Columnname Datatype Constraint reference
1 OrgID bigint Primary key
2 OrgName varchar(100) Not null
3 OrgType tinyint Foreign key BDA_Organisation Type
4 Email varchar(50) Allownull
5 OrgAddrID bigint Foreign key BDA_Address
6 OrgImageURL varchar(155) Allownull
7 OrgDescription varchar(1024) Allownull
8 ContactNo varchar(20) Allownull
9 MobileNo varchar(20) Allownull
10 Active bit Allownull
11 Comment varchar(512) Allownull
BDA_OrganisationType
Sno Columnname Datatype Constraint Reference
1 TypeID tinyint Primary key
2 TypeName varchar(50) Not null
3 TypeDescription varchar(50) Allow null
BDA_UserRole
BDA_State
BDA_UserAccount
The .NET Framework is a new computing platform that simplifies application development in
the highly distributed environment of the Internet. The .NET Framework is designed to fulfill the
following objectives:
The .NET Framework class library is a collection of reusable types that tightly integrate
with the common language runtime. The class library is object oriented, providing types from
which your own managed code can derive functionality. This not only makes the .NET
Framework types easy to use, but also reduces the time associated with learning new features of
the .NET Framework. In addition, third-party components can integrate seamlessly with classes
in the .NET Framework.
For example, the .NET Framework collection classes implement a set of interfaces that
you can use to develop your own collection classes. Your collection classes will blend
seamlessly with the classes in the .NET Framework.
As you would expect from an object-oriented class library, the .NET Framework types
enable you to accomplish a range of common programming tasks, including tasks such as string
management, data collection, database connectivity, and file access. In addition to these common
tasks, the class library includes types that support a variety of specialized development scenarios.
For example, you can use the .NET Framework to develop the following types of applications
and services:
Console applications.
Scripted or hosted applications.
Windows GUI applications (Windows Forms).
ASP.NET applications.
XML Web services.
Windows services.
For example, the Windows Forms classes are a comprehensive set of reusable types that
vastly simplify Windows GUI development. If you write an ASP.NET Web Form application,
you can use the Web Forms classes.
ASP.NET
Server Application Development
Server-side applications in the managed world are implemented through runtime hosts.
Unmanaged applications host the common language runtime, which allows your custom
managed code to control the behavior of the server. This model provides you with all the features
of the common language runtime and class library while gaining the performance and scalability
of the host server.
The following illustration shows a basic network schema with managed code running in
different server environments. Servers such as IIS and SQL Server can perform standard
operations while your application logic executes through the managed code.
ASP.NET is the hosting environment that enables developers to use the .NET Framework
to target Web-based applications. However, ASP.NET is more than just a runtime host; it is a
complete architecture for developing Web sites and Internet-distributed objects using managed
code. Both Web Forms and XML Web services use IIS and ASP.NET as the publishing
mechanism for applications, and both have a collection of supporting classes in the .NET
Framework.
If you develop and publish your own XML Web service, the .NET Framework provides a
set of classes that conform to all the underlying communication standards, such as SOAP,
WSDL, and XML. Using those classes enables you to focus on the logic of your service, without
concerning yourself with the communications infrastructure required by distributed software
development.
Finally, like Web Forms pages in the managed environment, your XML Web service will run
with the speed of native machine language using the scalable communication of IIS.
runtime, so that if one misbehaves (leaks, deadlocks), a new process can be created in its
place, which helps keep your application constantly available to handle requests.
Customizability and Extensibility. ASP.NET delivers a well-factored architecture that
allows developers to "plug-in" their code at the appropriate level. In fact, it is possible to
extend or replace any subcomponent of the ASP.NET runtime with your own custom-written
component. Implementing custom authentication or state services has never been easier.
Security. With built in Windows authentication and per-application configuration, you
can be assured that your applications are secure.
LANGUAGE SUPPORT
The Microsoft .NET Platform currently offers built-in support for three languages: C#, Visual
Basic, and JScript.
C#.NET
ADO.NET OVERVIEW
ADO.NET is an evolution of the ADO data access model that directly addresses user
requirements for developing scalable applications. It was designed specifically for the web with
scalability, statelessness, and XML in mind.
ADO.NET uses some ADO objects, such as the Connection and Command objects, and also
introduces new objects. Key new ADO.NET objects include the DataSet, DataReader, and
DataAdapter.
The important distinction between this evolved stage of ADO.NET and previous data
architectures is that there exists an object -- the DataSet -- that is separate and distinct from any
data stores. Because of that, the DataSet functions as a standalone entity. You can think of the
DataSet as an always disconnected recordset that knows nothing about the source or destination
of the data it contains. Inside a DataSet, much like in a database, there are tables, columns,
relationships, constraints, views, and so forth.
A DataAdapter is the object that connects to the database to fill the DataSet. Then, it
connects back to the database to update the data there, based on operations performed while the
DataSet held the data. In the past, data processing has been primarily connection-based. Now, in
an effort to make multi-tiered apps more efficient, data processing is turning to a message-based
approach that revolves around chunks of information. At the center of this approach is the
DataAdapter, which provides a bridge to retrieve and save data between a DataSet and its
source data store. It accomplishes this by means of requests to the appropriate SQL commands
made against the data store.
DataReaders. For reading a forward-only stream of data records from a SQL Server data
source.
DataSets. For storing, Remoting and programming against flat data, XML data and
relational data.
Data Adapters. For pushing data into a DataSet, and reconciling data against a database.
).
Connections:
Connections are used to 'talk to' databases, and are represented by provider-specific
classes such as SqlConnection. Commands travel over connections and resultsets are returned in
the form of streams which can be read by a DataReader object, or pushed into a DataSet object.
Commands:
Commands contain the information that is submitted to a database, and are represented by
provider-specific classes such as SqlCommand. A command can be a stored procedure call, an
UPDATE statement, or a statement that returns results. You can also use input and output
parameters, and return values as part of your command syntax. The example below shows how
to issue an INSERT statement against the Northwind database.
DataReaders:
The DataReader object is somewhat synonymous with a read-only/forward-only cursor over
data. The DataReader API supports flat as well as hierarchical data. A DataReader object is
returned after executing a command against a database. The format of the returned DataReader
object is different from a recordset. For example, you might use the DataReader to show the
results of a search list in a web page.
SQL SERVER
A database management, or DBMS, gives the user access to their data and helps them
transform the data into information. Such database management systems include dBase, paradox,
IMS, SQL Server and SQL Server. These systems allow users to create, update and extract
information from their database.
A database is a structured collection of data. Data refers to the characteristics of people,
things and events. SQL Server stores each data item in its own fields. In SQL Server, the fields
relating to a particular person, thing or event are bundled together to form a single complete unit
of data, called a record (it can also be referred to as raw or an occurrence). Each record is made
up of a number of fields. No two fields in a record can have the same field name.
During an SQL Server Database design project, the analysis of your business needs
identifies all the fields or attributes of interest. If your business needs change over time, you
define any additional fields or change the definition of existing fields.
Primary Key
Every table in SQL Server has a field or a combination of fields that uniquely identifies
each record in the table. The Unique identifier is called the Primary Key, or simply the Key.
The primary key provides the means to distinguish one record from all other in a table. It allows
the user and the database system to identify, locate and refer to one particular record in the
database.
Relational Database
Sometimes all the information of interest to a business operation can be stored in one
table. SQL Server makes it very easy to link the data in multiple tables. Matching an employee
to the department in which they work is one example. This is what makes SQL Server a
relational database management system, or RDBMS. It stores data in two or more tables and
enables you to define relationships between the table and enables you to define relationships
between the tables.
Foreign Key
When a field is one table matches the primary key of another field is referred to as a
foreign key. A foreign key is a field or a group of fields in one table whose values match those
of the primary key of another table.
Referential Integrity
Not only does SQL Server allow you to link multiple tables, it also maintains consistency
between them. Ensuring that the data among related tables is correctly matched is referred to as
maintaining referential integrity.
CODING
WEBCONFIG FILE:(Design Code)
Used to set the connections of each page.
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use
the
web admin tool to configure settings for your application.
Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<add key="ConnStr" value="data source=RAMYA-
2DCA5B123;database=BloodBequeathFederalAgent;integrated
security=sspi"/>
</appSettings>
<connectionStrings>
<add name="BloodDonationAgentConnectionString"
connectionString="Data Source=RAMYA-2DCA5B123;Initial
Catalog=BloodDonationAgent;integrated security=sspi"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Design,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design,
Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<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 enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404"
redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>
if (user.GetUser() == true)
{
account.Username = txtUsername.Text;
DataSet ds = new DataSet();
ds = account.GetAccountId();
string AcId = ds.Tables[0].Rows[0][0].ToString();
Session["username"] = txtUsername.Text;
Session["Acid"] = AcId;
DataSet ds1 = new DataSet();
account.Accountid =int.Parse(AcId);
ds1 = account.GetAddressId();
Session["addid"] = ds1.Tables[0].Rows[0][0].ToString();
Response.Redirect("~/Donor/DonorHome.aspx");
}
else
Image2.Visible = true;
lblMsg.Text = "Your Login Attempt Is Failed Plz try Again....!";
txtPassword.Text = "";
txtUsername.Focus();
//Checking Organization
if (user.GetOrganization() == true)
{
account.Username = txtUsername.Text;
DataSet ds = new DataSet();
ds = account.GetAccountId();
string AcId = ds.Tables[0].Rows[0][0].ToString();
Session["username"] = txtUsername.Text;
Session["Acid"] = AcId;
DataSet ds1 = new DataSet();
org.Orgid =int.Parse(AcId);
ds1 = org.GetOrgAddressId();
Session["addid"]=ds1.Tables[0].Rows[0][0].ToString();
Response.Redirect("~/Organization/OrganizationHome.aspx");
}
else
Image2.Visible = true;
lblMsg.Text = "Your Login Atempt Is Failed Plz try Again....!";
txtPassword.Text = "";
txtUsername.Focus();
//Employee Checking
if (user.CheckEmployee() == true)
{
account.Username = txtUsername.Text;
DataSet ds = new DataSet();
ds = account.GetAccountId();
string AcId = ds.Tables[0].Rows[0][0].ToString();
Session["username"] = txtUsername.Text;
Session["Acid"] = AcId;
Response.Redirect("~/CallCenter/CallCenterHome.aspx");
}
}
}
Testing
7.1. INTRODUCTION
Software testing is a critical element of software quality assurance and represents the
ultimate review of specification, design and coding. In fact, testing is the one step in the software
engineering process that could be viewed as destructive rather than constructive.
A strategy for software testing integrates software test case design methods into a well-
planned series of steps that result in the successful construction of software. Testing is the set of
activities that can be planned in advance and conducted systematically. The underlying
motivation of program testing is to affirm software quality with methods that can economically
and effectively apply to both strategic to both large and small-scale systems.
MODULE TESTING
Component Testing
SUB-SYSTEM
TESING
SYSTEM TESTING
Integration Testing
3. CONDITIONAL TESTING
In this part of the testing each of the conditions were tested to both true and false aspects. And all
the resulting paths were tested. So that each path that may be generate on particular condition is
traced to uncover any possible errors.
All the loops were tested at their limits, just above them and just below them.
All the loops were skipped at least once.
For nested loops test the inner most loop first and then work outwards.
For concatenated loops the values of dependent loops were set with the help of connected
loop.
Unstructured loops were resolved into nested loops or concatenated loops and tested as
above.
Each unit has been separately tested by the development team itself and all the input have been
CONCLUSION
It has been a great pleasure for me to work on this exciting and challenging project. This
project proved good for me as it provided practical knowledge of not only programming in
ASP.NET and VB.NET web based application and no some extent Windows Application and
SQL Server, but also about all handling procedure related with “Blood Bequeath Federal”. It
also provides knowledge about the latest technology used in developing web enabled application
and client server technology that will be great demand in future. This will provide better
opportunities and guidance in future in developing projects independently.
BENEFITS:
The project is identified by the merits of the system offered to the user. The merits of this project
are as follows: -
From every part of the project the user is provided with the links through framing so that he
can go from one option of the project to other as per the requirement. This is bound to be
simple and very friendly as per the user is concerned. That is, we can sat that the project is
user friendly which is one of the primary concerns of any good project.
Data storage and retrieval will become faster and easier to maintain because data is stored in
a systematic manner and in a single database.
Decision making process would be greatly enhanced because of faster processing of
information since data collection from information available on computer takes much less
time then manual system.
Allocating of sample results becomes much faster because at a time the user can see the
records of last years.
Easier and faster data transfer through latest technology associated with the computer and
communication.
Through these features it will increase the efficiency, accuracy and transparency,
9.1 LIMITATIONS:
The size of the database increases day-by-day, increasing the load on the database back up
and data maintenance activity.
Training for simple computer operations is necessary for the users working on the system