Sei sulla pagina 1di 66

SENIOR RESOURCE SELECTION PROCESS BY PSYCHOMETRIC SYSTEM

ABSTRACT
This project is entitled “SENIOR RESOURCE SELECTION PROCESS BY
PSYCHOMETRIC SYSTEM” is going to develop by using Microsoft.Net as Front-End with Sql
server as Back-End. The intention behind this system is to validate and analysis the performance
of the resources (specialist programmers, Project Managers, Senior HRs) are processed and
ranked by this web tool. The main objective of this system to reduce the manual interaction
instead of that we use a display screen. This system is a prototype for the next generation of
resource ranking systems. It processes the client’s resource skills and numbers it according to
their skill sets. The Web admin takes care of the processing rounds registered in our website. The
performance analysis are done according to their experience, quality, EQs and many more tests
conducted and rate it. This system is platform independent and can be used by any kind of
learner. It is designed with robust and easy to implement in any network places. It is highly
scalable and provides the feasible updates to make this project efficient and handle by any kind
of user.
INTRODUCTION

Resource selection is the main obstacle for the development of India. It


leads to the poverty and compels the youth to take some wrong decisions. So
as to check unemployment to some extent, Government has introduced the
employment exchanges in order to provide assistance for the jobseekers.
Through this, many public sectors had recruited the employees. Hence
everyone had developed a passion of getting government jobs. That is why,
people rush to employment exchanges to get seniority over others. But the
current status of the employment exchanges in Tamilnadu creates the stress
to a person in the modern world. If a person wants to register their name in
employment exchange, then he or she is compelled to go to their native district.
This creates unnecessary tension, workload and time consumption. In modern
India, most of the things are computerized. This encourages us to do this
project. Our project links the employment exchanges in Tamilnadu as a single
network and to computerize all the procedures involved in the employment
exchanges. This enables a person to register their name even at home, if a
computer with net connection is available. This avoids unnecessary tension,
reduces the manual workload and greatly reduces the time consumption.
SYSTEM ANALYSIS

EXISTING SYSTEM
There is no such kind of existing for the proposed model because it’s a new idea created
and implemented. Some corporate are using the third party tools to conduct the
psychometric tests for resource selection are there but not refreshed and maintained
well.

DEMERITS:

 Free web based Existing systems are not browser independent.

 Login processes are controlled by the different domain web admin.

 Inline CSS settings vary by web server that causes incontinences for user.

 Existing systems are not extensible and updateable for new ones because of the license
expiry process by the admin of the third party company.

 Rating skills are not tested in elaborate manner.

 Web Server dependent lead to optimization problem.


PROPOSED SYSTEM

In the proposed system the company use the automated own product to interaction to select
specialist programmers, project managers and senior HR's, now the company uses the web tool
to identify the person earlier and reduce the manual interaction to minimize the time .This tool
helps to find the person as much as earlier than the manual process.

MERITS:

 This proposed resource manager is very handy to select the perfect employee by viewing
our allocate it.

 This website is browser independent.

 Proper Styles and CSS applied to attract the viewers.

 All the server cache rules are followed by the designer of the website.

 Employee skills are properly validated form can be added to the admin options.

 This website is highly swift loading capacity and easy to use.


SYSTEM REQUIREMENTS

HARDWARE SPECIFICATION

Processor : Intel Pentium IV Dual Core 2.8 GHz


Hard Disk : 160 GB

Monitor : LG 17” Color Monitor

RAM : 1 GB

Keyboard : 104 Keys Multimedia Keyboard

Mouse : Logitech Optical Mouse

CD – ROM : 52X CD-ROM.

SOFTWARE SPECIFICATION

Server Side Programming : ASP.NET

Middleware Programming : C#

Operating System : Windows XP Professional (Service Pack 2)

Web Server : Internet Information Server

Client Script : HTML, CSS and Java Script

Database : SQL-Server 2005 Express Edition


Module description

This system has divided into several modules to carry out the assigned task to find the perfect
resource for the unlimited search programs has been implemented by the corporate.

1. Home Page

2. Login

3. Resource Test Tracker

4. Psychometric Test Tracker

5. Admin

6. Test Uploader

7. Results

6. Reports

Home Page
This module is used to guide the corporate admin, clients and employees to exploits this project
and known to work with the use of sitemap was provided for the new persons and also shows the banners
regarding to the recruiting programs with proper mechanisms to use the features of this system.

Login

Each user those who are logged into this system ought to authenticated by the SSL enabled
security login process, clients and others those who are enter into the site for various purposes and they
can be authenticated and authorized by the rules and authorize them and add verbs to the transactions.
Resource Test Scheduler

The main objective of this module is to carry out the psychometric tests for the senior level
interview to find the perfect resource with different screen test to be handled. It facilitates the resource
information and employee tracking options set up by integration disparate processes, people and systems
It capture data such as resource id name Salary details, location, domain, Type of organization, customer
details, general description of each and every employee of the concern.

Resource Tracker

This module mainly deals with the internal process of resources those who done the screening
tests and psychometric tests by the admin of this system and keep track with the resource scheduler. It
includes the stock manual and edits options with unique auto generated resource id. It contains resource
name, type, date, appraisal and status details are stored in the central database.

Admin

The admin has the overall control of the resource rating system. It includes resource options,
salary options, data tracker, resource allocation and other updates and view log and generate reports.

Reports

This module generates the crystal reports according to client requested formats (xml, pdf, word).
DATAFLOW DIAGRAM

Resource
Metric
Resource
Tracker DATA
USER LOGIN SERVER
Admin
PROCESSSS
Reports
USECASE DIAGRAM

login

view the questions

Applicant

Enter the user details


DataServer

User

Upload the resume

Verify the user details


HR Manager
User connecting to server

Server responding

User sets the path to save the


file from server

Server sends data to user

Enter the user details

Upload resume

HR manager check user details


Sequence diagram

Resource Test Assigned Resource admin


scheduler task tracker

User Server
1. Sending a
request to
server

2.Responding
Uer

3. resource
information
and
employee
4. tracking
Screen test

5.Pshychomet
ric test

6. Receiving
files from
server
Collaboration diagram

User

Send Request

Server
Receive file

Send Response

Resource Resource Screen and


Information Tracker Pshychometric
test
Activity diagram

Get username
password

[checktries<3]

Display the Invalid data


Error
[condition:Verify Username and
password

Vaild

invaild[Tries>3]
Access the
system

4.1 TECHNICAL BACKGROUND


4.1.1 Dot Net
The .NET Framework is an integral Windows component that supports
building and running the next generation of applications and XML Web services. It
is the latest platform from Microsoft, and it provides a multi language environment
that enables you to develop, deploy and run web-based applications and services.

4.1.1.1 Components of the .Net Framework

The .NET framework is composed of classes and services that form a layer
between applications and the operating system. It consists of the following two
main components.

 Common Language Runtime (CLR)


 .NET Framework class library

4.1.1.2 Common Language Runtime (CLR)

The CLR is the runtime environment of the .NET framework that executes
and manages all running codes. The CLR is described as the “Execution Engine”
of .Net. The CLR manages the execution of programs and provides core services,
such as code compilation, memory allocation, thread management and garbage
collection. CLR supports

 Common Type System(CTS)


 Common Language Specification(CLS)

4.1.1.3 Common Language Specification (CLS)

It is a set of rules that a language compiler must adhere, in order to create


.NET Applications that run in the CLR. If you are going to create a compiler for
.NET, you have to adhere to the rules enumerated in the common language
specification and this enables us to create a club of CLS compliant languages.

Each such compiler will have the following features:

 Complete access to .NET Framework hierarchy


 High level of interoperability with other compliant languages

4.1.1.4 Common Type System (CTS)

CTS support a variety of types and operations found in most programming


languages and therefore calling one language from another does not require any
type conversions. This feature helps the .Net framework to support multiple
languages.

4.1.1.5 Working of CLR

When the .Net program is compiled, the output of the compiler is not an
executable file. But the file contains a special type of code called the Microsoft
Intermediate Language (MSIL), which is a low-level set of instructions understood
by the CLR. This MSIL defines a set of portable instructions that are independent
of any specific CPU.

It is the job of the CLR to translate this Intermediate code into an executable
code when the program is executed making the program to run in any environment
for which the CLR is implemented. And that is how the .Net framework achieves
portability. The MSIL is turned into executable code using JIT (Just In Time)
compiler. The code that has executed by the CLR is called as Managed code. On
the other hand Unmanaged Code is directly executed by the computer’s CPU.
To run in the .NET Framework, an EXE or DLL must contain code
generated by a compiler in MSIL format, plus information called "Metadata" that
describes all the types, fields and functions defined by the module.

4.1.1.6 .Net Framework Class Library (FCL)

FCL is a huge collection of language-independent and type-safe reusable


classes. The FCL arranged into a logical grouping according to their functionality
and usability is called as Namespaces. The System namespace is at the top of the
hierarchy and contains all other classes. The System namespace contains various
other namespaces such as System.Web (ASP.Net), System.Data (ADO.Net),
System.Xml, System.Winforms, System.Drawing.

4.1.1.7 .Net Languages

The .Net framework is language neutral. Currently, we can use a number of


languages for developing .Net applications. The .Net native languages include C#,
C++, Visual Basic, JScript. Other third party languages supported by .Net are
COBOL, Eiffel, Perl, Python, Smalltalk, Mercury, Scheme.

4.1.2 ASP.Net (Active Server Page .Net)

ASP.NET is the latest offering from Microsoft towards the creation of


server-side scripting. ASP.NET has better language support, a large set of new
controls, XML-based components, and better user authentication. ASP.Net uses
ADO.Net and supports languages such as Visual Basic, C# and JScript.

Fundamentally an ASP.NET page is just the same as an HTML page. An


HTML page has the extension .htm. If a browser requests an HTML page from the
server, the server sends the page to the browser without any modifications. An
ASP.NET page has the extension .aspx. If a browser requests an ASP.NET page,
the server processes any executable code in the page, before the result is sent back
to the browser. The ASP.NET page above does not contain any executable code, so
nothing is executed. Therefore ASP.Net codes run on the server, not on the
browser.

4.1.2.1 ASP.NET - Server Controls

Server controls are tags that are understood by the server. There are three
kinds of server controls:

 HTML Server Controls - Traditional HTML tags


 Web Server Controls - New ASP.NET tags

 Validation Server Controls - For input validation

4.1.2.2 ASP.NET - HTML Server Controls

HTML server controls are HTML tags understood by the server. HTML
elements in ASP.NET files are, by default, treated as text. To make these elements
programmable, add a runat="server" attribute to the HTML element. This attribute
indicates that the element should be treated as a server control. All HTML server
controls must be within a <form> tag with the runat="server" attribute. The
runat="server" attribute indicates that the form should be processed on the server.
It also indicates that the enclosed controls can be accessed by server scripts.

4.1.2.3 ASP.NET - Web Server Controls

Web server controls are special ASP.NET tags understood by the server.
Like HTML server controls, Web server controls are also created on the server and
they require a runat="server" attribute to work. However, Web server controls do
not necessarily map to any existing HTML elements and they may represent more
complex elements. The syntax for creating a Web server control is:

<asp:control_name id="some_id" runat="server" />

4.1.2.4 ASP.NET - Validation Server Controls

Validation server controls are used to validate user-input. If the user-input


does not pass validation, it will display an error message to the user. Each
validation control performs a specific type of validation (like validating against a
specific value or a range of values). The syntax for creating a Validation server
control is:

<asp:control_name id="some_id" runat="server" />

4.1.2.5 ASP.NET - Event Handlers


 The Page_Load Event
The Page_Load event is one of many events that ASP.NET
understands. The Page_Load event is triggered when a page loads, and ASP.NET
will automatically call the subroutine Page_Load, and execute the code inside it.

 The Page.IsPostBack Property

The Page_Load subroutine runs EVERY time the page is loaded. If you
want to execute the code in the Page_Load subroutine only the FIRST time the
page is loaded, you can use the Page.IsPostBack property. If the Page.IsPostBack
property is false, the page is loaded for the first time, if it is true, the page is posted
back to the server (i.e. from a button click on a form).
4.1.2.6 ASP.NET Web Forms

All server controls must appear within a <form> tag, and the <form> tag
must contain the runat="server" attribute. The runat="server" attribute indicates
that the form should be processed on the server. An .aspx page can only contain
one <form runat="server"> control.

4.1.3 ADO.Net

ADO.Net is expanded as ActiveX Data Object .Net. ADO.Net provides a


way to connect to the data source such as SQL Server and to manipulate the data
within it. One key feature of ADO.Net is that it provides classes and methods for
accessing a database in a disconnected sort of way. ADO.Net is a part of .Net
framework and it is entirely based on XML. Two central components of ADO.Net
are Data Provider and Dataset.

4.1.3.1 Data Provider

The data provider is the set of classes that used to interact with the database
and the program. The data provider can be ODBC Data provider, OleDB Data
provider, Oracle Data provider, SQL Data provider, Borland Data provider.Data
provider helps to connect, retrieve, update and delete data from the database.
Specifically four key classes are used as the part of data provider

1. Connection Object
2. Command Object

3. Data Reader

4. Data Adapter
4.1.3.2 Connection Object

Connection Object helps to identify the database server, database name,


password and other parameters required for connecting to the database.
XXXConnection class method is used to create a connection. For example

SqlConnection con = new SqlConnection (“Data Source = (Local);Initial


Catalog=Northwind; Integrated Security=SSPI ” );

The SqlConnection class provides all the properties and methods needed to make a
connection to a Microsoft SQL database. This class cannot be inherited.

4.1.3.3 Command Object

Command Object allows us to interact with the database by means of SQL


statements. XXXCommand class method is used to create a command object. For
example
Cmd = new SqlCommand();
Cmd.CommandType =CommandType.Text;
Cmd.CommandText = “insert into Northwind values(”+Id+” ,‘ ”+Name+” ’) ” ;
4.1.3.4 Data Reader

After executing a command, you need to retrieve the data returned by the
command. To do so, the Data reader object is used. Data Reader is a special class
that enables you to easily and efficiently read data from the database. The
downside of the Data Reader is that it can only read data. That is it can only pull
the data from the stream in a sequential manner.
4.1.3.5 Data Adapters

ADO.Net uses disconnected data architecture, which is implemented using


the datasets. The dataset is a virtual database that stores the data retrieved from any
data source. Data adapters are the set of objects used to communicate between a
data source and a dataset. Adapters are used to exchange data between a data
source and a dataset. In many applications, this means reading data from a database
into a dataset, and then writing changed data from the dataset back to the database.
However, a data adapter can move data between any source and a dataset.

4.1.3.6 Dataset

The Dataset, which is an in-memory cache of data retrieved from a data


source, is a major component of the ADO.NET architecture. After you connect to
the data source, execute commands and retrieve the results using the .Net data
provider, there is a need to store the retrieved data. This is where the dataset comes
into the picture. As mentioned previously, data retrieved from the database can be
stored in the dataset which is a virtual database. Unlike DataReader object that
stores only one row at a time, the dataset can store multiple tables. Classes
associated with a Dataset object are DataTable, DataRow, DataColumn and
DataRelation.

4.1.4 C#

C# is a new language designed by Microsoft to work with the .NET


framework. "C# is a simple, modern, object oriented, and type-safe programming
language derived from C and C++. C# (pronounced “C sharp”) is firmly planted in
the C and C++ family tree of languages, and will immediately be familiar to C and
C++ programmers. C# aims to combine the high productivity of Visual Basic and
the raw power of C++."

4.1.4.1 Applications of C#

 Console Applications
 Windows Application
 Developing Windows control
 Developing ASP.Net projects
 Creating Web controls
 Providing Web services
 Developing .Net component library

4.1.4.2 Key features of C#

 C# is a simple and powerful programming language for writing enterprise


edition applications.
 This is a hybrid of C++ and VB. It retains many features in the area
statements, expressions and operators.

 C# compiles straight from source code to executable code, with no object


files.

 C# helps the developers to easily build the web services that can be used
across the Internet through any language, or any platform.

 C# helps the developers accomplishing with fewer lines of code that will
lead to the fewer errors in the code.
 C# introduces the considerable improvement and innovations in areas
such as type safety, versioning, events and garbage collections.

C# reduces the errors in the following ways:

 Variables in C# automatically initialize the environment.


 Variables are type safe.

 Garbage collection relieves the programmer of the burden of manual


memory management.

 Reduces the ongoing development costs with built-in support for the
versioning.

4.1.5 Visual Studio .Net

Visual Studio is a complete set of development tools for building ASP.NET


Web applications, XML Web Services, desktop applications, and mobile
applications. Visual Basic, Visual C++, Visual C#, and Visual J# all use the same
integrated development environment (IDE), which allows them to share tools and
facilitates in the creation of mixed-language solutions. In addition, these languages
leverage the functionality of the .NET Framework, which provides access to key
technologies that simplify the development of ASP Web applications and XML
Web Services. Visual C#.Net supports the CLR, therefore any code written in
Visual C#.Net is managed code. The IDE provides various templates, designers
and wizards that helps to create applications in Visual C#.Net.

4.1.6 SQL
SQL stands for Structured Query Language. SQL is used to communicate
with a database. According to ANSI (American National Standards Institute), it is
the standard language for relational database management systems.SQL statements
are used to perform tasks such as insert, update, delete and retrieve data from a
database. Some common relational database management systems that use SQL
are: Oracle, Sybase, Microsoft SQL Server, Access etc. The standard SQL
commands such as “Select”, “Insert”, “Update”, ”Delete”, ”Create”, and “Drop”
can be used to accomplish almost everything that one needs to do with a database.

4.1.6.1 Table Basics

A relational database system contains one of more objects called tables.


The data or information for the database is stored in these tables. Tables are
uniquely identified by their names and are comprised of columns and rows.
Columns contain the column name, data type, and any other attributes for the
column. Rows contain the records or data for the columns.

4.1.7 Microsoft SQL Server 2005

Microsoft SQL Server 2005 is a database platform for large scale Online
Transaction Processing (OLTP) and Online Analytical processing (OLAP).The
components that provide various database services in SQL server 2005:

1. SQL Server Database Engine


2. SQL Server Analysis Services
3. SQL Server Reporting Services
4. SQL Server Notification Services
5. SQL Server Integration Services

4.1.7.1 SQL Server Editions


SQL Server 2005 has different editions to meet the needs of business of
varying sizes and varying database requirements. Various SQL Server 2005
editions are SQL Server 2005 Enterprise Edition, SQL Server 2005 Standard
Edition, SQL Server 2005 Workgroup Edition, SQL Server 2005 Developer
Edition and SQL Server 2005 Mobile Edition.

4.1.7.2 Data Types in SQL Server 2005

Exact numerics

The data types used to represent exact numerics are bigint, int, smallint,

tinyint, bit, decimal, numeric, money and smallmoney.

Approximate numerics
The data types used to represent approximate numerics are float and real.

Datetime and Smalldatetime

Type From To

datetime (3.33 milliseconds accuracy) Jan 1, 1753 Dec 31, 9999

smalldatetime (1 minute accuracy) Jan 1, 1900 Jun 6, 2079

Character Strings

Type Description

Fixed-length non-Unicode character data with a maximum length of


char
8,000 characters.

varchar Variable-length non-Unicode data with max of 8,000 characters.

varchar(max Variable-length non-Unicode data with a maximum length of 2 31


) characters (SQL Server 2005 only).

Variable-length non-Unicode data with a maximum length of


text
2,147,483,647 characters.

  Unicode Character Strings

Type Description

nchar Fixed-length Unicode data with a maximum length of 4,000 characters.

Variable-length Unicode data with a maximum length of 4,000


nvarchar
characters.

Variable-length Unicode data with a maximum length of 230 characters


nvarchar(max)
(SQL Server 2005 only).

Variable-length Unicode data with a maximum length of 1,073,741,823


ntext
characters.

The SQL Server 2005 allows the user to store, process and secure their data.
SYSTEM TESTING

The purpose of testing is to discover errors. Testing is the process of trying to discover every
conceivable fault or weakness in a work product. It provides a way to check the functionality of
components sub assembles and/or a finished product. It is the process of exercising software with the
intent of ensuring that the software system meets its requirements and user expectations and does not fail
in an unacceptable manner. There are various types of test. Each test type addresses a specific testing
requirement.

7.3.1 Integration Testing:

Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that although the

11

components were individually satisfaction, as shown by successfully unit testing, the combination
of components is correct and consistent. Integration testing is specifically aimed at exposing the
problems that arise from the combination of components.

7.3.2 Unit Testing:

Unit testing involves the design of test cases that the internal program logic is functioning
properly, and that program inputs produce valid outputs. All decision branches and internal code
flow should be validated. It is the testing of individual software units of the application. It is done
after the completion of an individual unit before integration. This is a structural testing, that relies
on knowledge of its construction and is invasive. Unit tests performs basic tests at component
level and test a specific business process, application and/or system configuration. Unit tests
ensure that each unique path of a business process performs accurately to the documented
specifications and contains clearly defined inputs and expected results.
7.3.3 Functional Testing:

Function tests provide a systematic demonstration that functions tested are available as
specified by the business and technical requirements, system documentation and user manuals.

Functional testing is centered on the following items:

Valid Input :Identified classes of valid input must be accepted.

Invalid Input :Identified classes of invalid input must be rejected.

Functions :Identified functions must be exercised.

Output :Identified classes of application outputs must be exercised

System/Procedures :Inter facing systems or procedures must be invoked. Organization and


preparation of functional tests is focused on requirements, key functions, or special test cases. In addition,
systematic coverage pertaining to identify. Business process flows, data fields, predefined processes, and
successive processes must be considered for testing. Before functional testing is complete, additional tests
are identified and the effective value of current tests is determined.

CONCLUSION
This project is entitled as Web Based Resource Rating System was successfully
completed. And the three phases namely system analysis, system design, system implementation
are thoroughly tested with live data. The objective of the project is to implement the overall
resource selection by using the advanced psychometric test patterns of the firm through
automated tests carry out by the admin.

In this project after testing the following conclusion are made

* The online process relationship information system management eliminates the most of
the manual work.

* The system helps in efficient time consumption.

* This advanced software application makes the flexible, cost effective and provide
employee detail.

FUTURE ENHANCEMENT
The future work of this tool carries the company uses this system for rating the client
resource skill and numbers it according to the skill test, the web admin takes care of the
processing rounds for register candidates in our website. The performance analysis are also be
done according to their experience quality many test are conducted and rated according to it

In the current system the company uses pattern questions to select specialist
programmers, project managers and senior HR's, now the company uses the web tool to identify
the person earlier and reduce the manual interaction to minimize the time .This tool helps to find
the person as much as earlier than the manual process.

The web tool describes the different questions, stress questions, leadership interviews
are conducted by the company’s intranet web servers, this helps to reduce the processing time
and interact with the selected person directly. So this web tool used to select the experience
person as much as easier than the existing available tools.
OUTPUT SCREEN SHOTS
Db Design
SOURCE CODE
<%@ Application Language="C#" %>

<script runat="server">

void Application_Start(object sender, EventArgs e)


{
// Code that runs on application startup

void Application_End(object sender, EventArgs e)


{
// Code that runs on application shutdown

void Application_Error(object sender, EventArgs e)


{
// Code that runs when an unhandled error occurs

void Session_Start(object sender, EventArgs e)


{
// Code that runs when a new session is started
Session["User"] = "";
Session["Admin"] = "";

void Session_End(object sender, EventArgs e)


{
// Code that runs when a session ends.
// Note: The Session_End event is raised only when the sessionstate
mode
// is set to InProc in the Web.config file. If session mode is set to
StateServer
// or SQLServer, the event is not raised.

</script>

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.Data.SqlClient;

public partial class Login : System.Web.UI.Page


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["dbcon"].ConnectionString
);
SqlCommand cmd;
SqlDataAdapter da;
SqlDataReader dr;
DataSet ds;
DataTable dt;
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("Newuserreg.aspx");
}
protected void Login1_Authenticate1(object sender, AuthenticateEventArgs
e)
{
int flag = 0;
con.Open();
Session["i"] = 1;
cmd = new SqlCommand("select * from Register where Username='" +
Login1.UserName + "'", con);
dr = cmd.ExecuteReader();
if (dr.Read())
{
flag = 1;
Session["User"] = Login1.UserName.ToString();
Response.Redirect("Examtype.aspx");

}
cmd.Dispose();
dr.Dispose();
if (flag == 0)
{
//cmd=new SqlCommand("insert into login values('" +
Login1.UserName + "','" + Login1.Password + "')",con);
//cmd.ExecuteNonQuery();
Login1.FailureText = "Invalid UserName Or Password";
}
con.Close();
}
}
<%@ Page Language="C#" MasterPageFile="~/Menu.master" AutoEventWireup="true"
CodeFile="Home.aspx.cs" Inherits="Home" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">

<marquee direction="left"style="width: 763px; height: 185px"> <asp:Panel


ID="Panel2" runat="server" Height="1px" Width="749px">
<asp:Image ID="Image3" runat="server" Height="98px"
ImageUrl="~/Images/k2.jpg" Width="169px" />&nbsp;<asp:Image
ID="Image5" runat="server" Height="91px"
ImageUrl="~/Images/s1.jpg" Width="170px" />&nbsp;<asp:Image
ID="Image4" runat="server" Height="97px"
ImageUrl="~/Images/group1.PNG" Width="168px" />&nbsp;<asp:Image
ID="Image6" runat="server" Height="97px"
ImageUrl="~/Images/group2.jpg" Width="167px" />
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
<br />

</asp:Panel></marquee>
<br />
<br />
<p style="background-color: #cece66; color: #0000cc;">
Online Survey &nbsp;Tool &nbsp;is a web tool is used to develop
fantastic&nbsp;
Survey for the given input and output to the web admin and outptut
generated forms and used to maintain the Statistics .This is the world's
largest developer and publisher of International Standards.

It is a network of the national standards institutes conducted surveys in


leading industries and&nbsp; with a Central Secretariat in Geneva,
Switzerland, that coordinates the system.

It is a non-governmental organization that forms a bridge between the public


and private sectors. On the one hand, many of its member institutes are part
of the governmental structure of their countries, or are mandated by their
government. On the other hand, other members have their roots uniquely in the
private sector, having been set up by national partnerships of industry
associations.

Therefore, It enables a consensus to be reached on solutions that meet both


the requirements of business and the broader needs of society.

Because "International Organization for Standardization" would have different


acronyms in different languages ("IOS" in English, "OIN" in French for
Organisation internationale de normalisation), its founders decided to give it
also a short, all-purpose name. They chose "ISO", derived from the Greek isos,
meaning "equal". Whatever the country, whatever the language, the short form
of the organization's name is always ISO.
Why standards matter

Standards make an enormous and positive contribution to most aspects of our


lives.
Standards ensure desirable characteristics of products and services such as
quality, environmental friendliness, safety, reliability, efficiency and
interchangeability - and at an economical cost.

When products and services meet our expectations, we tend to take this for
granted and be unaware of the role of standards. However, when standards are
absent, we soon notice. We soon care when products turn out to be of poor
quality, do not fit, are incompatible with equipment that we already have, are
unreliable or dangerous.

When products, systems, machinery and devices work well and safely, it is
often because they meet standards. And the organization responsible for many
thousands of the standards which benefit the world is ISO.

When standards are absent, we soon notice.

</p>

</asp:Content>

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Menu.master.cs"


Inherits="Menu" %>

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


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

<html xmlns="http://www.w3.org/1999/xhtml" >


<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
&nbsp;
<table style="z-index: 100; left: 43px; width: 849px;
position:absolute;top : 0px" bgcolor="white">
<tr>
<td style="width: 1625px">
<asp:Image ID="Image1" runat="server" Height="151px"
Width="871px" ImageUrl="~/images/head_bckg1.jpg" /></td>
</tr>
<tr>
<td style="width: 1625px">
<asp:Menu ID="Menu1" runat="server" Height="24px"
Orientation="Horizontal" Width="872px" style="text-align: center; border-
bottom: yellow thin ridge; font-family: Verdana, Monospace; background-color:
lavender;" Font-Bold="False" Font-Size="Small" ForeColor="Black">
<Items>
<asp:MenuItem Text="Home" Value="Home"
NavigateUrl="Home.aspx"></asp:MenuItem>
<asp:MenuItem Text="Login" Value="Login"
NavigateUrl="Login.aspx"></asp:MenuItem>
<asp:MenuItem Text="Post Survey" Value="Post
Survey" NavigateUrl="Survey.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Survey Admin"
Value="SurveyAdmin" NavigateUrl="Admin.aspx"></asp:MenuItem>
<asp:MenuItem NavigateUrl="Reports.aspx"
Text="Reports" Value="Reports">
</asp:MenuItem>
<asp:MenuItem NavigateUrl="Logout.aspx"
Text="Logout" Value="Logout"></asp:MenuItem>
</Items>
</asp:Menu>
</td>
</tr>
<tr>
<td style="width: 1625px; height: 375px;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
&nbsp;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td style="width: 1625px; height: 26px">
<asp:Label ID="Label1" runat="server" BackColor="Lavender"
ForeColor="Lavender" Text="Label"
Width="871px"></asp:Label></td>
</tr>
</table>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

</div>
</form>
</body>
</html>

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.Data.SqlClient;

public partial class Newuserreg : System.Web.UI.Page


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["dbcon"].ConnectionString
);
SqlCommand cmd;
SqlDataAdapter da;
SqlDataReader dr;
DataSet ds;
DataTable dt;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Ddldistrict.Items.Add("Select");
Ddlstate.Items.Add("Select");
Ddlcountry.Items.Add("Select");
Ddlcountry.Items.Add("India");
Ddlcountry.Items.Add("Pakistan");
Ddlcountry.Items.Add("Bangladesh");
Ddlcountry.Items.Add("Srilanka");

}
}
protected void txtsubscribe_Click(object sender, EventArgs e)
{
string Username, Password, Sex, Mobileno, District, State, Country,
Address, Email;
string get_date = Txtdate.Text.Trim();
string Date = string.Format(@"{0:DD\MM\YYYY}", get_date).ToString();
Username = txtusername.Text;
Password = txtpassword.Text;
Session["User"] = Username;
if (RdbFemale.Checked == true)
{
Sex = RdbFemale.Text;
}
else
{
Sex = RdbMale.Text;
}
String occupation = ddloccupation.SelectedItem.Text;
Mobileno = txtmobileno.Text;
Country = Ddlcountry.SelectedItem.Text;
State = Ddlstate.SelectedItem.Text;
District = Ddldistrict.SelectedItem.Text;
Address = txtaddress.Text;
Email = txtemail.Text;
try
{
con.Open();
cmd = new SqlCommand("insert into Register values('" + Username +
"','" + Password + "','" + Sex + "','" + Date + "','" + occupation + "','" +
Mobileno + "','" + Country + "','" + State + "','" + District + "','" +
Address + "', '" + Email + "')", con);
cmd.ExecuteNonQuery();
Response.Write("<script type=text/javascript>alert('Data
registered');</script>");
Response.Redirect("Projectmetric.aspx");
}
catch (Exception Ex)
{
string exe = Ex.Message;
Response.Write(exe);
}
finally
{
con.Dispose();
}

}
protected void txtcancel_Click(object sender, EventArgs e)
{
txtpassword.Text = " ";
txtmobileno.Text = " ";
txtaddress.Text = " ";
txtemail.Text = " ";
}
}

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;

public partial class Adminoptions : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{

if (Session["Admin"] == "")
{
Response.Redirect("Admin.aspx");
}
else
{
lbluser.Text = "Welcome " + " " +
Session["Admin"].ToString();
// txtname.Text = Session["Admin"].ToString();
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("createstudent.aspx");
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("createcustomer.aspx");
}
}

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.Data.SqlClient;

public partial class Newuserreg : System.Web.UI.Page


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["dbcon"].ConnectionString
);
SqlCommand cmd;
SqlDataAdapter da;
SqlDataReader dr;
DataSet ds;
DataTable dt;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Ddldistrict.Items.Add("Select");
Ddlstate.Items.Add("Select");
Ddlcountry.Items.Add("Select");
Ddlcountry.Items.Add("India");
Ddlcountry.Items.Add("Pakistan");
Ddlcountry.Items.Add("Bangladesh");
Ddlcountry.Items.Add("Srilanka");
}
}
protected void txtsubscribe_Click(object sender, EventArgs e)
{
string Username, Password, Sex, Mobileno, District, State, Country,
Address, Email;
string get_date = Txtdate.Text.Trim();
string Date = string.Format(@"{0:DD\MM\YYYY}", get_date).ToString();
Username = txtusername.Text;
Password = txtpassword.Text;
Session["User"] = Username;
if (RdbFemale.Checked == true)
{
Sex = RdbFemale.Text;
}
else
{
Sex = RdbMale.Text;
}
String occupation = ddloccupation.SelectedItem.Text;
Mobileno = txtmobileno.Text;
Country = Ddlcountry.SelectedItem.Text;
State = Ddlstate.SelectedItem.Text;
District = Ddldistrict.SelectedItem.Text;
Address = txtaddress.Text;
Email = txtemail.Text;
try
{
con.Open();
cmd = new SqlCommand("insert into Register values('" + Username +
"','" + Password + "','" + Sex + "','" + Date + "','" + occupation + "','" +
Mobileno + "','" + Country + "','" + State + "','" + District + "','" +
Address + "', '" + Email + "')", con);
cmd.ExecuteNonQuery();
Response.Write("<script type=text/javascript>alert('Data
registered');</script>");
Response.Redirect("Projectmetric.aspx");
}
catch (Exception Ex)
{
string exe = Ex.Message;
Response.Write(exe);
}
finally
{
con.Dispose();
}

}
protected void txtcancel_Click(object sender, EventArgs e)
{
txtpassword.Text = " ";
txtmobileno.Text = " ";
txtaddress.Text = " ";
txtemail.Text = " ";
}
}

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;

public partial class Adminoptions : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{

if (Session["Admin"] == "")
{
Response.Redirect("Admin.aspx");
}
else
{
lbluser.Text = "Welcome " + " " +
Session["Admin"].ToString();
// txtname.Text = Session["Admin"].ToString();
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("createstudent.aspx");
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("createcustomer.aspx");
}
}

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.Data.SqlClient;

public partial class Newuserreg : System.Web.UI.Page


{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["dbcon"].ConnectionString
);
SqlCommand cmd;
SqlDataAdapter da;
SqlDataReader dr;
DataSet ds;
DataTable dt;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Ddldistrict.Items.Add("Select");
Ddlstate.Items.Add("Select");
Ddlcountry.Items.Add("Select");
Ddlcountry.Items.Add("India");
Ddlcountry.Items.Add("Pakistan");
Ddlcountry.Items.Add("Bangladesh");
Ddlcountry.Items.Add("Srilanka");

}
}
protected void txtsubscribe_Click(object sender, EventArgs e)
{
string Username, Password, Sex, Mobileno, District, State, Country,
Address, Email;
string get_date = Txtdate.Text.Trim();
string Date = string.Format(@"{0:DD\MM\YYYY}", get_date).ToString();
Username = txtusername.Text;
Password = txtpassword.Text;
Session["User"] = Username;
if (RdbFemale.Checked == true)
{
Sex = RdbFemale.Text;
}
else
{
Sex = RdbMale.Text;
}
String occupation = ddloccupation.SelectedItem.Text;
Mobileno = txtmobileno.Text;
Country = Ddlcountry.SelectedItem.Text;
State = Ddlstate.SelectedItem.Text;
District = Ddldistrict.SelectedItem.Text;
Address = txtaddress.Text;
Email = txtemail.Text;
try
{
con.Open();
cmd = new SqlCommand("insert into Register values('" + Username +
"','" + Password + "','" + Sex + "','" + Date + "','" + occupation + "','" +
Mobileno + "','" + Country + "','" + State + "','" + District + "','" +
Address + "', '" + Email + "')", con);
cmd.ExecuteNonQuery();
Response.Write("<script type=text/javascript>alert('Data
registered');</script>");
Response.Redirect("Projectmetric.aspx");
}
catch (Exception Ex)
{
string exe = Ex.Message;
Response.Write(exe);
}
finally
{
con.Dispose();
}

}
protected void txtcancel_Click(object sender, EventArgs e)
{
txtpassword.Text = " ";
txtmobileno.Text = " ";
txtaddress.Text = " ";
txtemail.Text = " ";
}
}

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;

public partial class Adminoptions : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{

if (Session["Admin"] == "")
{
Response.Redirect("Admin.aspx");
}
else
{
lbluser.Text = "Welcome " + " " +
Session["Admin"].ToString();
// txtname.Text = Session["Admin"].ToString();
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("createstudent.aspx");
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("createcustomer.aspx");
}
}
REFERENCES

BOOKS

[1] “Microsoft ASP.NET” - Pooja Bembey anda


Kuljit Kaur.

[2] “Teach Yourself SQL-SERVER” - Shaum Series

[3] “Learn ADO.NET” - Vijay Mukhi

[4] “Professional Active Server Pages.NET” - Alex Homer and co Works, 1999.

[5] “Beginning Asp.Net in c# - Imar Spannjaars

[6] “Asp.Net 4 in c# - Matthew MacDonald, Adam

Freeman

WEBSITES

1) www.microsoftsqlserver.com
2) www.pureasp.net.com
3) www.w3schools.com
4) www.microsoftc#.com
5) www.nettutorials.com

Potrebbero piacerti anche