Employee Management Syatem
Employee Management Syatem
1. Acknowledgement
2. Preface
3. Certificate of Originality
4. Synopsis of the project
5. Problem Statement
A) Existing system Description
B) Problem of Existing System
6. Introduction of Project
A). what is.NET
B). c# Provides
C). Advantages of.NET
D). SQL Server
7. Objective and Scope of the Project
8. System Analysis
A) Detail of proposed system
B) SRS (System Requirement Specification)
C) Project Planning
D) Feasibility Study
E) Database Design
F) Structure Chart
9. PERT Chart
10. Software Engineering Methodology (Prototype Model)
11. Hardware and software requirement
12. System Development Life Cycle (SDLC)
13. Logical diagram
A) DFD
B) ERD
C)Flow Chart
14. Input and Output Screen Design
15. Coding
16. Testing
A) Type of Testing
B) Test Cases
C) Level of Testing
17. System Maintenance and Evaluation
18. Users /operations manual
Problem Statement
1)Existing system description:The Green Land Motors Showroom is mainly a franchise given by the MARUTI.
The showroom is a retail marketer of Maruti four wheelers.
In the showroom there are 3 main departments: 1) Employee Information
2) Payroll System
3) Sales Department
All these three departments have their head officer who manages & control all the
working. But the information or details about the every employee only can access by
the Administrator or H. R. Executive. H. R. Executive manages the detail or
information about the Employee Information System & Payroll System and he/she also
submit all information of monthly detail..
If any new person got a job in the showroom the interview is conduct or taken by the
Administrator or H. R. Executive or head of particular department.
In the showroom all information about Employee Information System and Payroll
System is maintained by the H.R. Executive. The H.R. Executive is only made changes
in the database or records.
H.R. Executive saw all queries but the employee can see only his/her information.
In spite of being the newest showroom Greenland Motors in Allahabad this showroom
two main departments are still untouched from computerization. But by involving us in this
project, computerization process starts.
Maintaining crucial data of around 200 employees is difficult in manual process.
There are many problems, which are faced by the office member. They are as follows: 1. Functionality: Because there work is done manually, so the there functionality is
very low as compared to other department, which are computerized.
2. Time consuming Process: Each a single process takes lots of time.
3. Processing Speed: The effort done for the progress of the work is done manually,
so the processing speed of the existing system is very low & frustratful for employees.
4. Portability: The portability of the current existing system is not possible because
the information is stored in files, & searching for a piece of information among all those
files is very tedious work.
5. Input/Output Interfaces: The Input/output Interfaces of the current system are
very poor. To work with there current Input/Output Interfaces need deep understanding
of their work.
Introduction of Project:The Online Employee Information System & Payroll System (OEIPS)
deals with the controlling & managing the entire working of Employee Information &
Payroll System ,Green Land Motors Allahabad.
There are many activities in the department & he/she want to mange all the activities by a
single project.
Online Employee Information System gives some flexibility in the project to add,
modify or delete new employee in the showroom or add or modify employees entries of
the showroom.
This project on Online Employee Information & Payroll System is basically to help in
managing their showroom by converting manually running system to a computerized
system & online system. By introducing this current system, that work maintained by the
H. R. Executive of that showroom would become easier, convenient & time saving.
A project is a complete information regarding employee. Adding new employee entry or
maintain only last one year employee record/details, show the Payroll information of
employee. Concurrently Administrator or H. R. Executive can see the stored information.
The employee can see only his/her information.
This project is designed as managing & storing information preparation of details, plan or
scheme of any engineering undertaking. Thus the project is schematic, consideration,
particular object.
LANGUAGE SUPPORT
The Microsoft .NET Platform currently offers built-in support for more than 67
languages: C#, Visual Basic, and jScript etc.
C#.NET
ADO.NET OVERVIEW
.NET is an evolution of the 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.
.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 following sections will introduce you to some
objects that have evolved, and some that are new. These objects are:
DataSets. For storing, Remoting and programming against flat data, XML
data and relational data.
DataAdapters. For pushing data into a DataSet, and reconciling data against
a database.
When dealing with connections to a database, there are two different options:
SQL Server .NET Data Provider (System.Data.SqlClient) and OLE DB .NET Data
Provider (System.Data.OleDb).
In these samples we will use the SQL Server .NET Data Provider. These are
written to talk directly to Microsoft SQL Server. The OLE DB .NET Data Provider is
used to talk to any OLE DB provider (as it uses OLE DB underneath).
B) Project Planning
Planning of this project incorporates determine the validity of request, evaluating the
alternatives and selecting the best one based upon feasibility study. Depending on the
results of the initial investigation, it expanded to a more detailed feasibility study. A
feasibility study is a test of system proposal according to its workability, impact on the
showroom, ability to meet user needs and effective use of resources. The key questions
are:-
C).System Requirement Specification: Introduction: This document describes the software requirements for the Online Employee Information
System & Payroll System (OEIPS) built for Green Land Motors Maruti Showroom
(GMMS).
Scope: The GMMS is proposal to build a prototype of an OEIPS for their current system. The
system will be designed to provide an electronic version of the EIPS in Green land. The
system will have a user-friendly graphical interface & will be more cost effective
compared to the current non-electronic version of the EIPS. The objectives of this
development effort are: To provide existing employee with a new environment.
To provide an avenue for employee to get their information in a more convenient
way.
To collect statistics in a more efficient manner for future further development and
construction.
To increase the efficiency of EIPS.
Acronyms and Abbreviations:
Employee and H. R. Executive use terminal to get information about the present
employees.
The Administrator use terminals to see the reports generated by the database
software.
Personal Computer
Administrator, H.R. Executive or employee use PC to obtain a remote to the server
and the information and payroll database via the Internet.
Cell Phones
Server as a medium of accessing the server and the information and payroll
database.
Employee may use cell phones and the latest telecommunication technologies to
access the server and the information and payroll database via Internet, or they may
use cell phones to call H. R. Executive to inquire about their information.
Computer hardware and peripheral equipment to be used: Workstation, which includes CPUs, monitor, keyboard and mouse.
Printers
Network
Terminals
Cell phones to test connection to the server via remote access.
User Characteristics:The main users of the system will be the employees seeing correct information, the H. R.
that process updating information for employee, and the administrator that access the
reports generated by the system. The GUI provides an easy way of using the Online
Employee Information System and Payroll System with minimum of training.
Specific Requirement: This section of the SRS should contain all the details needs to create a project. This is
typically the largest and most important part of the SRS.
Specific requirements should be organized in a logical and readable fashion.
Classifying the specific requirements is as follows: 1. Functional Requirements
2.
3.
4.
5.
Performance
Design
Attribute
External Interface Requirement
1. Functional Requirements: This subsection of the SRS should specify what is to be done by the project, to what
specific requirement, what input should be transformed to what outputs (not how this is
done), what specific operation is required.
For each function, specific requirements on inputs, processing and outputs. These are
usually organized: I. Purpose of the function: - Provide rationale to clarify the intent of the function.
II. Input/output: - Source, valid ranges of values, operator requirement, and special
interfaces.
III. Operation to be performed: - Validity checks, responses to abnormal conditions,
type of processing required.
IV. Output: - Destinations, valid ranges of values, handling of illegal values, error
messages.
2. External Interface Requirement: I. User Interfaces: This should specify: a) The characteristics that the software must support for each human
interface to the software.
The person operates through a display terminal, the following should be
specified: I. Required screen formats.
II. Page layout and content of any reports or menus.
III. Relative timing of Inputs and Outputs.
IV. Availability of some form of programmable function keys.
b) All the aspects of optimizing the interface with the person who must use
the system.
II. Hardware Interface:
The logical characteristics of each interface between the software & the
hardware component of the system. What devices are to be supported, how they
are to be supported?
III. Software Interface:
Required software & interface with other application system.
We define the purpose of the interfacing software as related to this software
product and we define the interface in the term of message content and format.
3. Design constraints:Design constraints can be imposing by other standards, hardware limitation, etc.
A. Standards compliance: -
1.
2.
3.
4.
Quality Characteristics: There are of following type of Quality Characteristics that can apply to software.
Correctness
Efficiency
Flexibility
Integrity/security
Interoperability
Maintainability
Portability
Reliability
Reusability
Testability
Usability
Database: Our requirement for SQL database is to be developed as part of the project. This
might include:
Types of information.
Frequency of use.
Accessing capabilities.
Data element and file description.
Relationship of data elements records and files.
Retention requirement for data.
D). Feasibility Study:Feasibility is determination of whether or not a project is worth doing. The project
followed in making this determination is called Feasibility Study. The analyst can go ahead
and prepare the project specification which finalize project requirement. The preliminary
investigations examine project feasibility. These solutions are further evaluated to find out
the following:
Technical Feasibility
Economical Feasibility
Operational Feasibility
Legal Feasibility
Time Feasibility
Technical Feasibility:In this type of Feasibility we describe specifying equipment and software that will
successfully satisfy the user requirement. We should be examined to see if the proposed
equipment has the technical capacity to hold the data required. The Technical needs of
this system are: Ability to process a large volume of data transaction to fulfill this
purpose the application is developed using ASP.NET as front end and SQL Server as
back end.
Economical Feasibility:In this type of Feasibility we determine the project should be economically feasible by
every type of user. A Cost-Benefit analysis is necessary to determine Economic
Feasibility. The primary objective of Cost-Benefit analysis is to find out whether it is
economically worthwhile to invest in the project.
Cost-Benefit analysis is performing by first listing all the costs association with the
project. Costs consist of both direct cost and indirect cost.
Direct costs are those incurred employing people; cost of consumable item, cost of
computer, software, cost of system analyst and programmers, cost of material, cost of
designing & cost of training analyst and user & indirect costs are phoning charges, land
charge.
Benefits can be broadly classified as Tangible benefit & Intangible benefits.
Tangible benefits are directly measurable. These are as a: inventories, delays in
collecting outstanding payments, wastage. Intangible benefits are better service of
production, accurate, reliable and up to date strategic, tactical and operational
information.
Operational Feasibility:This Feasibility is mainly related to human, organization and political aspects. Our project
operationally feasible due to following:
The existing manual work of showroom will be computerized
Being a ASP.NET GUI & CUI based interface the system developed will be user friendly.
Legal Feasibility:The project is legally feasible as it does not violate any law and also provides essential help
to the showroom. This project is mainly based on payroll and employee information
system.
Time Feasibility:This determines that the proposed project can be implemented within the stipulated time
frame; in this case it is three months. From the PERT chart of the proposed project it is
clear that three months is sufficient enough to complete this project, hence project to be
considered.
(B)Cost and Benefit Analysis:1) Cost Analysis:Cost plays an important role in deciding the application. Therefore, it must be
identified and estimated properly.
I. Tangible Cost: - It refers to the ease with which costs can be measured. It
includes the purpose of new hardware or software, personal training and
payment against any bill- related project, compiler, other needed software
and secondary disk manual for the user.
II. Intangible Cost: - Cost that may be known to exist but whose financial
values can be measured like the customer and the user or employee
specification, already existing set up and the facility costs.
III. Cost of Project: - The cost estimation is none, since the application
development has been undertaken as a project work for academic purpose.
2) Benefit Analysis:Benefits are also of different types and grouped on the basis of advantages they
provide to the management.
I. Tangible Costs: - These benefits include job completion within few hours or
producing report more accurately without error. Least paperwork and
maintenance of record for longer time are included in this.
II. Intangible Costs: - This include more satisfied employee, improved
corporate image. Faster work initiates employers to work more efficiently.
Overall satisfying organization or showroom from the project is the main
purpose.
Attendance
Column Name
Employee ID
Employee
Name
Salary
Incentive
Remark
Column Name
Employee ID
Employee
Name
Designation
Department
Time In
Time Out
D_date
Remark
9
Yes
9
Yes
100 No
30
30
8
8
8
30
No
No
Yes
Yes
Yes
No
Daily
(Table: daily)
Allow
DataData
TypeType
Size Size
Allow
NullsNulls
varchar
10 No
Employee
ID varchar
Employee
Name
Char
LoginName
varchar
TotalYear
Int
numeric
Org Password
Char
char Char
Post Type
Period of Employement Int
Job Profile
Char
Employer
Char
Remark
Char
10
30
9
20
30No
4 No
30No
30No
4
30
30
100
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Data Type
Varchar
Employee Name
Designation
Days
Gross Salary
Amt Payable
Advance
Mobile Due
Remark
Char
Char
Numeric
Numeric
Numeric
Numeric
Numeric
Char
30
30
9
9
9
9
9
100
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Data Type
Varchar
Char
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Char
Size
10
30
9
9
9
9
9
9
9
100
Allow Nulls
No
No
No
Yes
Yes
No
Yes
No
Yes
No
Column Name
Employee ID
Employee Name
Name of Exam
University/Board
Year of Passing
Stream
Data Type
Varchar
Char
Char
Char
Numeric
Char
Size
10
30
30
30
9
30
Allow Nulls
No
No
Yes
Yes
Yes
Yes
Employee Name
Designation
Department
Salary
Date of Birth
Date of Joining
Allowances
Fathers/Husbands Name
Sex
Marital Status
Blood Group
Age
Permanent Address
Phone no
Present Address
Phone no.
Mobile no
Email id
Remark
Char
Char
Char
Numeric
Datetime
Datetime
Numeric
Char
Char
Char
Char
Numeric
Char
Numeric
Char
Numeric
Numeric
Varchar
Char
30
30
30
9
8
8
9
30
10
20
20
9
100
9
100
9
9
100
100
No
No
No
Yes
No
No
Yes
No
No
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
No
Column Name
Employee ID
Employee Name
Name
Mobile no
Address
Remark
Data Type
varchar
char
char
9
char
char
Size
10
30
30
30
100
100
Allow Nulls
No
No
No
Yes
No
No
Column Name
Employee Name
[Date of Interview]
Interviewed By
Date of Joining
Designation
Department
Data Type
Char
datetime
Char
datetime
Char
Char
Size
30
8
30
8
30
30
Allow Nulls
No
No
No
No
Yes
Yes
Column Name
Employee ID
Employee
Name
Name1
Name2
Designation1
Designation2
Address1
Address2
Mobile no1
Mobile no2
Remark1
Remark2
30
30
30
30
100
100
9
9
100
100
No
No
No
No
No
No
Yes
Yes
No
No
F).Structure Chart: -
The documentation tool for structure design is the Hierarchy or Structure Chart. It is a
graphical tool for representing hierarchy. They are used to specify the high-level design, or
architecture of a computer program. As a design tool, they add the programmer in dividing
and conquering a large software problem that is recursively breaking a problem down into
parts that are small enough to be understood by a human brain. The process is called Topdown Design or Functional Decomposition.
The first step in creating a structure is to place Class: Main in the root of an
upside-down tree, which forms the structure chart.
The next step is to conceptualize the main sub-tasks that must be performed by
the program to solve the problem. These sub-tasks are placed in nodes below the
roots and connecting lines are drawn from the root to each sub-task.
Next, each sub-task is individually focused and conceptualized how each subtask can be broken down into even smaller tasks.
Eventually, the program is broken down to a point where the leaves of the tree
represent simple methods that can be coded with just a few program statements.
Branches of the tree are assigned as Modules, which are then programmed.
Often a process called Bottom-up implementation and testing is used to implement
each module. Each node in the chart represents a method (in Object Oriented terms,
a method). The root node represents the main method of the program. Each
connecting lines are labeled with the parameters of the method represented by the
lower node.
A structure chart is a high-level design notation and leaves some coding
details unspecified. Specifically, control structure for iteration (E.g. for while) and
selection (if-then-else-end if) are not depicted in a structure chart. The chart only
shows the calling sequence of a program and its parameter information.
Rectangle represents a module, connection represented by a line.
Online Employee
Information System &
Payroll System
Login
Employee
Login
H. R. Login
Add/Update
Information
Personal
Information
Work
Experience
Special
Information
Qualification
Monthly Salary
Leave Salary
Detail
Daily
Attendance
View All
Information
Interview
Master
Record
Attendance
Daily
Attendance
Monthly
Attendance
Work
Experience
Salary Detail
Personal
Information
Work
Experience
Special Information
Qualification
Salary Detail
Attendance
Daily
Attendance
Monthly
Attendance
Qualification
Special Information
PERT Chart
Project Evaluation & Review Technique:The complexities of the present day management problems and the business competitions
have added to the brains of the decision makers. In a large & complex project involving a
number of integrated activities, requirement a number of men, machine & materials, it is
not possible for the management to take & execute an optimum schedule just by intuition
based on the organizational capabilities & work experience.
Management, are thus, always on a look out for some methods & technique which may
help in planning scheduling & controlling the project. A project may be defined as a
combination of integrated activities, which must be executed in a certain order before the
entire task can be completed. The aim of planning is to develop a sequence of activities of
the project, so that the project completion time & cost are properly balanced & that the
excessive demand of key resources is avoided. To meet the object of systematic planning,
the management has evolved a number of techniques applying network strategy. PERT is
one of the many network techniques, which have been widely used for planning,
scheduling & controlling the large & complex projects.
Serial
No.
Activity
Information Gathering
15
Analysis of existing
System
H/W & S/W
Requirement
Study
System Analysis
15
System design
15
10
Coding
15
11
15
12
Implementation
13
System security
D/15
C/5
B/15
A/15
1
E/15
6
F/15
G/5
8
I/5
9
Prototype Model
In prototyping, a prototype or model based on the gathered requirements is prepared. It is
then evaluated by the user and is used to define requirements for the software to be
developed. Iterations occur as the prototype is tuned to satisfy the needs of the customer, at
the same time enabling the developer to better understand what needs to be done.
If prototyping is used, the changed requirements are known by the developers at every
iteration. Since information collection is done at each iteration, new or changed
requirements are updated every time.
When the final prototype is ready, what do we do with it? We can do two things:
The prototype can be used as it is since it is actually a fully working model.
The prototype can be partially or fully reconstructed. This is done to suit the needs
of implementing on a specific platform, environment etc.
Identify user
requirement
Implement
prototype
Final conversion
Maintenance
Post
implementation
HARDWARE
P L A T F O R M REQUIREMENTS :-
USERS REQUIREMENT:
Microprocessor
RAM
MEMORY
MOUSE
KEYBOARD
Printer
Monitor
: VGA 15``Colour
P L A T F O R M REQUIREMENTS :-
OPERATING SYSTEM
PLATEFORM USED
FRONT END
BACKEND
Web Browser
:
:
:
:
:
Windows XP
ASP.NET
VB.NET
SQL Server.
MS Internet Explorer
6.0
1).Problem Definition: One must know what the problem is before it can be solved. Preliminary
system survey
or initial investigation to determine whether an alternative system can
solve the problem. It entails working into the duplication of efforts, existing procedures,
whether parts of existing system would be candidate for computerization.
2). Feasibility Study: Depending on the results of the initial investigation, the survey is expanded to a more
detailed feasibility study. A feasibility study is a test of system proposal according to its
workability, impact on the organization, ability to meet user needs and effective use of
resources. It focuses on three major questions:
What are the userss demonstrated needs and how does a candidate system meet
them?
What resources are available for a given candidate system? Is the problem worth
solving?
What are the likely impacts of the candidate system on the organization? How well
does it fit within the organization MIS plan?
The objective of the feasibility study is not to solve the problem but to acquire a range
of its scope.
The result of the feasibility study is a formal proposal. This is simply a report a
formal document detailing the nature and scope of the proposed solution.
3). System Design: The most creative and challenging phase of the system life cycle is system design. The
term design describes a final system and process by which it is developed. It refers to
the technical specifications that will be applied in implementing the candidate system.
It also includes the construction of programmes and programme testing. The key
question here is: How should the problem is solved?
The first step is to determine how the output is to be produced and in which format.
Sample of output are also presented. Second, input data and master files (database)
have to be designed to meet the requirements of the proposed output. The operational
phases are handled through programme construction and testing, including a list of
programmes needed to meet the systems objectives and complete documentation.
Projected cost must be close to actual cost of implementation.
4). Implementation: The implementation phase isles creative than system design. It is primarily concerned
with user training, site preparation and file conversion. When the candidate system is
linked to terminal or remote sites, the telecommunication network and tests of network
along with the system are also included under implementation.
Programming provides a reality test for the assumption made by the analyst. It is
therefore a mistake to exclude programmers from the initial investigation design.
System testing checks the readiness and accuracy of the system to access update and
retrieve data from new files. Once the programmers become available, test data are
read into computer and processed against the files provided for testing.
In most conversions, a parallel run is conducted where the new system runs
simultaneously with the old system. This system provides opportunity to the staff to
work with the new system as well as old system. In some cases it is not possible to run
parallel systems. After the new system proves itself, the old system is phased out.
5). Maintenance: There is an ageing process in software that requires periodic maintenance of hardware
and software. If the new information is inconsistent with design specifications, then
changes have to be made. Hardware also requires periodic maintenance to be in tune
with design specifications. The important of maintenance is to continue to bring the
new system to standards.
User priorities, changes in organizational or environmental factors also call for system
enhancements.
6). Post Implementation: -
Testing:The purpose of testing is to identify and correct errors in the candidate system. As
important as this phase is it is one that is frequently compromised. Testing is vital to the
success of the system. System testing makes a logical assumption that if all part of the
system is correct the goal will be successfully achieved.
Inadequate testing or no testing leads to errors that may not appear until months later. A
small system error can explode into a much large problem. Effective testing early in the
process translate directly into long-term cost saving from a reduce number of errors.
This software is tested module by module; the relationship between modules and the
software is validated against preset objectives.
Black box testing or fundamental testing has been used in testing phase of this project. In
this, the structure of the program is considered. Test cases are decided solely on the basis of
the requirements or specifications of the program or module and the internals of the
modules or the program are considered for selection of the test cases.
Levels of Testing: In this software mainly three types of testing is used: System testing starts by testing program individually. A program module may work perfectly well in isolation but
may fail
when interfaced with other modules.The approach is to test each entity with successively larger ones,
system testing consist of following steps:
Unit testing
Integration testing
System testing
Acceptance testing
1.Unit testing :
An individual program must compile and test data correctly and also bond with other programs in order to run
Satisfactory.program testing checks for two type of errors: syntax and logical.
A syntax error in program occurs when a statement in a program breaks one or more rules of the language in
whitch it is coded.common syntax errors include an improperly define field dimension or ommited keywords.
A logical errors deal with invalid data fields, out-of-range items and other incorrect data
combination. Since logical error is not detected by the system, the programmer must
carefully study the output for finding the same.
2.Integration testing:
In this type of testing all constituent programs should work properly.program are invariably related to one
another and interact with the other system.each program is tested as a combined manner.each program of the
System is tested against the entire module with both artificial and real data.
3.System testing:
System testing is done to find out those imperfection that were not found in tests conduct earlier.
This include forced system failure and validation of total system as it will be put to use by its user
In the actual working environment.
The system is also tested for backup and recovery procedure .
4.Acceptance testing:
This testing involves running the system with live data by actual user. This is done to familiarize the user with
The validity and reliability of the system.As user motivation and knowledge are important for the successful
Performance and implementation of the system.The significance of user acceptance testing cannot be overtested.
A comprehensive test report is prepred after testing.This report is tested the systems tolerance ,performance
range ,error rate accuracy.
1) Unit Testing
Test case2:
Module: Login dialog box
Condition: If Employee login
Input data: Login Name, Password, Login as and click on Sign in.
Output: If correct password is given then continue and few menus are disabling for
Employee
Result: Successful
Test case3:
Module: Add Employee (Only for H.R. Executive)
Condition: If new Employee
Input Data: click on Personal Information and then entered the Employee_ID and
filled up correctly other details and clicked on Save.
Output: records get saved in Master Record and display message Record
Successfully Added.
Test result: Successful
Test case4:
Module: Add Employee (Only for H.R. Executive)
Condition: If Repeated Employee
Input Data: click on Personal Information and then entered the existing
Employee_ID or didnt fill up mandatory fields and clicked on save.
Output: Record will not save in master table and display error message Record
already exists or Could not found database.
Test result: Successful
Test case5:
Module: Search Employee Information
Condition: If record exists
Input Data: click on Add/Update Employee and then entered the existing
Employee_ID and click on Search.
Output: Record Found.
Test result: Successful
Test case6:
Module: Search Employee Information
Condition: If record does not exists
Input Data: click on Add/Update Employee and then entered the Employee_ID and
click on Search.
Output: Record Not Found.
Test result: Successful
Test case7:
Module: To view all Employee Information in grid (Only for H.R. Executive)
Condition: None
Input Data: Select all fields from table.
Output: Display all information.
Test result: Successful
Test case8:
Test case9:
Module: To Update Employee Information (Only for H.R.)
Condition: If Employee ID matches.
Input Data: Fill those fields to which H.R. wants to change records and click on
Update.
Output: Records are updates and display message Record Successfully Updated.
Test result: Successful
Test case10:
Module: To Delete Employee Information (Only for H.R.)
Condition: If Employee ID matches.
Input Data: Click on Delete.
Output: Records are deleted and display message Record Deleted.
Test result: Successful
Master Page
<%@MasterLanguage="C#"AutoEventWireup="true"CodeFile="MasterPage.master.cs"Inherits="MasterPage"%>
<%@RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="asp"%>
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<title></title>
<%-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>--%>
<scripttype="text/javascript">
jQuery(document).ready(function ($) {
$('ul#orbs').imgbubbles({ factor: 1.75 }) //add bubbles effect to UL id="orbs"
$('ul#squares').imgbubbles({ factor: 2.5 }) //add bubbles effect to UL id="squares"
})
</script>
<linkrel="stylesheet"href="themes/default/default.css"type="text/css"media="screen"/>
<linkrel="stylesheet"href="nivo-slider.css"type="text/css"media="screen"/>
<linkrel="Stylesheet"href="StyleSheet.css"type="text/css"/>
<linktype="text/css"rel="Stylesheet"href="StyleSheet.css"/>
<asp:ContentPlaceHolderid="head"runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<formid="form1"runat="server">
<divclass="page">
<divclass="table">
<asp:HyperLinkID="HyperLink1"runat="server"BackColor="White"ForeColor="#CC3300"NavigateUrl="~/login.aspx">Login</asp:
HyperLink>
|
<asp:HyperLinkID="HyperLink2"runat="server"BackColor="White"ForeColor="#CC3300"NavigateUrl="~/Registration.aspx">Regi
stration</asp:HyperLink>
|
<asp:HyperLinkID="HyperLink9"runat="server"BackColor="White"ForeColor="#CC3300"NavigateUrl="~/Careeier.aspx">Carreier
</asp:HyperLink>
|
<asp:HyperLinkID="HyperLink10"runat="server"NavigateUrl="~/Contact.aspx"BackColor="White"ForeColor="#CC3300">Contact
Us</asp:HyperLink>
</div>
<divclass="head"></div>
<divclass="line"></div>
<divclass="theme-default">
<divid="slider"class="nivoSlider">
<imgsrc="images/slide/slider1.jpg"alt=""height="300px"width="951px"/>
<imgsrc="images/slide/slider2.jpg"alt=""height="300px"width="951px"/>
<imgsrc="images/slide/slider3.jpg"alt=""height="300px"width="951px"/>
<imgsrc="images/slide/slider4.jpg"alt=""height="300px"width="951px"/>
<imgsrc="images/slide/slider5.jpg"alt=""height="300px"width="951px"/></div>
<scripttype="text/javascript"src="demo/scripts/jquery-1.7.1.min.js"></script>
<scripttype="text/javascript"src="jquery.nivo.slider.pack.js"></script>
<scripttype="text/javascript">
$(window).load(function () {
$('#slider').nivoSlider();
});
</script>
</div>
<divid="menu">
<asp:MenuID="Menu1"runat="server"DisappearAfter="300"
Orientation="Horizontal"CssClass="Menu"ItemWrap="True"
StaticSubMenuIndent="16px">
<DynamicMenuItemStyleWidth="200px"/>
<DynamicItemTemplate>
<%#Eval("Text") %>
</DynamicItemTemplate>
<Items>
<asp:MenuItemText="Home"Value="Home"NavigateUrl="~/Home.aspx"></asp:MenuItem>
<asp:MenuItemText="About Us"Value="About Us"NavigateUrl="~/About US.aspx"></asp:MenuItem>
<asp:MenuItemText="Client"Value="Client"NavigateUrl="~/Client.aspx"></asp:MenuItem>
<asp:MenuItemText="Technologies"Value="Technologies">
<asp:MenuItemText="Java"Value="Java"NavigateUrl="~/java.aspx"></asp:MenuItem>
<asp:MenuItemText="PHP"Value="PHP"NavigateUrl="~/php.aspx"></asp:MenuItem>
<asp:MenuItemText="ASP.NET"Value="ASP.NET"NavigateUrl="~/net.aspx"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItemNavigateUrl=""Text="Corporate Identity"Value="Corporate Identity">
</asp:MenuItem>
<asp:MenuItemText="Contact Us"Value="Contact Us"NavigateUrl="~/Contact.aspx"></asp:MenuItem>
</Items>
<StaticMenuItemStyleWidth="122px"/>
<StaticItemTemplate>
<%#Eval("Text") %>
</StaticItemTemplate>
</asp:Menu>
</div>
<divstyle="width:980px; margin-top:10px">
<divclass="divi">
<divclass="Add"><marqueebehavior="scroll"direction="left"onmouseout="this.start();"
onmouseover="this.stop();"scrollamount="2"><h2>OFFERING</h2></marquee></div>
<divclass="Add2"><marqueebehavior="scroll"direction="up"onmouseout="this.start();"
onmouseover="this.stop();"scrollamount="3"style="width: 200px; height:250px">
<table>
<tr>
<td>
<b>WEB DESIGN</b><br/>
<asp:HyperLinkID="HyperLink6"runat="server"Forecolor="#996633"NavigateUrl="~/WebDesign.aspx">Web Designing
Services</asp:HyperLink><br/>
<asp:HyperLinkID="HyperLink7"runat="server"Forecolor="Brown"NavigateUrl="~/Logo.aspx">Logo
Designing</asp:HyperLink><br/>
<asp:HyperLinkID="HyperLink8"runat="server"Forecolor="Brown"NavigateUrl="~/Webredesign.aspx">Website ReDesigning</asp:HyperLink><br/>
<asp:HyperLinkID="HyperLink13"runat="server"Forecolor="Brown"NavigateUrl="~/flash.aspx">Flash
Animation</asp:HyperLink><br/>
</td>
</tr>
<tr>
</tr>
</table></marquee></div></div>
<divclass="content">
<asp:ContentPlaceHolderid="ContentPlaceHolder1"runat="server">
</asp:ContentPlaceHolder></div></div></div>
<br/>
<divid="footer1"style=" text-align:center">
Socialized :
<asp:ImageButtonID="ImageButton1"runat="server"Height="20px"Width="20px"ImageUrl="images/facebook.jpg"PostBackUrl="ht
tps://www.facebook.com/pages/Addaxie-Technologies/213954108661734"/>
<asp:ImageButtonID="ImageButton7"runat="server"Height="20px"Width="20px"PostBackUrl="https://twitter.com/addaxie"ImageU
rl="Images/icon-twiter.gif"/>
<asp:ImageButtonID="ImageButton3"runat="server"Height="20px"Width="20px"PostBackUrl="http://www.slideshare.net/Addaxie_
Technologies"ImageUrl="images/ims.jpg"/>
<asp:ImageButtonID="ImageButton8"runat="server"Height="20px"Width="20px"PostBackUrl="http://www.youtube.com/AddaxieT
echnologies"ImageUrl="images/youtube.jpg"/>
<asp:ImageButtonID="ImageButton6"runat="server"Height="20px"ImageUrl="images/cc.jpg"Width="20px"/></div>
<divid="footer"style=" text-align:center">
<asp:HyperLinkID="HyperLink11"runat="server"ForeColor="#CC3300"BackColor="White"NavigateUrl="~/Feedback.aspx">Feedb
ack</asp:HyperLink>|
<asp:LinkButtonID="LinkButton5"runat="server"Font-Underline="False"PostBackUrl="~/Query.aspx">Post
Query</asp:LinkButton>|
<asp:LinkButtonID="LinkButton6"runat="server"Font-Underline="False">Site Map</asp:LinkButton>|
Copyright 2012 Joomla Technology. All rights reserved.
</div>
</form>
</body>
</html>
Home Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Home.aspx.cs"Inherits
="Home"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
<styletype="text/css">
.style1
{
width: 80%;
}
.style2
{
width: 212px;
}
</style>
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<tableclass="style1">
<tr>
<tdclass="style2"style="border: thin ridge #CCCCCC"width="240px"
align="left"height="350px"valign="top">
<asp:ImageID="Image1"runat="server"BorderStyle="None"Height="31px"
ImageUrl="~/images/home/homeabout.png"Width="240px"/>
<br/>
<asp:ImageID="Image4"runat="server"CssClass="images"
ImageUrl="~/images/home/abut.jpg"/>
<br/>
<br/>
Joomla Technology rendering its impeccable and unparalleled services to the wide
spectrum of industry to cover the specific requirements of clients under their
predefined budget to take their business to the level of certainty that no other
competitor can match</td>
<tdstyle="border: thin ridge #CCCCCC"valign="top"width="240px"
height="350px">
<asp:ImageID="Image2"runat="server"Height="31px"
ImageUrl="~/images/home/homeclient.png"Width="240px"/>
<br/>
<asp:ImageID="Image5"runat="server"CssClass="images"
ImageUrl="~/images/home/clint.jpg"/>
<br/>
<br/>
Joomla technology clients include some of the major Economical solution
sector companies , firms groups societies andseveral organizations. We have very big list of clients. We give them our best</td>
<tdstyle="border: thin ridge #CCCCCC"valign="top"width="240px"
height="350px">
<asp:ImageID="Image3"runat="server"Height="31px"
ImageUrl="~/images/home/homesrvices.png"width="240px"/>
<br/>
<asp:ImageID="Image6"runat="server"CssClass="images"
ImageUrl="~/images/home/SEO-services.jpg"/>
<br/>
<br/>
Joomla Technology clients include some of the major economic sector Companies,
firms , groups and Organizations. Client including International Businee</td>
</tr>
</table>
<asp:PanelID="Panel1"runat="server"CssClass="pannel">
<marqueebehavior="scroll"direction="left"onmouseout="this.start();"
onmouseover="this.stop();"scrollamount="7">
<h1> Welcome To JoomlaTechnology !!!</h1></marquee></asp:Panel>
<br/>
</asp:Content>
About Us
<%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="About
US.aspx.cs"Inherits="Abuut_US"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="pageab">
<h1>About Us</h1>
Joomla Technology is a US based Company with a highly professional approach, targeting to be one among the top ten in the country
over the next few years. Incorporated as a private company in the year 2008, we also provide services to our clients in different
countries like the India,UK, USA, Spain, and the Netherlands. We have different projects on hand with a highly qualified team
handling each project, ensuring an uninterrupted flow of work.
We seek to link human resources with knowledge across the planet, thereby overcoming the obstacles posed by geographical
boundaries. In short, Joomla Technology pursues the course of taking full advantage of a world that is rapidly shrinking due to the
swift technological advancements witnessed across the globe.
In spite of being newcomers to the industry, we believe that professionalism coupled with client satisfaction, along with a highly
motivated workforce are the key elements which will contribute to our success in this highly competitive field. Where professionalism
is concerned, Joomla Technology is certainly not short of it, most of our work force is comprised of seasoned veterans who have
already put in considerable experience in other companies engaged in related fields, and already have hands on experience in the IT
industry. Most of those engaged in the technical line are highly qualified engineers , and those working in the content section of the
organization have put in considerable experience in journalism, including the print and electronic media. In short, they are the kind of
professionals who can add value to knowledge, and deliver solutions that are of world class standards.
We do not however discount the fact that client satisfaction also plays an important role in the success of an IT company. We are
perfectly aware that the best advertisement that we can get is through referrals from our satisfied clients, who also tend to approach
us withrepeat contracts. With this background, it is little wonder that we continue to be a financially stable, cash flow positive
company.
</div>
</asp:Content>
Contact Us
<%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="About
US.aspx.cs"Inherits="Abuut_US"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="pageab">
<h1>About Us</h1>
</div>
</asp:Content>
Training Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Training.aspx.cs"Inheri
ts="Training"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="offering">
<p><a><h1>Industrial Training </h1></a></p>
<p>
<ul>
<li>
<a><bstyle="color: #CCEEFF">PHP »</b></a> PHP is one of the scripting languages that is widely used in web technology.
This technology is demanded in most of the companies for making dynamic websites. To become a successful PHP developer you
should have strong knowledge with many web based tools so that as it helps to execute dynamic websites, applications and widgets.
With the evolution of technological advancements and rise in the expectation of the clients companies are hiring skilled software
developers in PHP. A good PHP programmer in the current scenario is expected to have strong technical knowledge in Ajax, MySql,
Javascript and he should also have an idea about implementing HTML and CSS in websites and applications that are developed using
the PHP programming language.</li>
</ul>
<ul>
<li>
<a><bstyle="color: #CCEEFF">JAVA »</b></a>Java is one of the most important programming languages which is in top
demand in the software industry. Most of the software outsourcing firms and IT companies are using Java and J2EE based applications
for its projects. Companies prefer using Java because this programming language helps to develop world-class business solutions for
clients in a cost effective manner.<br/>Java platform offers a wonderful career growth for B.Tech professionals. If you have strong
knowledge and understanding of Java and J2EE applications, sound coding knowledge and clear concepts then you have tremendous
opportunities as Java Developer. You have various choices like depending on your interest you can go for video game java
programmer, Web developer, Web master etc.</li>
</ul>
<ul>
<li>
<a><bstyle="color: #CCEEFF">. NET »</b></a> All the CS / IT graduates who wish to make their career in the software field
dot net has a great future scope for them. Those aspirants who are willing to become a dot net developer they should be able to
visualize that dot net has a great scope in the future versions of Microsoft products. The main reason behind this is technology is
becoming complex every day with more customized and user friendly applications. There are also changes in the buying patterns and
expectations of the customers. So all the dot net professionals must upgrade and modify themselves with the changing patterns of
technology. They should gain expertise on advance dot net technologies like Advance dot net, Silverlight, WCF, WPF Ajax etc.
</li>
</ul>
</p>
</p>
</div>
</asp:Content>
Client Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Client.aspx.cs"Inherits
="Client"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="pageab">
<h2>Client</h2>
<asp:ImageID="Imgclient"runat="server"ImageUrl="~/images/Clients-List.png"height="500px"
width="750px"/>
</div>
</asp:Content>
Registration Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Registration.aspx.cs"In
herits="Registration"%>
<%@RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="asp"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="regiter">
<asp:ScriptManagerID="ScriptManager1"runat="server">
</asp:ScriptManager>
<asp:LabelID="lbluname"runat="server"Text="User Nmae*"Font-Size="Large"Width="200px"></asp:Label>
<asp:TextBoxID="txtuname"runat="server"Width="200px"></asp:TextBox>
<asp:RequiredFieldValidatorID="Refvuname"runat="server"ErrorMessage="Please enter the
name"ControlToValidate="txtuname"></asp:RequiredFieldValidator><br/><br/>
<asp:LabelID="lblpassword"runat="server"Text="Password*"Font-Size="Large"Width="200px"></asp:Label>
<asp:TextBoxID="txtpassword"runat="server"Width="200px"TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidatorID="Refvpassword"runat="server"ErrorMessage="Please enter the
password"ControlToValidate="txtpassword"></asp:RequiredFieldValidator>
<asp:PasswordStrengthID="PasswordStrength1"runat="server"MinimumNumericCharacters="8"PreferredPasswordLength="8"Target
ControlID="txtpassword">
</asp:PasswordStrength>
<br/><br/>
<asp:LabelID="lblrepassword"runat="server"Text="Re-Password*"Font-Size="Large"Width="200px"></asp:Label>
<asp:TextBoxID="txtrepass"runat="server"Width="200px"TextMode="Password"></asp:TextBox>
<asp:CompareValidatorID="comparerepass"runat="server"ErrorMessage="Password Does not
match"ControlToValidate="txtrepass"ControlToCompare="txtpassword"></asp:CompareValidator>
<br/><br/>
<asp:LabelID="lbldob"runat="server"Text="Date Of Birth*"Font-Size="Large"Width="200px"></asp:Label>
<asp:TextBoxID="txtdob"runat="server"Width="200px"></asp:TextBox>
<asp:CalendarExtenderID="CalendarExtender1"runat="server"TargetControlID="txtdob"TodaysDateFormat="d,mmmm,y"PopupPosi
tion="Right">
</asp:CalendarExtender><br/><br/>
<asp:LabelID="lblemail"runat="server"Text="Email Id*"Width="200px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtemail"runat="server"Width="200px"></asp:TextBox>
<asp:RegularExpressionValidatorID="Rfvemail"runat="server"ErrorMessage="Please enter valid email
"ControlToValidate="txtemail"ValidationExpression="\w+([-+.']\w)*@\w+([-.]\w)*\.\w+
([-.]\w+)*"></asp:RegularExpressionValidator><br/><br/>
<asp:LabelID="lblconact"runat="server"Text="Contact No"Font-Size="Large"Width="200px"></asp:Label>
<asp:TextBoxID="txtcontact"runat="server"Width="200px"></asp:TextBox>
<asp:FilteredTextBoxExtenderID="FilteredTextBoxExtender1"runat="server"FilterType="Numbers"TargetControlID="txtcontact">
</asp:FilteredTextBoxExtender><br/><br/>
<asp:LabelID="lblgender"runat="server"Text="Gender*"Font-Size="Large"Width="200px"></asp:Label>
<asp:RadioButtonListID="Rbgender"runat="server"
RepeatDirection="Horizontal"RepeatLayout="Flow">
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:RadioButtonList>
<br/><br/>
<asp:LabelID="lbladdress"runat="server"Text="Address*"Width="200px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtaddress"runat="server"Width="200px"TextMode="MultiLine"></asp:TextBox>
<asp:RequiredFieldValidatorID="RequiredFieldValidator2"runat="server"
ErrorMessage="Please Enter The Address"ControlToValidate="txtaddress"></asp:RequiredFieldValidator><br/><br/>
<asp:UpdatePanelID="UpdatePanel1"runat="server"UpdateMode="Always">
<ContentTemplate>
<asp:LabelID="lblcountry"runat="server"Text="Country"Font-Size="Large"Width="200px"></asp:Label>
<asp:DropDownListID="Drdlcountry"runat="server"DataSourceID="SqlDataSource1"
DataTextField="Country_Name"DataValueField="Country_Name">
</asp:DropDownList><br/><br/>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"
ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Joomlatech.mdf;Integrated Security=True;User
Instance=True"
ProviderName="System.Data.SqlClient"
SelectCommand="SELECT [Country_Name] FROM [country]"></asp:SqlDataSource>
<asp:LabelID="lblstate"runat="server"Text="State"Font-Size="Large"Width="200px"></asp:Label>
<asp:DropDownListID="drdlstate"runat="server"DataSourceID="SqlDataSource2"
AutoPostBack="True"DataTextField="State_Name"DataValueField="State_Name">
</asp:DropDownList>
<asp:SqlDataSourceID="SqlDataSource2"runat="server"
ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Joomlatech.mdf;Integrated Security=True;User
Instance=True"
ProviderName="System.Data.SqlClient"
SelectCommand="SELECT [State_Name] FROM [state]"></asp:SqlDataSource>
<br/><br/>
<asp:LabelID="lblcity"runat="server"Text="City"Font-Size="Large"Width="200px"></asp:Label>
<asp:DropDownListID="Drdlcity"runat="server"DataSourceID="SqlDataSource3"
AutoPostBack="True"DataTextField="City"DataValueField="City">
</asp:DropDownList>
<asp:SqlDataSourceID="SqlDataSource3"runat="server"
ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Joomlatech.mdf;Integrated Security=True;User
Instance=True"
ProviderName="System.Data.SqlClient"SelectCommand="SELECT [City] FROM [city]">
</asp:SqlDataSource>
</ContentTemplate>
</asp:UpdatePanel><br/><br/>
<asp:ButtonID="Btnsubmit"runat="server"Text="Submit"
onclick="Btnsubmit_Click"/>
<asp:ButtonID="Btncancel"runat="server"
Text="Cancel"/><br/><br/>
<asp:LabelID="Label1"runat="server"></asp:Label>
</div>
</asp:Content>
C# Coding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SClient;
using sconfig;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
publicpartialclassRegistration : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{
}
protectedvoid Drdlcountry_SelectIndexChange(object sender, EventArgs e)
{
string constr=ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlConnection con = newSqlConnection(constr);
con.Open();
SqlCommand cmd = newSqlCommand("select State from State where Country_Id=(select Distinct Country_Id from CountryState
where Country='" + Drdlcountry.SelectedItem.Text + "')", con);
SqlDataAdapter da = newSqlDataAdapter(cmd);
DataTable dt = newDataTable();
da.Fill(dt);
drdlstate.DataSource = dt;
drdlstate.DataTextField = "State";
drdlstate.DataBind();
con.Close();
}
protectedvoid drdlstate_SelectIndexChange(object sender, EventArgs e)
{
string constr = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlConnection con = newSqlConnection(constr);
con.Open();
SqlCommand cmd = newSqlCommand("Select City From City where State_Id=(select Distinct Country_Id from StateCity where
State='" +drdlstate.SelectedItem.Text +"')",con);
SqlDataAdapter da = newSqlDataAdapter(cmd);
DataTable dt = newDataTable();
da.Fill(dt);
Drdlcity.DataSource = dt;
Drdlcity.DataTextField = "City";
Drdlcity.DataBind();
con.Close();
}
protectedvoid Btncancel_Click(object sender, EventArgs e)
{
txtuname.Text = "";
txtpassword.Text = "";
txtrepass.Text = "";
txtdob.Text = "";
txtemail.Text = "";
txtcontact.Text = "";
txtaddress.Text = "";
}
protectedvoid Btnsubmit_Click(object sender, EventArgs e)
{
client.Registration(txtuname.Text,txtpassword.Text,txtrepass.Text,txtdob.Text,txtemail.Text,txtcontact.Text,Rbgender.SelectedItem.Te
xt,txtaddress.Text,Drdlcountry.SelectedItem.Text,drdlstate.SelectedItem.Text,Drdlcity.SelectedItem.Text);
Label1.Text = "Your Registration has been sucessfully";
}
}
Login Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Login.aspx.cs"Inherits=
"Login"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
<styletype="text/css">
.button
{
background-color:Red;
}
.button:hover
{
background-color:Green;
color:Blue;
}
</style>
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="login">
<center><pstyle="font-size: large; color: #333333; font-weight: bolder">Login Here</p></center><br/><br/>
<asp:LabelID="Lbllemial"runat="server"Text="Email Id"Font-Size="Large"Width="100px"></asp:Label>
<asp:TextBoxID="Txtlemail"runat="server"Width="200px"></asp:TextBox>
<asp:RegularExpressionValidatorID="Revlemail"runat="server"ErrorMessage=" Enter Valid
Email"ForeColor="Red"ValidationExpression="\w+([-+.']\w)*@\w+([-.]\w)*\.\w+
([-.]\w+)*"ControlToValidate="Txtlemail"></asp:RegularExpressionValidator><br/><br/>
<asp:LabelID="Lbllpass"runat="server"Text="Password"Font-Size="Large"Width="100px"></asp:Label>
<asp:TextBoxID="Txtlpass"runat="server"Width="200px"TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidatorID="Rfvlpass"runat="server"ErrorMessage="Enter The Password
"ForeColor="Red"ControlToValidate="Txtlpass"></asp:RequiredFieldValidator><br/><br/>
<asp:ButtonID="btnlogin"runat="server"Text="Login"ForeColor="Black"
Height="50px"Width="50px"onclick="btnlogin_Click1"CssClass="button"/><br/><br/>
If You Are Forget Password
<asp:LinkButtonID="Lbfpass"runat="server"PostBackUrl="~/Forget.aspx">Click Here</asp:LinkButton>
</div>
</asp:Content>
C# Coding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SClient;
using sconfig;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
publicpartialclassLogin : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{
}
CareeierPage
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Careeier.aspx.cs"Inherit
s="Careeier"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="post"style="font-style: oblique; font-size: medium; color: #333300;">
<pclass="para"> Career at Joomla Technology</p>
<palign="center">Joomla technolgy Offers you the freedom to be excellent; We are hiring smart,ambitious people
hho are too looking for a place their career.If you are Intrested to be its part send your resume
to our HR manager.
Mail your RESUME to our HR department at:[email protected]</p>
</div>
<divclass="carreier">
<asp:LabelID="lblname"runat="server"Text="Name"Font-Size="Large"Width="100px"></asp:Label>
<asp:TextBoxID="txtname"runat="server"Width="100px"></asp:TextBox><br/><br/>
<asp:LabelID="lblcemail"runat="server"Text="Email"Font-Size="Large"Width="100px"></asp:Label>
<asp:TextBoxID="txtcemail"runat="server"Width="100px"></asp:TextBox>
<asp:RegularExpressionValidatorID="RegularExpressionValidator1"runat="server"
ErrorMessage="Enter Email"ForeColor="Red"ControlToValidate="txtcemail"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator><br/><br/>
<asp:LabelID="lblresume"runat="server"Text=" Resume"Font-Size="Large"Width="100px"></asp:Label>
<asp:FileUploadID="FileUpload1"runat="server"/><br/><br/>
<asp:LabelID="lblcomment"runat="server"Text="Skills"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtcoment"runat="server"TextMode="MultiLine"Width="150px"></asp:TextBox><br/><br/>
<asp:ButtonID="btnsub"runat="server"Text="Submit"onclick="btnsub_Click"/><br/><br/>
<asp:LabelID="lblcarreier"runat="server"></asp:Label>
</div>
</asp:Content>
C# Coding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using sconfig;
using System.Data.SqlClient;
using SClient;
publicpartialclassCareeier : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{
}
protectedvoid btnsub_Click(object sender, EventArgs e)
{
FileUpload1.SaveAs(Server.MapPath("~/uploads/" + FileUpload1.FileName));
client.feedback(txtname.Text,txtcemail.Text,FileUpload1.FileName,txtcoment.Text);
}
}
Feedback Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Feedback.aspx.cs"Inher
its="Feedback"%>
<%@RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="asp"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<div>
<asp:ImageID="Image1"runat="server"ImageUrl="~/demo/images/9.jpg"Width="700px"/>
</div>
<divclass="feed">
<asp:ScriptManagerID="ScriptManager1"runat="server">
</asp:ScriptManager>
<h1style="font-size: x-large; text-decoration: underline; color: #FF0000"align="center">Feedback</h1>
<asp:UpdatePanelID="UpdatePanel1"runat="server">
<ContentTemplate>
<asp:LabelID="lblfename"runat="server"Text="Name"Font-Size="Large"Width="100px"></asp:Label>
<asp:TextBoxID="txtfename"runat="server"Width="200px"></asp:TextBox><br/><br/>
<asp:LabelID="lblfemail"runat="server"Text="Email Id"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtfemail"runat="server"Width="200px"></asp:TextBox><br/><br/>
<asp:LabelID="lblfmobile"runat="server"Text="Mobile No"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtfmobile"runat="server"Width="200px"></asp:TextBox>
<asp:FilteredTextBoxExtenderID="FilteredTextBoxExtender1"runat="server"FilterType="Numbers"TargetControlID="txtfmobile">
</asp:FilteredTextBoxExtender><br/><br/>
<asp:LabelID="lblcoment"runat="server"Text="Comment"Font-Size="Large"Width="100px"></asp:Label>
<asp:TextBoxID="txtcoment"runat="server"Width="250px"TextMode="MultiLine"></asp:TextBox><br/><br/></ContentTemplate>
</asp:UpdatePanel>
<asp:ButtonID="btnsubmit"runat="server"Text="Submit"
ForeColor="Green"onclick="btnsubmit_Click"/>
<asp:ButtonID="btnreset"runat="server"Text="Reset"ForeColor="Green"
onclick="btnreset_Click"/>
</div>
</asp:Content>
C#:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SClient;
using sconfig;
using System.Data.SqlClient;
publicpartialclassFeedback : System.Web.UI.Page
{
protectedvoid Page_Load(object sender, EventArgs e)
{
}
protectedvoid btnsubmit_Click(object sender, EventArgs e)
{
Query Page
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="Query.aspx.cs"Inherits
="Query"%>
<%@RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="asp"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="query">
<h1>Any Query</h1>
<asp:ScriptManagerID="ScriptManager1"runat="server">
</asp:ScriptManager>
<asp:LabelID="Lblqname"runat="server"Text="Name"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="Txtqname"runat="server"Width="200px"></asp:TextBox><br/><br/>
<asp:LabelID="Lblqemail"runat="server"Text="Email Id"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="Txtqemail"runat="server"Width="200px"></asp:TextBox>
<asp:RegularExpressionValidatorID="Revqemail"runat="server"
ErrorMessage="Enter Valid Email"ForeColor="Red"ControlToValidate="Txtqemail"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator><br/><br/>
<asp:LabelID="lblqmobile"runat="server"Text="Mobile"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtmobile"runat="server"Width="200px"></asp:TextBox>
<asp:FilteredTextBoxExtenderID="FilteredTextBoxExtender1"runat="server"TargetControlID="txtmobile"FilterType="Numbers">
</asp:FilteredTextBoxExtender><br/><br/>
<asp:LabelID="lblquery"runat="server"Text="Post Query"Width="100px"Font-Size="Large"></asp:Label>
<asp:TextBoxID="txtquery"runat="server"Width="200px"TextMode="MultiLine"></asp:TextBox><br/><br/>
<asp:ButtonID="Btnqsubmit"runat="server"
Text="Submit"onclick="Btnqsubmit_Click"/>
</div>
</asp:Content>
C# Coding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SClient;
using sconfig;
using System.Data.SqlClient;
publicpartialclassQuery : System.Web.UI.Page
{
<p>
<b>At Web Solutions, Our Experts know how to provide,</b></p>
<ul>
<li>User friendly and easy to navigate web designs.</li>
<li>Quality and feature rich web designs.</li>
<li>Optimizable and fast loading, SEO friendly web designs.</li>
<li>Animation and flash designs to grab the attention of the visitors.</li>
</ul>
<p><b>Do you own a site already? But still lagging behind in your business, then check why.</b></p>
<ul>
<li>Is your site up-to-date?</li>
<li>Does your site portray the professional image of your company?</li>
<li>Is your site search engine compatible?</li>
<li>Does your website generate leads?</li>
</ul>
<p>
If not, then it is high time to redesign your existing website. A website should be redesigned at frequent intervals in order to fine-tune
with the latest trends. We are keen in providing sites that are W3C validated.</p>
<p>
</div>
</asp:Content>
Technology
.NET
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="net.aspx.cs"Inherits="n
et"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="login">
<h1>.Net</h1>
<p>All the CS / IT graduates who wish to make their career in the software field dot net has a great future scope for them. Those
aspirants who are willing to become a dot net developer they should be able to visualize that dot net has a great scope in the future
versions of Microsoft products. The main reason behind this is technology is becoming complex every day with more customized and
user friendly applications. There are also changes in the buying patterns and expectations of the customers. So all the dot net
professionals must upgrade and modify themselves with the changing patterns of technology. They should gain expertise on advance
dot net technologies like Advance dot net, Silverlight, WCF, WPF Ajax etc.
</p>
<asp:ImageID="Image1"runat="server"ImageUrl="~/images/technology/download (2).jpg"/>
</div>
</asp:Content>
<
%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeFile="java.aspx.cs"Inherits="j
ava"%>
<asp:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">
</asp:Content>
<asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<divclass="login">
<h1> JAVA</h1>
<p>Our Company is working in Java Technology and provide the services to client and also development area .
Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D,
just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate
computing.
Java is one of the most important programming languages which is in top demand in the software industry. Most of the software
outsourcing firms and IT companies are using Java and J2EE based applications for its projects. Companies prefer using Java because
this programming language helps to develop world-class business solutions for clients in a cost effective manner.
Java platform offers a wonderful career growth for B.Tech professionals. If you have strong knowledge and understanding of Java and
J2EE applications, sound coding knowledge and clear concepts then you have tremendous opportunities as Java Developer. You have
various choices like depending on your interest you can go for video game java programmer, Web developer, Web master etc.
</p>
<asp:ImageID="Image1"runat="server"ImageUrl="~/images/technology/download.jpg"/>
</div>
</asp:Content>