Académique Documents
Professionnel Documents
Culture Documents
A PROJECT REPORT
Submitted by
Manish tyagi
Roll No: 9347101
Under the supervision of
I hereby declare that the project work entitled “Online Cab” is an authentic
record of my own work carried out at DUCAT ,Noida as requirements of Industry
Internship project for the award of degree of MCA, I.T.S Mohan Nagar
(Ghaziabad) under the guidance of Prof.Rabins Porwal (during January to June,
2016).
(Signature of student)
Name of Student: ManishTyagi
Roll No : 8347101
Date: ___________________
Certified that the above statement made by the student is correct to the best of our
knowledge and belief
Page | 2
Acknowledgement
The satisfaction that accompanies the successful completion of the task would be
incomplete without the mention of the people whose Ceaseless cooperation made it
possible, whose constant guidance and encouragement crown all efforts with
success. We are grateful to our Project Guide “Mr. Vipul Kumar Mishra” for the
inspiration and the constructive suggestions that helped us in preparation of the
project Online Cab.
Page | 3
CONTENT
Page | 4
12. ScreenShoot 46-52
13. Process Involved 53-54
14. Testing Methodology 55
15. Test Reports 56-57
16. Coding 58-102
17. Data Dictionary 103-111
17.1 Databases
17.2 Definition, Acronyms & Abbreviations
17.3 Functions Used for the Implementation of
Algorithms
17.3 Error List
17.4 Limitations
18 Conclusion
19. References 112-113
19.1 Bibliography
Page | 5
1.INTRODUCTION
The Online Cab Web site is the application that provides customers with online
cab booking. Through a Web browser, a customer can browse the catalog, cab for
booking , create and sign in to a user account, and booking the cab online.
High-level design features, this document goes deeper into the implementation
details of the current application release.
Page | 6
2.OBJECTIVES & SCOPE OF THE PROJECT
This is a web based application through which we can book online cab in
metro cities.
Usea r can also view his/her booking details after booking Cab.
3.THEORETICAL BACKGROUND
The primary goal of this project to analysis the scope of project. So all of
first it finds that application must be beneficial in metro cities. So in initial stage it
is developed for selected metro cities.Thus all possibilities are mentioned such as
Timing ,location and land mark to reach to customer.
Basically project is not so huge ,due to reason it is not divided in modules.
Simply user can register or can be a guest user.
4.PROBLEM DEFINITION
PROBLEM STATEMENT:
ONLINE CAB SERVICE is an online facility by which user/doctor can book cab
in selected metro cities. User can be Registered user or Guest user.
Page | 7
This software provides very flexible rules to book cab online. User can
register and update his profile.
User can book from any location but cab facilities is provided in selected
cities.
5. BENEFITS TO USER
Page | 8
6. SYSTEM ANALYSIS
Gause and Weinberg suggest that the analyst start by asking CONTEXT-
FREE QUESTIONS. That is, a set of questions that will lead to a basic
understanding of the problem, the people who want a solution, the nature of the
solution that is desired, and the effectiveness of the first encounter itself.
Page | 9
6.1Design Pattern:
This software based on concept of the Model View Controller (MVC) design
pattern.
View renders the data from the Model in response to the request made to the
model by controlled events made by user interaction.
6.2 VIEW:
View is the graphical data presentation (outputting) irrespective of the real data
processing. View is the responsible for look and feel, some custom formatting,
sorting etc. View is completely isolated from actual complex data operations. For
example, Online product catalog view is completely separated from database
connection, query, tables etc. It simply gets final row-data from the model and puts
some cosmetics and formatting before displaying it in browser. View provides
interface to interact with the system. The beauty of MVC approach is that it
supports any kind of view, which is challenging in today’s distributed and multi-
platform environment.
A MVC model can have multiple views, which are controlled by controller. View
interface can be of WEB-FORMS, HTML, XML/XSLT, XTML, and WML or can
be Windows forms etc.
6.3 MODEL:
Page | 10
Model is responsible for actual data processing, like database connection, querying
database, implementing business rules etc. It feeds data to the view without
worrying about the actual formatting and look and feel. Data provided by Model is
display-neutral so it can be interfaced with as many views without code
redundancy; this eases your code maintenance and reduces bugs and allows code
-reuse at good extent. Model responds to the request made by controllers and
notifies the registered views to update their display with new data.
CONTROLLER:
Page | 11
Controller is responsible for Notice of action. Controller responds to the mouse or
keyboard input to command model and view to change. Controllers are associated
with views.
User interaction triggers the events to change the model, which in turn calls some
methods of model to update its state to notify other registered views to refresh their
display.
Benefits:
Following are the few of the benefits of MVC design pattern.
Since MVC handles the multiple views using the same enterprise model it is
easier to maintain, test and upgrade the multiple system.
It will be easier to add new clients just by adding their views and controllers.
Since the Model is completely decoupled from view it allows lot of
flexibilities to design and implement the model considering reusability and
modularity. This model also can be extended for further distributed
application.
It is possible to have development process in parallel for model, view and
controller.
Modules
The Online Insight Education Library project is divided into three modules
or application systems. They are:
Function
Page | 12
Function of this module is to generate and print the health card for the person. It
will display a set of information related to a person regarding.
Action module
Function:
This module will also produce different kinds of reports and analyses for the
scientists/planners/ so as to enable them for better decision making.
When a user runs a specific process the tables updated by that process shall
be “opened” for the duration of the session only. The reason is that with
open database connectivity users can access the database using spreadsheets,
internet tools etc. which may lead to inadvertent change of the data.
Page | 13
6.4 EXTERNAL INTERFACE REQUIREMENTS
The time and user effort necessary to initiate and execute different
commands is minimal.
The users can seek guidance and online help when they either forget a
command or are unaware of some features of the software.
Page | 14
6.5 DESIGN CONSTRAINTS
SOFTWARE CONSTRAINTS
HARDWARE CONSTRAINTS
Feasibility study is conducted to select the best system that meets the
performance requirements. This entails an identification, description, and
evaluation of the candidate system, and the section of the best system for the job.
Many feasibility studies are disillusioning for both user and analyst. First the
study often pre-supposes that when feasibility of the documents is being
Page | 15
prepared, the analysis is in position to evaluate solutions. Second most studies
tend to overlook the confusion inherent in the system development … the
constraints and the assumed attitudes. If the feasibility study is to serve as
decision document, it must answer three key questions: -
* Is there new and better way to do a job that will benefit the user?
* What are the cost and saving of the alternatives?
* What is recommended?
The most successful system projects are not necessary or most visible in
business but rather those that truly need user expectations. More projects failed
because of inflated expectations than for any other reasons …
6.7.1 TECHNICAL
Technical feasibility centers on the current system and to what extent it can
support the proposed system, it includes current computer system specifications
such as hardware, software etc. it also involves financial considerations to
accommodate the technical enhancements. If the budget is serious constraint
then the project is judged not feasible.
Though the system is developed in the generalized form, which covers all the
procedures and operations carried out in any manual library management system.
The version used in the system is ASP.Net and MS-SqlServer.
Page | 16
The features embedded in the system are latest and according to the need of the
client. Such as the online entry for the complains about h/w and s/w. The
backend used is the latest MicroSoft SQL Server version, which also supports
to view the database contents, relationship with the connected database including
the primary, foreign key. Any up gradations needed can be easily made in the
source code, thus decreasing the headache of changing each and every code. If in
near future, the latest version of ASP.Net/ MS-SQL Server to be installed then ,
the source code handling the connection of the database can easily be modified.
The codes are easily compatible for the changes, as the latest version doesn't
affect the core code.
MS-SQL Server can manage large amount of data and is simple and secure.
Using ASP.NET helps us to design the look of our application and its windows.
6.7.2 BEHAVIORAL
The routine operations that are handled manually in the organization take much
time in processing. It is very cumbersome job to search about any specific
hardware component status, details about the complains of particular date, lab
wise details from the huge records of complains. The manual maintenance of
the records may kill the time of the Administrator.
So to ease the processing time, which basically includes the complain list and
generating the reports etc. this system provides all these features at just the click
of the mouse/pressing of the keys. So it's now the job of this system to handle the
operations. The system is capable of handling bulk of records easily. Although, it
is compatible to the changes, which might occur, needed for the better and fast
services. The facilities provided are knowledge of handling the computer system.
6.6.3 ECONOMICAL
Economic analysis is the most frequently used method for evaluating the
candidate system. More commonly known as cost of Benefit Analysis, the
procedure is to determine the benefits and savings that are expected from the
candidate system and compare them with the costs. If benefit outweighs the cost
then the decision is made to design and implementation otherwise further
justification or alterations are made in the proposed system.
Page | 18
This project doesn't have many hardware requirements, thus, it requires less
costing to install the software on the whole.
Though, from the point of economy, the manual handling of the hardware
component is much cheaper and best as compared to computerized systems. This
approach normally works very well in any ordinary organization . The major
problem starts when the no. of hardware components are starts growing with a
time. Manual system needs various registers/books to maintain the daily
complain entry, hardware entry done. In case of any misplacement of hardware
component, the concerned registers have to be searched for the verification of
identifying the status of that component . It is very cumbersome job to maintain
all these manually. So it is very easy to maintain all these in the proposed
system.
COST ANALYSIS-
Page | 19
Cost of the maintenance of the proposed system is negligible.
OPERATIONAL FESIBILITY
In this we determine what change will be brought in system, new skills required
and other human organization and political aspects.
Non-Programmers can easily uses our software. However it is desirable that the
user has the basic knowledge of the computers.
Without making any changes in the rules and regulations of the existing system
proposed system can easily adopted.
LEGAL FEASIBILITY-
Our Project does not infringe with known acts, status or any pending legislation.
Hence
it is legally feasible.
SOCIAL FEASIBILITY-
Since, the proposed system is inexpensive, easy to install, reduces human errors, fast
and simple, hence socially accepted by all organization and institutes being
Page | 20
directly affected by it.
7. SYSTEM PLANNING
Introduction:
Software project managers take the overall responsibility of
steering a project to success. This surely is a very hazy job description.But, it is
very difficult to objectively describe the job responsibilities of a project manager.
Page | 21
Application software
#ANALYSIS
*CONCEPTION
-CONCEPTION INITIATION
-COMMUNICATION WITH EXPERTS TO
UNDERSTAND REQUIREMENTS
*REQUIREMENT ANALYSIS
-DATA ANALYSIS
~PERSISTENCY REQUIREMENT
Page | 22
-PERFORMANCE ANALYSIS
~LOAD REQUIREMENT
~RESPONSE TIME REQUIREMENT
#DESIGN
*OVERALL DESIGN
*ARCHITECTURAL DESIGN
-DATA ANALYSIS
-MODULE DECOMPOSITION
-PROCESS DESIGN
-PROCESS INTERFACE DESIGN
*DETAIL DESIGN
-UNIT DESIGN
-MODULE DESIGN
-MECHANISMS DESIGN
-FUNCTIONAL DESIGNS
-SUBSYSTEM DESIGN
-INTERFACE DESIGN
-DFD PREPARATION
-MODULE INTERACTION DIAGRAMS PREPARATION
-FLOWCHART PREPARATION
-HIERARCHICAL STRUCTURE CHART PREPARATION
#CODING
-MODULE PREPARATION
-MODULE IMPLEMENTATION
-UTILITIES DEVELOPMENT
-NAMESPACE ORGANIZATION
Page | 23
-CODING THE FUNCTIONS
-IMPLEMENTATION OF MECHANISMS
-USER INTERACTION DEVELOPMENT
-WORKFLOWS DEVELOPMENT
-DEVELOPMENT OF TESTING PROGRAMS
#TESTING
#DEPLOYMENT
-EXECUTABLE CREATION
-SET UP CREATION
-DEPLOYMENT TO STORAGE MEDIA
#DOCUMENTATION
Page | 24
7.2 PERT CHART
PERT shows precedence relationships among the tasks and various stages of a project.
By the helps of PERT chart, a project manager can identify the activities and the
amount of time they require, show their interrelationships, specify their sequence, and
have a meant of monitoring progress on the project.
PERT makes use of tasks. Like milestone charts, it shows achievements. These
achievements however are not task achievements. They are terminal achievements,
called EVENTS.
The circles represent the beginning or completion of a task. The nodes at the network
( also referred as events ) establish the relationship among the different activities of the
project. The rules are available for construction networks:
1. Each activity is represented by one and only One arrow in the network.
2. Each action must be identifying by two distinct nodes.
This is the table of ‘Activity’ and it’s estimated time duration, which are used to
accomplish the project “TOTALHEALTH.CO.IN.
5
E 8
A B C D F G I J
1 2 3 4 6 8 9 1 1
0 1
15 12 8 10 10 10 10
15
H7
8. Methodology Adopted
8.1 INTRODUCTION
product undergoes during its lifetime. The first stage in the life Cycle of any
Page | 26
software product is usually the feasibility study stage.
Each of these stages is called a life cycle Phase. A life cycle model represents all
the activities required to make a software product transit through its life cycle
phases. It also captures the order in which these activities are to be undertaken. The
most strict life cycle model used is the Classical Life Cycle Model. However, in
any practical software development work, it is not possible to strictly follow the
classical waterfall model from every phase to its preceding phases.
Page | 27
Structured system analysis techniques had been adopted for the analysis of
the algorithm and software development.
Structured system design techniques had been adopted for the design of the
algorithm and software development.
Prototyping model for initial implementation had been used for early testing
and module development.
Prototyping model had been used for the development of the Graphical User
Interface.
Incremental Model had been used for the development of the software.
Structured development life cycle had been used for this project.
Test plan was created to form the strategy of testing. This includes the
decision of testing techniques, decision of testing tools, and decision of
milestones when the testing will commence.
Structured system analysis techniques are used for the analysis of algorithm
and development.
Page | 28
Fact-finding: facts about the algorithm are collected from the books and
Internet.
DFDs and flowchart are used to model the algorithm and logic design.
Layering has been done to refine the architecture. Initially, two layers are
introduced, system layer and application layer.
The basic philosophy followed at this stage:” code one line followed by
rigorous testing”.
Incremental compilation had been used to compile and test on which work
was in progress.
Structured testing tools had been used for testing the programs.
Page | 30
The group had done Alpha testing.
9. SYSTEM IMPLEMENTATION
Page | 31
Operating System : Windows 2000XP/Windows 2000 NT
RDBMS : Sql Server 2005
Front End : Microsoft Visual Studio.NET with C#
Web Forms permits us to build powerful forms-based Web pages. When building
these pages, we can use Web Forms controls to create common UI elements and
program them for common tasks. These controls permit us to rapidly build up a
WebForm.
Page | 32
Advantages of ASP.NET
The .NET Framework comprises over 3,400 classes that we can employ in our
ASP.NET applications. We can use the classes in the .NET Framework to develop
any type of applications. Since ASP.NET is part of the .NET Framework, we can
do all these things from within an ASP.NET page. While ASP Classic pages are
formed with scripting languages such as VBScript and JavaScript. ASP.NET pages
are formed with full-blown programming languages such as Visual Basic and C#.
And whereas there are five
standard objects accessible in the ASP Classic Framework (the Request, Response,
Application, Session, and Server objects), there are over 3,400 standard objects in
the .NET Framework that we can use in an ASP.NET page.
XML-Based
ASP.NET configuration settings are stored in XML-based files, which are human
readable and writable. Each one of our applications can have a different
configuration file and we can extend the configuration scheme according to our
necessities.
Page | 33
Code-Behind logic
The main problem with ASP Classic pages is that an *.asp page does not yield
modularized code. Both HTML and Script are present in a single page. But
Microsoft's ASP.NET implementation contains a new-fangled method to break up
business logic code from presentation code. Each ASPX created in Visual Studio
has an equivalent class written in a .NET compliant language such as C#. This
class consists of event handlers, initialization code and other supporting code for
the user interface in the ASPX file. The C# file that hold this class is called the
code-behind file and affords the ASPX file's programmatic implementation.
interrelated data. The collection of data must be logically coherent with some
inherent meaning. A database is designed and built for a specific purpose, keeping
in mind the needs of the applications that are going to use it and end users of those
system (DBMS).
A DBMS is a software system that enables users to record and maintain database.
It provides an environment where in data can be stored and retrieved from database
Page | 34
easily and must efficiently. The data can be any thing that is deemed to be of
9.5 SQL-SERVER
Have been the workhouse for data management operation for over a decade
and continue to evolve and mature, providing sophisticated storage, retrieval and
distribution function to enterprise – wide data processing and management system
compared to the file system, RDBMS provides organization with capability to
easily integrate and leverage the massive amount of operational data into
meaningful data.
Page | 35
account, each of which is identified by username and password unique to the
database. Tables and objects are owned one by one of these. SQL Server maintains
its own list of authorized user and their associated privileged, manages memory
cache paging; control locking for concurrent resource usage; dispatch and
schedules users request ; manages space usage within its table space structure.
SQL Files
There are major three sets of files on the disk that compose
database: 1) Database File 2) Control File 3) Redo Files
The most common is the database files where the data resides. The control and the
redo logs support the functioning of the architecture itself. All of these sets of files
be present, open and available to SQL Server for any data on database to be usable
all these files are binary files.
Memory
SQL Server uses the memory of the system to turn the user process
and to cache data objects. There are major areas used by SQL Server : memory that
is shared by all process against the data and the database memory that is local to
each individual user process.
System Memory
Page | 36
SQL Server database wide system memory is known as the SGA
(System Global SQL Shared Area). The data and control structures in SGA are
sharable and all SQL Server background process uses them.
Page | 37
software are designed in such away that they dynamically update on addition of
new and revised modules. To append new features in this software, the databases
for student details, examination details are sufficient enough for the task. Thus the
software is capable enough of being enhanced easily whenever requires by the
user.
Intangible Benefits
Page | 38
o Recurring Cost= Rs. 800 per month
o Net Benefit per Month= Rs. 9200
o Total Cost= Rs. 20, 000
INTRODUCTION
Page | 39
The DFD also known as the Bubble Chart is a simple graphical formalism that
can be used to represent a system in terms of the input data to the system. Various
processing carried out on these data, and the output data generated by the system.
The main reason why the DFD technique is so popular is probably because of the
fact that DFD is a very simple formalism-it is simple to understand and use. A
DFD uses a very limited number of primitive symbols to represent the functions
performed by a system and the data flow among these functions. Starting with a set
of high-level functions that a system performs, a DFD model hierarchically
represents various sub functions. The five different types of primitive symbols used
for constructing DFDs are:
SYMBOLS USED:
PROCESS:
EXTERNAL ENTITY:
Page | 40
An external entity such as a librarian, a library member, etc. is
represented by a rectangle. The external entities are essentially those
physical entities external to the software system that interact with the
system by inputting data to the system or by consuming the data
produced by the system. In addition to the human users, the external
entity symbols can be used to represent external hardware and software
such as application software.
DATA FLOW:
DATA STORE:
Page | 41
A data store represents a logical file. It is represented using two parallel
lines. A logical file can represent either a data store symbol, which can
represent either a data structure, or a physical file on disk. Each data
store is connected to a process by means of a data flow symbol. The
direction of the data flow arrow shows whether data is being read from
or written into a data store. A arrow flowing in or out of a data store
implicitly represents the entire data of the data store and hence
connecting to a data store need not be annotated with the name of the
corresponding data items.
OUTPUT SYMBOL:
The output symbol is used when a hard copy is produced and the user of
the copies cannot be clearly specified or there are several users of the
output.
CONTEXT DIAGRAM
Page | 42
Figgure 1: 0 Lavel
DFD
Admin
User
Get
Get Response Response
Login/Registration
Login
Page | 43
FIRST LEVEL DFD
LEVEL–1 DFD :
Figgure :1 Lavel
DFD
User
Booking Cab
ENTRY FORM
PERSON DETAILS FORM
BLOOD TEST DETAILS
URINE TEST DETAILS
OTHER TEST DETAILS
VIEW
PERSON TEST DETAILS
REPORTS
PERSON BLOOD DETAILS
PERSON URINE DETAILS
STATEWISE REPORT
PERSON GROWTH CHART
REPORT
BLOOD GROUP REPORT
HIV STATUS REPORT
RHS STATUS REPORT
PERSON BLOOD GRAPH
REPORT
PERSON URINE GRAPH
REPORT
REGISTRATI
ON
HOSPITAL REGISTRATION
FORM
ADVERTISE
MENT
ADD ADVERTISEMENT
FORM
Page | 45
DISPLAY
ADVERTISEMENT FORM
Page | 46
Booking Page.aspx
Page | 47
MycabBooking.aspx
Page | 48
NewBooking.aspx(Reg
ister User)
Page | 49
Confirm.Aspx
Page | 50
UpdateProfile.Aspx
Page | 51
GestConfirm.Aspx
Page | 52
13. Process Involved
LOGIN PROCESS :
START
Input User ID
NO
If
ID
is correct
YES
Generate Output
Page | 53
STOP
START
NO If
No service Serach
avialbe
Found
YES
Display Coresponding
Details
STOP
Page | 54
14. Test Reports
TESTING METHODOLOGY
Test plan has been created to guide the overall testing process.
Black box testing has been used to test the functionality of each module.
ASP.Net debugger has been used as a tool to black box test functional
behavior of module.
ASP.Net debugger has also been used for white box testing by comparing
step-by-step execution against white box cases.
T E S T C A S E -1
TEST NO. :1
Page | 55
INPUT : PASSWORD
T E S T C A S E -2
TEST NO. :2
T E S T C A S E -3
TEST NO. :3
Page | 56
INPUT : TELEPHONE NO., MOBILE NO, ETC.
Page | 57
17. Coding
Login.Aspx.Cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Com.Health.Application;
using Com.Health.DataBase;
using Com.Health.Security;
using Com.Health.Ui;
Page | 58
{
ck.Value = pwd.Text;
ck.Expires = DateTime.Now.AddDays(+2);
Response.Cookies.Add(ck);
ck1.Value = obj.GetRole.ToLower().Trim();
ck1.Expires = DateTime.Now.AddDays(+2);
Response.Cookies.Add(ck1);
Response.Redirect("Person_Detail_Page.aspx");
}
else if ((obj.GetRole.ToLower().Trim() == "admin"))
{
ck1.Value = obj.GetRole.ToLower().Trim();
ck1.Expires = DateTime.Now.AddDays(+2);
Response.Cookies.Add(ck1);
Response.Redirect("Admin_Page.aspx");
}
Page | 59
protected void l2_Click(object sender, EventArgs e)
{
Response.Redirect("contact.aspx");
}
Login.Aspx.Cs(Source)
</tr>
</tbody>
</table>
<table border="1">
<tr>
<td style="height:294px; width:597px;background-color:#FFFBD6;"
align="center">
<asp:AdRotator ID="AdRotator2" runat="server" Style="left: 54px; position:
absolute; top: 445px" DataSourceID="SqlDataSource1"
OnAdCreated="AdRotator2_AdCreated" />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:health_infoConnectionString5 %>"
SelectCommand="SELECT [ImageUrl], [Width], [Height], [NavigateUrl],
[AlternateText], [Impression] FROM [Add_Details] WHERE ([keyword] =
@keyword)">
<SelectParameters>
<asp:Parameter DefaultValue="Inner Box Banner On Home Page"
Name="keyword" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
<td style="height:294px;width:547px;" valign="top">
<img src="pic/mainhome_top.jpg" alt="emblem" />
<marquee scrollAmount="2" scrollDelay="50" valign="top" direction="up"
style="height:250px; width: 547px;" align="justify"><FONT face="Times New
Roman"
size="3"><p>  
;<B>W</B>elcome
Page | 62
to the <FONT color=teal>TOTAL Health Care Services.</FONT> This
website
will be your gateway to a wealth of information regarding the Health
Indicators of India. The information available on this website is being
compiled from varied information sources such as National Family Health
Survey (NFHS), District Level Household Survey (DLHS), Census, SRS and
performance statistics. </p>
<P>The aim to develop this website is to
capture all kinds of information related to health and socio-economic data
associated with location wise so that these inputs can further be used to
decide about the effectiveness of the recommendations given to the person.
This module will also produce different kinds of reports and analyses for
the scientists / planners / doctor so as to enable them for better
decision making. </P></FONT></marquee>
</td>
<td style="height:294px; width:350px; background-color: #fffbd6;">
<table align="center" border="0">
<tr>
<td colspan="3">
<img src="pic/welcome.gif" alt="WELCOME" />
</td></tr>
<tr>
<td rowspan="3"><img src="pic/wokinglady.gif" alt="Login" /></td>
<td><asp:Label runat="server" id="user_name" Text="User Name"
Style="width:100px"></asp:Label></td>
<td><asp:TextBox runat="server" ID="user" Text=" UserName"
Style="width:150px" ></asp:TextBox></td></tr>
<tr>
<td><asp:Label runat="server" id="password" Text="Password"
Width="67px"></asp:Label></td>
<td><asp:TextBox runat="server" ID="pwd" Text="............"
TextMode="Password" Style="width:150px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" align="center" style="height: 30px">
<asp:Button runat="server" ID="sign_in" Text="SignIn"
OnClick="sign_in_Click" /> </td>
</tr>
<tr>
<td colspan="3" align="center" style="height: 94px" >
Page | 63
<marquee behavior="alternate"> <img src="pic/thumbnail[47].jpg"
style="width:350px" alt="image"/></marquee></td></tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" style="height:200px; width:1200px; background-
color:#FFFBD6;" align="center">
<asp:AdRotator ID="add3" runat="server" DataSourceID="DownAdd"
Height="43px" Width="114px" />
<asp:SqlDataSource ID="DownAdd" runat="server" ConnectionString="<%$
ConnectionStrings:health_infoConnectionString4 %>"
SelectCommand="SELECT [ImageUrl], [Width], [Height], [NavigateUrl],
[AlternateText], [Impression] FROM [Add_Details] WHERE ([keyword] =
@keyword)">
<SelectParameters>
<asp:Parameter DefaultValue="Down Box Banner On Home Page"
Name="keyword" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="CENTER" style="background-color:#fffbd6" colspan="3">
<asp:LinkButton ID="l1" runat="server" BackColor="#fffbd6"
Text="HOME" OnClick="l1_Click"></asp:LinkButton> |
<asp:LinkButton ID="l2" runat="server" Text="CONTACT US"
OnClick="l2_Click" ></asp:LinkButton> |
<input type="button" name="l3" onclick="back()" value="Back"
id="Button1">
</td></tr>
<tr>
<td align="center" colspan="3" style="background-color: #fffbd6">
<img src="pic/wave.gif" alt="wave" /></td></tr>
<tr>
<td colspan="3" align="center" style="background-color: #fffbd6">
@copyright reserved by "Ducat Academy"</td></tr>
</table>
</div>
Page | 64
</form>
</body>
</html>
Add_Page.Aspx.Cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Com.Health.Application;
using Com.Health.DataBase;
using Com.Health.Security;
using Com.Health.Ui;
using System.Windows.Forms;
DialogResult d;
protected void addbtn_Click(object sender, EventArgs e)
{
d=MessageBox.Show("Are you sure to upload this add
now:","Confirm",MessageBoxButtons.OKCancel,MessageBoxIcon.Infor
mation);
if (d==System.Windows.Forms.DialogResult.OK)
{
Page | 65
string s = null;
s = Server.MapPath("add_pics");
s = s + "/" + fileup.FileName;
fileup.SaveAs(s);
s = "add_pics/" + fileup.FileName;
string query = "insert into Add_Details values ('" + s + "', " + ad_width.Text
+ "," + ad_height.Text + ",'" + navigate_url.Text + "','" + alt_text.Text + "','"
+ add_place.SelectedItem + "'," + impression.Text + ",'" +
DateTime.Now.ToShortDateString() + "')";
Com.Health.DataBase.Connection con =
Com.Health.DataBase.ConnectionPool.getConnection();
int i=con.ExecuteNonQuery(query);
Com.Health.DataBase.ConnectionPool.Free(con);
if (i > 0)
{
MessageBox.Show("Your Addvertisement has been uploaded
successfully", "Add", MessageBoxButtons.OKCancel);
clear();
}
}
else
{
clear();
}
}
Page | 66
if ((add_place.SelectedItem.Value == "TBBOHP") ||
(add_place.SelectedItem.Value == "DBBOHP"))
{
ad_width.Text = "1200";
ad_height.Text = "200"
}
else if (add_place.SelectedItem.Value == "IBBOHP")
{
ad_width.Text = "400";
ad_height.Text = "294";
}
else if (add_place.SelectedItem.Value == "IBBOPDP")
{
ad_width.Text = "200";
ad_height.Text = "180";
}
else if(add_place.SelectedItem.Value=="TBBOPDP")
{
ad_width.Text = "200";
ad_height.Text = "180";
}
}
<tr>
<td style="height:180px; width:213px"><img src="pic/pillspic.jpg"alt="pills"
style="width:213px; height:180px"/>
</td>
<td style="height:180px; width:2000px"><img src="pic/topbanner.jpg"
alt="topbanner" style="width: 995px; height: 177px"/>
</td>
</tr>
</table>
<table>
<tr>
<td style="width:300px; height:600px; background:#FFFBD6;" >
</td>
<td style="width:1146px; height:458px">
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Arial"
Font-Overline="True"
Font-Size="Larger" Font-Underline="True" ForeColor="Teal"
Height="26px" Style="z-index: 100;
left: 269px; position: absolute; top: 259px" Text="Advertisement
Entry Form"
Width="392px"></asp:Label>
<table align="center" border="4" style="background-
color:PaleTurquoise;border-color:DeepSkyBlue;">
<tr>
<td style="width:314px; height:50px" align="left"><asp:Label ID="add"
runat="server" Text="Advertisement Placement" style="width:400px;
height:400px" Font-Size="Larger" Font-Names="Arial" ></asp:Label></td>
<td style="width:350px; height:50px" align="left" >
<asp:DropDownList ID="add_place" runat="server" Width="204px"
OnSelectedIndexChanged="add_place_SelectedIndexChanged"
AutoPostBack="True">
<asp:ListItem Value="TBBOHP">Top Box Banner On Home
Page</asp:ListItem>
<asp:ListItem Value="DBBOHP">Down Box Banner On Home
Page</asp:ListItem>
<asp:ListItem Value="IBBOHP">Inner Box Banner On Home
Page</asp:ListItem>
<asp:ListItem Value="TBBOPDP">Top Box Banner On Person Details
Page</asp:ListItem>
<asp:ListItem Value="IBBOPDP">Inner Box Banner On Person Details
Page</asp:ListItem>
</asp:DropDownList> </td></tr>
<tr>
Page | 71
<td style="width:314px; height:50px" align="left"><asp:Label ID="width"
runat="server" Text="Advertisement Width" Font-Size="Larger" Font-
Names="Arial" ></asp:Label></td>
<td style="width:350px; height:50px" align="left"><asp:TextBox
ID="ad_width" runat="server" Width="201px"></asp:TextBox> </td></tr>
<tr>
<td style="width:314px; height:50px" align="left"><asp:Label ID="height"
runat="server" Text="Advertisement Height" Font-Size="Larger" Font-
Names="Arial"></asp:Label></td>
<td style="width:350px; height:50px" align="left"><asp:TextBox
ID="ad_height" runat="server" Width="203px"></asp:TextBox> </td></tr>
<tr>
<td style="width:314px; height:50px" align="left"><asp:Label ID="img"
runat="server" Text="Advertisement Image" Font-Size="Larger" Font-
Names="Arial"></asp:Label></td>
<td style="width:350px; height:50px" align="left"><asp:FileUpload
ID="fileup" runat="server" Width="292px" /> </td></tr>
<tr>
<td style="width:314px; height:50px" align="left"><asp:Label ID="nurl"
runat="server" Text="Navigate Url Of The Advertisement" Width="293px" Font-
Size="Larger" Font-Names="Arial"></asp:Label></td>
<td style="width:350px; height:50px" align="left"><asp:TextBox
ID="navigate_url" runat="server" Width="203px"></asp:TextBox> </td></tr>
<tr>
<td style="width:314px; height:50px" align="left"><asp:Label ID="atxt"
runat="server" Text="Alternate Text Of The Advertisement" Font-Size="Larger"
Font-Names="Arial"></asp:Label></td>
<td style="width:350px; height:50px" align="left"><asp:TextBox ID="alt_text"
runat="server" Width="203px"></asp:TextBox> </td></tr>
<tr>
<td style="width:314px; height:56px" align="left"><asp:Label ID="imp"
runat="server" Text="Impression Of The Advertisement" Font-Size="Larger"
Font-Names="Arial"></asp:Label></td>
<td style="width:350px; height:56px" align="left"><asp:TextBox
ID="impression" runat="server" Width="201px"></asp:TextBox> </td></tr>
<tr>
<td colspan="2" style="width:200px; border-color:DeepSkyBlue; height:68px"
align="right" ><asp:Button ID="addbtn" runat="server" Text="Add
Advertisement" OnClick="addbtn_Click" /></td></tr>
Page | 72
</table>
</td>
</tr>
<tr><td align="CENTER" colspan="2" style="background-color:#fffbd6">
<asp:LinkButton ID="l1" runat="server" BackColor="#fffbd6"
Text="HOME" OnClick="l1_Click" ></asp:LinkButton> |
<asp:LinkButton ID="l2" runat="server" Text="CONTACT US"
OnClick="l2_Click" ></asp:LinkButton> |
<asp:LinkButton ID="l3" runat="server" Text="BACK"
OnClientClick="back()"></asp:LinkButton>
</td></tr>
<tr>
<td colspan="2" align="center" style="background-color:#FFFBD6;"><img
src="pic/wave.gif" alt="Created By"/>
</td></tr>
<tr>
<td colspan="2" align="center" style="background-
color:#FFFBD6;">@copyright 2009 reserved by "Ducat Academy"</td></tr>
</table>
</div>
</form>
</body>
</html>
Page | 73
Add_Details.Aspx.Cs(Source)
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Add_Detail.aspx.cs" Inherits="Add_Detail" %>
<table>
<tr>
<td><img src="pic/light.gif" alt="light" style="width:250px; height:150px"/>
</td>
<td style="width:900px; height:150px"><img src="pic/healthcare-software.jpg"
alt="Health Care" style="width:950px; height:150px"/>
</td>
</tr>
</table>
<table border="2" cellpadding="0" cellspacing="0">
<asp:Repeater ID="Repeater1" runat="server"
OnItemCommand="Repeater1_ItemCommand">
<HeaderTemplate>
<thead class="tableHeader" >
<tr>
<th>
</th>
<th>
Id
</th>
<th>
Page | 74
Image
</th>
<th>
Width
</th>
<th>
Height
</th>
<th>
Navigate Url
</th>
<th>
Alternate Text
</th>
<th>
Keyword
</th>
<th>
Impression
</th>
<th>
Addition Date
</th>
</tr>
</thead>
</HeaderTemplate>
<ItemTemplate>
<tr class="tableCellNormal">
<td >
<asp:LinkButton ID="l1" runat="server" Text="Delete"
CommandName="del"></asp:LinkButton></td>
<td style="left:50px">
<asp:TextBox runat="server" ID="txt1" Text='<%#Eval("id") %>'
ReadOnly="true" BorderWidth="0"></asp:TextBox>
</td>
<td>
Page | 75
<asp:Image runat="server" ID="txt2" ImageUrl ='<%# Eval("ImageUrl")
%>' BorderWidth="0" />
</td>
<td>
<asp:TextBox runat="server" ID="txt3" Text='<%# Eval("width")%>'
ReadOnly="true" BorderWidth="0"></asp:TextBox>
</td>
<td>
<asp:TextBox runat="server" ID="txt4" Text='<%# Eval("height")%>'
ReadOnly="true" BorderWidth="0"></asp:TextBox>
</td>
<td>
<asp:TextBox runat="server" ID="txt5" Text='<%# Eval("navigateurl")%>'
ReadOnly="true" BorderWidth="0" ></asp:TextBox>
</td>
<td>
<asp:TextBox runat="server" ID="txt6" Text='<%# Eval("alternatetext")%>'
ReadOnly="true" BorderWidth="0"></asp:TextBox>
</td>
<td>
<asp:TextBox runat="server" ID="txt7" Text='<%# Eval("keyword")%>'
ReadOnly="true" BorderWidth="0"></asp:TextBox>
</td>
<td>
<asp:TextBox runat="server" ID="txt8" Text='<%# Eval("impression")%>'
ReadOnly="true" BorderWidth="0"></asp:TextBox>
</td>
<td>
<asp:TextBox runat="server" ID="txt9" Text='<%#Eval("additiondate")%>'
ReadOnly="true" BorderWidth="0" ></asp:TextBox>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</form>
</body>
Page | 76
</html>
Admin_Page.Aspx.Cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Windows.Forms;
using Com.Health.Application;
using Com.Health.DataBase;
using Com.Health.Security;
using Com.Health.Ui;
Page | 77
}
else
{
Response.Redirect("Person_Detail_Page.aspx?a=" + t1.Text);
}
}
}
protected void l1_Click(object sender, EventArgs e)
{
WebFactory.LogOut(Session.SessionID);
Response.Redirect("home.aspx");
}
protected void l2_Click(object sender, EventArgs e)
{
Response.Redirect("contact.aspx");
}
protected void lk1_Click(object sender, EventArgs e)
{
WebFactory.LogOut(Session.SessionID);
Response.Redirect("home.aspx");
}
}
Page | 78
Admin_Page.Aspx.Cs(Source)
<tr>
<td style="height:180px; width:220px"><img src="pic/pillspic.jpg"alt="pills"
style="width:220px; height:180px"/>
</td>
<td style="height:180px; width:995px"><img src="pic/topbanner.jpg"
alt="topbanner" style="width: 995px; height: 177px"/>
</td>
</tr>
</table>
<table>
<tr>
<td rowspan="3" style="width:220px; height:600px; background:#FFFBD6;" >
Page | 80
<asp:MenuItem NavigateUrl="~/Urine_Entry.aspx" Text="Urine Test
Form" Value="UTF">
</asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Gen_Details_Entry.aspx"
Text="Other Test Form" Value="OTF">
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="View" Value="View">
<asp:MenuItem Text="Person Test Details"
Value="PTD"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Reports" Value="Other Test Details">
<asp:MenuItem Text="Person Blood Report"
Value="PBR"></asp:MenuItem>
<asp:MenuItem Text="Person Urine Report"
Value="PUR"></asp:MenuItem>
<asp:MenuItem Text="Statewise Report"
Value="SR"></asp:MenuItem>
<asp:MenuItem Text="Person Growth Chart Report"
Value="PGCR"></asp:MenuItem>
<asp:MenuItem Text="Blood Group Report"
Value="BGR"></asp:MenuItem>
<asp:MenuItem Text="HIV Status Report"
Value="HSR"></asp:MenuItem>
<asp:MenuItem Text="RHS Status Report"
Value="RSR"></asp:MenuItem>
<asp:MenuItem Text="Person Blood Graph"
Value="PBG"></asp:MenuItem>
<asp:MenuItem Text="Person Urine Graph"
Value="PUG"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Hospital Registration" Value="HR">
<asp:MenuItem Text="Hospital Registration form" Value="HRF"
NavigateUrl="~/Hos_reg.aspx"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Advertisement" Value="Add">
<asp:MenuItem Text="Add Advertisement Form" Value="AAF"
NavigateUrl="~/Add_Page.aspx"></asp:MenuItem>
<asp:MenuItem Text="Display Advertisement Form" Value="DAF"
NavigateUrl="~/Add_Detail.aspx"></asp:MenuItem>
Page | 81
</asp:MenuItem>
</Items>
<StaticHoverStyle BackColor="#990000" ForeColor="White" />
<StaticMenuStyle BorderStyle="None" />
</asp:Menu>
</td>
<td rowspan="3" style="width:780px; height:600px;" >
<asp:Label ID="l1" Text="Enter Voter Id :" runat="server" Visible="False"
style="position:absolute; left:300px; top:403px;" Font-Size="Larger"
Width="139px"></asp:Label><asp:TextBox ID="t1" Text="" runat="server"
Visible="false" style="position:absolute; left:500px; top:400px" ></asp:TextBox>
<asp:Button ID="b1" Text="Go" runat="server" Visible="false"
Style="position:absolute; left:700px;top:400px; width:60px" Font-Size="Larger"
OnClick="b1_Click1" />
</td>
<td style="width:220px; height:13px; text-align:left; background-
color:#fffbd6">
<font size="5"> Latest Events</font></td></tr>
<tr>
<td style="width:220px; height:120px; background-color:#fffbd6"
valign="top">
<marquee scrollamount="2" scrolldelay="200" direction="up" style="height:
280px"><font size="3">This website is a gateway
to a wealth of information regarding the Health Indicators of India. The
information available on this website has been compiled from various
sources. <br />
<br />
A Health Care System is an online facility by which
user/doctor can view the diagnose information of a person related to
his/her health for better analyzed medicine and medical treatments. <br/><br />
</font></marquee>
</td>
</tr>
<tr>
<td style="width:220px; height:250px; background-color:#fffbd6"
align="center" valign="top">
<font size="3">
<br />
<br />
Page | 82
DUCAT Academy
<br />(Development|Training|Consultancy) <br />
<br />A-52 &A-43 Sector-16 Noida-201301(UP),INDIA<br />
<br />Tele:+91.120.4646464, Mobile:09871055180/81<br />
<br />Email : <A
href="mailto:info@ducatindia.com">info@ducatindia.com</A> <br />
</font>
</td>
</tr>
</table>
<table>
<tr><td align="CENTER" style="background-color:#fffbd6">
<asp:LinkButton ID="LinkButton1" runat="server" BackColor="#fffbd6"
Text="HOME" OnClick="l1_Click" ></asp:LinkButton> |
<asp:LinkButton ID="l2" runat="server" Text="CONTACT US"
OnClick="l2_Click" ></asp:LinkButton> |
<asp:LinkButton ID="l3" runat="server" Text="BACK"
OnClientClick="back()" ></asp:LinkButton>
</td></tr>
<tr>
<td align="center" style="width:20000px; background-color: #fffbd6;">
<img src="pic/wave.gif" alt="wave" />
</td>
</tr>
<tr>
<td align="center" style="width:20000px; background-color:
#fffbd6;">@copyright reserved by "Ducat Academy"
</td></tr>
</table>
</div>
</form>
</body>
</html>
Page | 83
Blood_Entry.Aspx.Cs
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Windows.Forms;
using Com.Health.Application;
using Com.Health.DataBase;
using Com.Health.Security;
using Com.Health.Ui;
}
else
{
MessageBox.Show("No Record Found!!!");
vid.Text = "";
}
}
protected void update_Click(object sender, EventArgs e)
{
update.Visible = false;
search.Visible = true;
res = MessageBox.Show("Are you sure to Update record", "Update Entry",
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if (res == System.Windows.Forms.DialogResult.Yes)
Page | 85
{
string date1 = date.SelectedItem.ToString() + "/" +
month.SelectedItem.ToString() + "/" + year.SelectedItem.ToString();
string query = "update Blood_Person_Test_Details set wbc=" +
wbc.Text.Trim() + ",rbc=" + rbc.Text.Trim() + ",platelates=" +
platelates.Text.Trim() + ",hemoglobin=" + Hemoglobin.Text.Trim() + ",glucose="
+ Glucose.Text.Trim() + ",blood_urea=" + burea.Text.Trim() +
",serium_creatinine=" + screatinine.Text.Trim() + " ,esr=" + esr.Text.Trim() + "
,tlc=" + tlc.Text.Trim() + " ,dlc= " + dlc.Text.Trim() + ",polymorphs=" +
polymorphs.Text.Trim() + " ,lymphocytes=" + lymphocytes.Text.Trim() + "
,monocytes=" + monocytes1.Text.Trim() + " ,basophills=" + basophills.Text.Trim()
+ " ,esinophills= " + esinophills.Text.Trim() + " ,adnormal_cells= " +
adnormal.Text.Trim() + ",malaria= " + malaria.Text.Trim() + " ,parasite=" +
parasite.Text.Trim() + ",others=" + others.Text.Trim() + ",test_date='" + date1 +
"',clinic_name=' " + cname.Text.Trim() + "',clinic_address='" + cadd.Text.Trim() +
" ' where voter_idno='"+vid.Text.Trim()+"'";
Com.Health.DataBase.Connection con =
Com.Health.DataBase.ConnectionPool.getConnection();
int i = con.ExecuteNonQuery(query);
Com.Health.DataBase.ConnectionPool.Free(con);
if (i > 0)
{
MessageBox.Show("Value Successfully Updated", "Update",
MessageBoxButtons.OKCancel);
clear();
}
}
else if (res == System.Windows.Forms.DialogResult.No)
{
clear();
}
DialogResult res;
protected void save_Click(object sender, EventArgs e)
{
if (i > 0)
{
MessageBox.Show("Value Successfully inserted", "insert",
MessageBoxButtons.OKCancel);
}
}
else if (res == System.Windows.Forms.DialogResult.No)
{
clear();
}
Page | 87
}
protected void clear()
{
vid.Text = "";
cname.Text = "";
cadd.Text = "";
wbc.Text = "";
rbc.Text = "";
platelates.Text = "";
Hemoglobin.Text = "";
Glucose.Text = "";
burea.Text = "";
screatinine.Text = "";
esr.Text = "";
tlc.Text = "";
dlc.Text = "";
polymorphs.Text = "";
lymphocytes.Text = "";
monocytes1.Text = "";
basophills.Text = "";
esinophills.Text = "";
adnormal.Text = "";
malaria.Text = "";
parasite.Text = "";
others.Text = "";
date.Text = "";
month.Text = "";
year.Text = "";
}
protected void delete_Click(object sender, EventArgs e)
{
res = MessageBox.Show("Are you sure to Delete now", "Delete Entry",
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if (res == System.Windows.Forms.DialogResult.Yes)
{
string query = "delete Blood_Person_Test_Details where voter_idno='" +
vid.Text.Trim() + "'";
Com.Health.DataBase.Connection con =
Com.Health.DataBase.ConnectionPool.getConnection();
int i = con.ExecuteNonQuery(query);
Page | 88
Com.Health.DataBase.ConnectionPool.Free(con);
if (i > 0)
{
MessageBox.Show("Record Deleted Permanently!!!", "Delete",
MessageBoxButtons.OKCancel);
clear();
}
}
else if (res == System.Windows.Forms.DialogResult.No)
{
clear();
}
}
protected void cname_TextChanged(object sender, EventArgs e)
{
}
protected void l2_Click(object sender, EventArgs e)
{
Response.Redirect("contact.aspx");
}
protected void lk1_Click(object sender, EventArgs e)
{
WebFactory.LogOut(Session.SessionID);
Response.Redirect("home.aspx");
}
}
Blood_Entry.Aspx.Cs(Source)
Page | 89
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td colspan="2" align="right" style="background-color: #fffbd6">
<img src="pic/about-us.gif" alt="About Us" style="background-color:
#fffbd6"/><a href="Home.aspx">About Us</a>
<img src="pic/news.gif" alt ="News"/><a href="Home.aspx">News</a>
<img src="pic/login-key.gif" alt="Login_key" id="IMG1"/><asp:LinkButton
ID="lk1" runat="server" Text="LogOut"
OnClick="lk1_Click"></asp:LinkButton>
</td>
</tr>
<tr>
<td style="height:180px; width:230px"><img src="pic/pillspic.jpg"alt="pills"
style="width:230px; height:180px"/>
</td>
<td style="height:180px; width:995px"><img src="pic/topbanner.jpg"
alt="topbanner" style="width: 995px; height: 180px"/>
</td>
</tr>
</table>
<table>
Page | 90
<tr><td style="height:750px;width:230px; background-color:#fffbd6">
<asp:Menu ID="Menu1" runat="server" BackColor="#FFFBD6"
DynamicHorizontalOffset="2"
Font-Names="Verdana" Font-Size="Medium" ForeColor="#990000"
Height="303px"
PathSeparator="-" StaticSubMenuIndent="10px" Style="z-index: 100; left:
15px;
position: absolute; top: 270px" Width="1px" >
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="#990000" ForeColor="White"
BorderStyle="Solid" />
<DynamicMenuStyle BackColor="#FFFBD6" />
<StaticSelectedStyle BackColor="#FFCC66" />
<DynamicSelectedStyle BackColor="#FFCC66" />
<DynamicMenuItemStyle HorizontalPadding="5px"
VerticalPadding="2px" BorderStyle="Solid" />
<Items>
<asp:MenuItem Text="Entry Forms" Value="Entry">
<asp:MenuItem Text="Personal Details Form" Value="PDF"
NavigateUrl="~/Person_Entry.aspx"></asp:MenuItem>
<asp:MenuItem Text="Blood Test Form" Value="BTF"
NavigateUrl="~/Blood_Entry.aspx"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Urine_Entry.aspx" Text="Urine Test
Form" Value="UTF">
</asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Gen_Details_Entry.aspx"
Text="Other Test Form" Value="OTF">
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="View" Value="View">
<asp:MenuItem Text="Person Test Details"
Value="PTD"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Reports" Value="Other Test Details">
<asp:MenuItem Text="Person Blood Report"
Value="PBR"></asp:MenuItem>
<asp:MenuItem Text="Person Urine Report"
Value="PUR"></asp:MenuItem>
<asp:MenuItem Text="Statewise Report"
Value="SR"></asp:MenuItem>
Page | 91
<asp:MenuItem Text="Person Growth Chart Report"
Value="PGCR"></asp:MenuItem>
<asp:MenuItem Text="Blood Group Report"
Value="BGR"></asp:MenuItem>
<asp:MenuItem Text="HIV Status Report"
Value="HSR"></asp:MenuItem>
<asp:MenuItem Text="RHS Status Report"
Value="RSR"></asp:MenuItem>
<asp:MenuItem Text="Person Blood Graph"
Value="PBG"></asp:MenuItem>
<asp:MenuItem Text="Person Urine Graph"
Value="PUG"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Hospital Registration" Value="HR">
<asp:MenuItem Text="Hospital Registration form" Value="HRF"
NavigateUrl="~/Hos_reg.aspx"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Advertisement" Value="Add">
<asp:MenuItem Text="Add Advertisement Form" Value="AAF"
NavigateUrl="~/Add_Page.aspx"></asp:MenuItem>
<asp:MenuItem Text="Display Advertisement Form" Value="DAF"
NavigateUrl="~/Add_Detail.aspx"></asp:MenuItem>
</asp:MenuItem>
</Items>
<StaticHoverStyle BackColor="#990000" ForeColor="White" />
<StaticMenuStyle BorderStyle="None" />
</asp:Menu>
</td>
<td style="height:750px;width:1000px">
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-
Names="Arial" Font-Overline="True"
Font-Size="Larger" Font-Underline="True" ForeColor="Teal"
Height="26px" Style="z-index: 100;
left: 269px; position: absolute; top: 260px" Text="Blood Entry
Form"
Width="392px"></asp:Label>
Page | 99
Height="22px" Style="z-index: 135; left: 393px; position: absolute; top:
256px"
Text="Malaria" Width="56px"></asp:Label>
<br />
<br />
<br />
<br />
<asp:TextBox ID="malaria" runat="server" Style="z-index: 138; left:
543px; position: absolute;
top: 258px"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label25" runat="server" Font-Names="Times New
Roman" Font-Size="Larger"
Height="12px" Style="z-index: 139; left: 393px; position: absolute; top:
309px"
Text="Parasite"></asp:Label>
<br />
<br />
<asp:TextBox ID="others" runat="server" Style="z-index: 140; left: 543px;
position: absolute;
top: 352px"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label26" runat="server" Font-Names="Times New
Roman" Font-Size="Larger"
Style="z-index: 141; left: 393px; position: absolute; top: 355px"
Text="Others"></asp:Label>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</asp:Panel>
</td>
</tr>
</table>
<table>
Page | 100
<tr>
<td align="CENTER" style="background-color:#fffbd6">
<asp:LinkButton ID="l1" runat="server" BackColor="#fffbd6"
Text="HOME" OnClick="l1_Click" ></asp:LinkButton> |
<asp:LinkButton ID="l2" runat="server" Text="CONTACT US"
OnClick="l2_Click" ></asp:LinkButton> |
<asp:LinkButton ID="l3" runat="server" Text="BACK"
OnClientClick="back()"></asp:LinkButton>
</td>
</tr>
<tr>
<td colspan="2" align="center" style="width:20000px; background-color:
#fffbd6;">
<img src="pic/wave.gif" alt="wave" />
</td>
</tr>
<tr>
<td colspan="2" align="center" style="width:20000px; background-color:
#fffbd6;">@copyright reserved by "Ducat Academy"
</td></tr>
</table>
</form>
</body>
</html>
Gen_Details_Entry.Aspx.Cs
Health.Aspx.Cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
Page | 101
using System.Web.UI.HtmlControls;
DATABASE DESIGN :
Database: health_info
Table1-User_Login_Details
Table2-Person_Details
Page | 102
Field name Data Type Size Constraints
Voter_idno varchar 15 primary key
Fname varchar 15 not null
Mname varchar 15 allow null
Lname varchar 15 not null
Father_name varchar 25 not null
Mother_name varchar 25 not null
Address1 varchar 30 not null
Address2 varchar 30 allow null
City varchar 20 not null
State varchar 25 not null
Sex char 8 not null
Dob datetime - not null
Email_id varchar 50 allow null
Contact_no varchar 15 allow null
Image varchar 50 not null
Table3-Person_Gen_Blood_Details
Table4-Urine_Std_Values
Page | 103
Acidic varchar 15 not null
Urine_sugar varchar 15 not null
Albumin varchar 15 not null
Phosphate varchar 15 not null
Acetone_bodies varchar 15 not null
Bile_salt varchar 15 not null
Bile_pigment varchar 15 not null
Urobilinogen varchar 15 not null
Luecocytes varchar 15 not null
Erthyocytes varchar 15 not null
Epithelial_cells varchar 15 not null
Casts varchar 15 not null
Ketones varchar 15 not null
Proteins varchar 15 not null
Others varchar 15 not null
Table5-Urine_Person_Details
Page | 104
Ketones varchar 15 Null
Proteins varchar 15 Null
Others varchar 15 Null
Test_date datetime - not null
Clinic_name varchar 50 not null
Clinic_address varchar 50 not null
Table6-Blood_Std_Values
Table7-Blood_Person_Test_Details
Page | 105
Wbc float - allow null
Rbc float - allow null
Platelates float - allow null
Hemoglobin float - allow null
Glucose float - allow null
Blood_urea float - allow null
Serium_creatinine float - allow null
Esr float - allow null
Tlc float - allow null
Dlc float - allow null
Polymorphs float - allow null
Lymphocyte float - allow null
Esinophills float - allow null
Basophills float - allow null
Monocytes float - allow null
Adnormal_cells float - allow null
Malaria float - allow null
Parasite float - allow null
Others float - allow null
Test_date datetime - not null
Clinic_name varchar 50 not null
Clinic_address varchar 50 not null
Table8-Others_Test_Details
Page | 106
Table5-Hospital_Details
Table9-Add_Details
Page | 107
Analysis The requirements gathering process is intensified and
focused specifically on software.
Data store: A logical construct used to depict data that is being recorded
during manual and automated processes. Data stores are
organized by logical data groupings without regard to the
storage medium
DFD Data Flow Diagram-A diagram that shows the inputs and
outputs of a process and the data stores that store the data.
Unit Testing The project is divided into small units and then the testing is
done on each unit separately.
White-Box It is a test case design method that uses the control the
Page | 108
Testing structure of the procedural design to derive test cases.
18.5 LIMITATION
Providing the On-Line Chat facility to users to concern the doctor for immediate
response.
Providing the community for specialize doctors for specific dieses, and share
the information in the form of Blogs, Photos, Videos, discussions in various
new researches in medical science.
Nurturing the dream of providing Email account facility to users so they can
feel the independence of mail account at the same site.
Page | 109
In future we would provide the facility for online payment and implement
Secure Socket Layer (SSL).
18.6 DEPENDENCIES
19. CONCLUSION
All the procedure in this project is automatic accept the entry of data from
the user.The project gives the user-friendly environment, which gives the
way of working in more efficient manner
Page | 110
It is connected with the internet for easily retrieved data about different
services, newly launched products can be easily added into the site using
database.All the information can be easily accessed the Customer like their
details, booking. Transaction. It can be modify and the others details can be
easily provided to customer.Report on the different basis will be easily
created on the demand.
20. References
BIBLIOGRAPHY
BOOKS:
LIBRARY:
MSDN
The MSDN Library is the essential reference for developers, with more
than a gigabyte of technical programming information; including sample code,
Page | 111
documentation, technical articles, the Microsoft Developer Knowledge Base, and
anything else we might need to develop solutions that implement Microsoft
technology.
WEBSITE:
www.Wikipedia.com
www.ducatindia.com
www.C# Corner.com
Page | 112