Performance Instrumentation for PL/SQL: When, Why, How
PROJECT REPORT
1. PROJECT REPORT
ON
EXIT MANAGEMENT SYSTEM
Training Period : 10 May,2016 to 13 June,2016
Assembled By:-
Ayush Anand
Nilesh Deepak
Rani Dey
Simran
Suraj Kumar Jaiswal
Sushvi Sinha
Project Guide:
Mr. Shrijan Chaudhary
2. 1. INTRODUCTION
This project alludes to EMS(Exit Management System) which is a process within
many ITS to terminate employees contracts in professional manner.
This process will also ensure that access privileges are revoked when a person
leaves and may also covers other issues such as clearances of loans,
accommodation, medical and credit cards to ensure that security integrity is
maintained.
2. PURPOSE
It applies to the employees who have resigned and those who
have been terminated by the company.
When an employee is terminated there are number of considerations that an
organization needs to make in order to cleanly and the relationship between a
company and an employee. The company as a legal entity has a responsibility to
the employee which may extend beyond the period of employment and this is the
primary focus of exit procedure.
3. BACKGROUND
3.1. Problems of Existing System
This system already subsists manually which is time taking.
EMS is complex as any manual error can result in unreasonable clashing of
clearances.
The most common manual fallacy is when data get lost or displaced then it is
difficult to retrieve them.
It is hectic to update, delete or alter manually
3. 4. PROPOSED SYSTEM
4.1. System Objectives
Accuracy of information
System exists manually and work for manual labor
Pending or Approved clearances of employees can be known by Dashboard
4.2. Scope
In Scope
Geographical – This application is limited to the registered employee of TATA
STEEL, Jamshedpur.
Technology-
Web based application.
Analysis, Design and Implement IT Systems.
Project management.
Out Of Scope
Geographical – Not Applicable
Technology-Not Applicable.
4. 4.3Code
4.3.1 Dashboard
The Dashboard serves as the homepage and takes in PNO from the user login. It
contains two tabs namely APPROVED and PENDING, which displays the
GridView of the employees with respective statuses.
<--! Default.aspx-->
<p class="lead">
<asp:Button ID="approved" runat="server" Text="Approved
onclick="approved_Click"/>
<asp:Button ID="pending" runat="server" Text="Pending"
onclick="pending_Click"/>
</p>
The following is the codefor Database connectivity using VB.NET and respective
OnClick functions of the HTML code.
'Default.aspx.vb
Imports System.Data
Imports System.IO
Imports System.Data.SqlClient
Imports System.Data.Sql
Partial Class _Default
Inherits System.Web.UI.Page
Dim dt As New DataTable
Dim conn As New SqlConnection
Dim da As SqlDataAdapter
Dim comndobj As New SqlCommand
'Database Connectivity
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim strConnString As String = "Data
Source=(LocalDB)v11.0;AttachDbFilename=c:Usersacerdocumentsvisual studio
2013WebSitesWebSite4App_DataDatabase.mdf;Integrated Security=True"
Try
conn.ConnectionString = strConnString
If conn.State = ConnectionState.Closed Then
conn.Open()
End If
Catch ex As Exception
End Try
End Sub
'OnClick function for APPROVED button
Protected Sub approved_Click(sender As Object, e As EventArgs)
comndobj.Connection = conn
5. comndobj.CommandType = CommandType.Text
comndobj.CommandText = "SELECT
M.PNO,M.NAME,M.DEPT,M.PROLL,M.DOJ,M.DOB,M.MAIL,M.PHNO from T_EMP_MASTER M, T_EMP_CLEAR C
where C.PNO=M.PNO AND C.STATUS='A'"
da = New SqlDataAdapter(comndobj)
da.Fill(dt)
grdEmpMaster.DataSource = dt
grdEmpMaster.DataBind()
conn.Close()
End Sub
'OnClick function for PENDING button
Protected Sub pending_Click(sender As Object, e As EventArgs)
comndobj.Connection = conn
comndobj.CommandType = CommandType.Text
comndobj.CommandText = "SELECT
M.PNO,M.NAME,M.DEPT,M.PROLL,M.DOJ,M.DOB,M.MAIL,M.PHNO from T_EMP_MASTER M, T_EMP_CLEAR C
where C.PNO=M.PNO AND C.STATUS='P'"
da = New SqlDataAdapter(comndobj)
da.Fill(dt)
grdEmpMaster.DataSource = dt
grdEmpMaster.DataBind()
conn.Close()
End Sub
End Class
4.3.2 Forms Page
In this page the AutoPostBack function fetches the values from the table
T_EMP_MASTERand places them in a GridView on text change in the textbox.
<--! AUTOPOSTBACK --!>
<p>
<asp:Label ID="Label2" runat="server" Text="Enter Personal No."></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true"
OnTextChanged="ReqView"></asp:TextBox>
</p>
'Forms.aspx.vb
'AutoPostback Function
Protected Sub ReqView(ByVal sender As Object, ByVal e As EventArgs)
Dim comndobj1 As New SqlCommand
Dim s As String
comndobj.Connection = conn
If conn.State = ConnectionState.Closed Then
conn.Open()
End If
comndobj.CommandType = CommandType.Text
comndobj.CommandText = "SELECT * FROM T_EMP_MASTER where PNO=@Str"
6. comndobj.Parameters.Add("@Str", SqlDbType.Int).Value = TextBox1.Text
Dim valueExistsInDB As Boolean = CBool(CInt(comndobj.ExecuteScalar()) > 0)
conn.Close()
If valueExistsInDB = False Then
'conn.Close()
MsgBox("Enter a valid Personal number")
End If
da = New SqlDataAdapter(comndobj)
da.Fill(dt)
Gridview1.DataSource = dt
Gridview1.DataBind()
conn.Close()
End Sub
Below the GridView are the options for setting the status of the clearances from
various department.
10. 5.TOOLS USED
The project has been developed using “.Net” framework.The language used for
the coding was “VB.NET and HTML”.
The designing has been done using “CSS(CascadingStyle Sheet)” .
The database for storing the data was designed through “MYSQL” database.