Professional Documents
Culture Documents
Data Base
Data Base
Data Base
ON
CENTRE -
NAME
CENTR ADDRESS
Submitted By:
MBA IT
ROLL NO
SUBMITTING FOR THE PARTIAL FULLFILLMENT OF
THE REQUIREMENT OF THE DEGREE IN MASTER OF
BUSINESS ADMINISTRATION
Acknowledgement
On the very outset of this report, I would like to extend my sincere & heartfelt
obligation towards all the personages who have helped me in this endeavor. Without
their active guidance, help, cooperation & encouragement, I would not have made
headway in the project.
At last but not least gratitude goes to all of my friends who directly or indirectly
helped me to complete this project report.
Any omission in this brief acknowledgement does not mean lack of gratitude.
Thanking You
BONAFIDE CERTIFICATE:
SIGNATURE SIGNATURE
NAME -
-6-
CONTENTS
1. Abstract .........................................................................................................3
2. Introduction....................................................................................................5-7
3. System Analysis..............................................................................................8-11
4. Software Design.............................................................................................15-46
5. Database Design.............................................................................................47-85
7. Conclusion......................................................................................................94
8. Bibliography...................................................................................................95-97
-7-
ABSTRACT
employee’s personal data. The System consists of various users like the Administrator, HR
manager and Employees. Everyone have their own responsibilities.HR manager has the
privileges to add/delete the employees. Administrator registers the employees and allocates
the IDs for the employees. Employees can login and store their personal data.
deleting, editing the important addresses. Keeping employees contact records up-to-date
Features:
-8-
INTRODUCTION:
IMPLEMENTED FOR EMPLOYEES is a system which provides the addresses and details
of the employees. After registering with system, administrator allocates a personal id to the
employee. Employee can store his personal data in that account. Employee has a facility to
view an address book by category wise. Employee can modify his profile.
HR manager maintains the address book. If any person joins the organization, his
details entered in the address book. At the same time he may delete the employee from the
system. He can view the details of the total employees registered to the system.
Administrator has very important role compare to other persons are working with the
system. He can have a facility to view address book and details of all the employees and HR
managers too. Admin has a right to edit the details of the employees. He can delete
employee from a system. This is a system which provides full details and addresses of the
Features:
Admin has a right to view / edit the details and addresses of the employees
-9-
Admin can add new category to the select category optio
SYSTEM:
SYSTEM ANALYSIS:
information based on policies and plans of the organization and on user requirements and to
Objectives of system:
The main objective of the system is to maintain a record of the addresses and details of the
employees working in the organization. They keep update the document by adding and
deleting the addresses and details. It will be available to the top to bottom of the employees.
Objectives:
- 10 -
1. The job has developed with convenient modules of setting and editing of address
details as per the requirements so that they can be implemented easily and
productively.
3. HR manager is only responsible for the performance of team, he doesn’t have full
access. But administrator can view all records, this brings in security to the system
4. Employees can view their profiles and also they can modify their profile.
5. Employees have a facility to view address book and he will have a option to change
the password.
6. Admin has a right to add new category to the tool and he makes available this option
to the employees.
User Requirements:
1. Setting and editing details of employees working in the different departments in the
organization
- 11 -
HARDWARE & SOFTWARE SPECIFICATIONS
Web-Server : IIS
- 12 -
4.About UML:
The Unified Modeling Language allows the software engineer to express an analysis model
using the modeling notation that is governed by a set of syntactic semantic and pragmatic
rules.
A UML system is represented using five different views that describe the system from
follows.
ii. The analysis representation describes a usage scenario from the end-
users perspective.
i. In this model the data and functionality are arrived from inside the
system.
- 13 -
It represents the dynamic of behavioral as parts of the system, depicting the
In this the structural and behavioral aspects of the environment in which the
UML Analysis modeling, this focuses on the user model and structural model views
of the system.
Use case Diagrams represent the functionality of the system from a user’s point of view. Use
cases are used during requirements elicitation and analysis to represent the functionality of
the system. Use cases focus on the behavior of the system from external point of view.
Actors are external entities that interact with the system. Examples of actors include users
like administrator, bank customer …etc., or another system like central database.
UML DIAGRAMS
UML Diagrams
- 14 -
A use case diagram is a diagram that shows a set of use cases and actors and
relationships.
Contents
Use case commonly contain
Use cases
Actors
Dependency, generalization and association relationships
<<include>>
Login Validation
Address Book
Employee Administrator
Category
Member
- 15 -
Administrator Use Case
Login
Permission
Employees
Address Book
Administrator
Category
Member
Logout
- 16 -
HR Manager Use Case
Login
Permission
Employees
HR Manager
Change Password
Logout
- 17 -
Employee Use Case
Login
Address Book
Category
Employee
Member
Change Password
Logout
- 18 -
Class Diagram
HRManager
Registration
ID : string
username : string 1..1
type : string login
query : string username : string
scheme : string password : string
1..1 1..1
validation : void
createquery() 1..1
create() 1..1 view()
update() close()
delete() validation()
view()
close()
0..n 1..n
Address Book
1..1 ID : string Employees
type : string
ID : string
Admin streetname : string
Type : string
username : string place : string
Address : string
password : string description : string
email : string
permission : string 0..n date : date
query : string
1..1 0..n 0..n
create() create()
create()
update() update()
update()
delete() delete()
delete()
clear() close()
close()
view() view()
view()
close()
0..n
1..1 Category
0..n
ID : string
1..1 type : string
name : string
0..n
create() 0..n
update()
delete()
view()
close()
Member
ID : string
type : string
name : string
0..n category : string
0..n
create()
update()
delete()
view()
close()
- 19 -
ACTIVITY DIAGRAM:
An activity diagram shows the flow from activity to activity. An activity is an ongoing non-
atomic execution within a state machine.
Activities ultimately result in some action, which is made up of executable atomic
computations that result in a change in state of the system or the return of a value.
Activity diagrams commonly contain
Activity states and action states
Transitions
Objects
Like all other diagrams, activity diagrams may contain notes and constrains.
Login Process
Providing
Credentials
Retry
<<No>>
Validation
<<YES>>
Services
- 20 -
Registration Process
Provide
Services
admin validation
Providing
Credentials
<<yes>>
<<NO>>
Invalidate
details
- 21 -
Administrator Process
Login
validation
Create/Upd
ate/Delete
Permissions
Logout
- 22 -
HR Manager Process
Login
validation
Employees
Create/Upd
ate/Delete
Permission
s
Logout
- 23 -
Employee Process
Login
validation
Create/Upd
ate/Delete
Logout
SEQUENCE DIAGRAM
An interaction diagram shows an interaction, consisting of a set of objects and their
relationships, including the messages that may be dispatched among them.
A sequence diagram is an interaction diagram that emphasizes the time ordering of
messages.
- 24 -
Graphically, a sequence diagram is a table that shows objects arranged along x-axis
and messages, ordered in increasing time, along the y-axis.
Contents
Sequence diagrams commonly contain the following:
Objects
Links
Messages
Like all other diagrams, sequence diagrams may contain notes and constrains.
Administrator Sequence
: Administrator
1: login request
valid
response
2: create
3: create
response
4: create
response
5: create
response
6: create
response
- 25 -
HR Manager Sequence
response
2: create
3: create
response
- 26 -
Employee Sequence
1: submit form
verify
confirmation
3: create
response
4: create
response
5: create
response
C
COLLABORATION DIAGRAM
- Collaboration is a society of classes, interfaces, and other elements that work together to
provide some cooperative behavior that’s bigger than the sum of all its parts.
- 27 -
- Collaboration is also the specification of how an element, such as a classifier or an
operation, is realized by a set of classifiers and associations playing specific roles used in a
specific way
Contents
Collaboration diagrams commonly contain the following:
Objects
Links
Messages
Like all other diagrams, sequence diagrams may contain notes and constrains.
Administrator Collaboration
2: valid
4: 2: create
:login :permission
1: 1: login request
5: 3: create
3: response
6: response
:employee
: Administrator 9: 5: create
10: response
7: 4: create :category
:address
book
:member
- 28 -
Login Collaboration
1: valid
:login
2: 1: login request
3: response
5: 3: create
4: 2: create 6: response
: HR Manager
:employee
:permissio
n
- 29 -
Employee Collaboration
2: verify
5: valid
:register
1: 1: submit form
4: 2: login request :login
3: confirmation
6: response
7: 3: create
: Employee
8: response
11: 5: create
9: 4: create :address
10: response 12: response book
:member
:category
- 30 -
COMPONENT DIAGRAM:
Database
ADO.NET
DEPLOYMENT DIAGRAM
- A deployment diagram is a diagram that shows the configuration of run time processing
nodes and the components that live on them.
- Graphically, a deployment diagram is collection of vertices and arcs.
Contents
- Deployment diagram commonly contain the following things:
Nodes
Dependency and association relationships
- Like all other diagrams, deployment diagrams may contain notes and constraints.
- Deployment diagrams may also contain components, each of which must live on some
node.
- 31 -
- Deployment diagrams may also contain packages or subsystems, both of which are used
to group elements of your model into larger chunks.
Database Server
MSSQL Server
Application Server
VS.NET
USER
ASP.NET
Application
Web
Browser
- 32 -
ER-Diagram
- 33 -
Table Name:
Employee Details
- 34 -
Employee Registration Details
Members Details
- 35 -
New EMP Details
A Category Detail
- 36 -
Use Members Details
- 37 -
Welcome.aspx
</table>
<table background="BackGround.jpg" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="right">
<asp:Label ID="lblName" runat="server" Text="Rahul Saxena" Font-Bold="true" Font-
Size="16pt"
ForeColor="#6600ff"></asp:Label><br /><br />
<asp:Label ID="lblEmail" runat="server" Text="Email: 14rahulsaxena@gmail.com"
Font-Bold="true" Font-Size="14pt" ForeColor="#6600ff"></asp:Label>
</td><td width="5%"></td></tr>
<tr><td Height="43px"></td></tr>
</table>
- 38 -
</div>
</form>
</body>
</html>
Welcome.aspx.cs is:
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;
}
protected void btnInside_Click(object sender, EventArgs e)
{
Response.Redirect("AllRecord.aspx");
}
protected void StartAddress(object sender, ImageClickEventArgs e)
{
Response.Redirect("AllRecord.aspx");
}
}
AllRecord.aspx
- 39 -
OnClick="SearchRecord" />
<asp:Image ID="ImgMove" runat="server" ImageUrl="~/ball1-a.gif" />
<asp:Label ID="lblSearch" Text="All Address" runat="server" Font-Bold="true"
ForeColor="#ff6600"
Font-Size="16pt"> </asp:Label>
<asp:Image ID="ImgDate" runat="server" ImageUrl="~/hourglass-b.gif" />
<asp:Label ID="lblShowTime" runat="server" Text="Date" Font-Bold="true">
</asp:Label>
<asp:Label ID="lbltime" runat="server"></asp:Label>
</td></tr>
<tr><td height="5px"></td></tr>
<tr><td width="10px"></td>
<td><table background="BackGround.jpg" cellpadding="0" cellspacing="0"
height="100%" border="0" width="100%">
<tr><td height="25px"></td></tr>
<tr><td width="10px"></td><td align="center" >
<asp:DataGrid ID="GridAllRecord" runat="server" AutoGenerateColumns="false"
Width="90%"
DataKeyField="ID"
PagerStyle-HorizontalAlign="Center" BorderStyle="ridge" GridLines="Both"
BorderWidth="2px" BorderColor ="white" BackColor="white"
CellPadding="3" CellSpacing="1"
OnEditCommand="EditAddress" OnDeleteCommand="AddressDelete"
OnItemCommand="Grid_ItemCommand" AllowSorting="true" PageSize=5
OnPageIndexChanged="GridAllRecord_PageIndexChanged"
AllowPaging="true">
<FooterStyle ForeColor="Black" BackColor="#C6C3C6"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="#FFFFFF"
BackColor="#A53A6A"></HeaderStyle>
<FooterStyle BackColor="beige" />
<PagerStyle Font-Bold="true" Mode=NumericPages Font-Underline="true"/>
<Columns>
<asp:BoundColumn DataField=ID HeaderText="ID" Visible="false">
<ItemStyle BackColor="graytext" />
<HeaderStyle BackColor="graytext" />
</asp:BoundColumn>
- 40 -
</asp:BoundColumn>
AllRecord.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
- 41 -
cmd.CommandText = "select ID,FirstName,LastName, Mobile, PersonelEmail from record";
da = new SqlDataAdapter(cmd);
cmd.Connection = con;
da.Fill(ds);
con.Open();
cmd.ExecuteNonQuery();
GridAllRecord.DataSource = ds;
GridAllRecord.DataBind();
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
Response.Redirect("Register.aspx");
}
- 42 -
int UpadteAddress = int.Parse(e.Item.Cells[0].Text);
cmd.CommandText = "delete from Record where ID=" + UpadteAddress;
cmd.Connection = con;
con.Open();
cmd.ExecuteNonQuery();
con.Close();
GridAllRecord.EditItemIndex=-1;
rebind();
}
UpdateRecord
<tr><td align="center">
<table cellpadding="0" cellspacing="0" width="80%" border="0" align="center">
<tr><td align="center" style="border-bottom:2px solid;">
<asp:Label ID="lblName" runat="server" Text="Update Personnel Information"
Font-Bold="true"
Font-Size="14pt" ForeColor="#0099ff"></asp:Label> </td>
<td align="center" style="border-bottom:2px solid;">
<asp:Label ID="Label1" runat="server" Text="Update Professional Information"
Font-Bold="true"
Font-Size="14pt" ForeColor="#ff6600"></asp:Label></td></tr>
<tr><td align="center">
<table>
<tr><td>
<marquee><asp:Label ID="lblPersonnelInformation" runat="server"
Text="Personnel Information" Font-Bold="True"
ForeColor=ActiveCaption></asp:Label>
</marquee> </td> </tr>
<tr><td align="left"><asp:Label ID="lblFirstNmae" Text="First Name"
runat="server" Width="100px"
ForeColor=ActiveCaption></asp:Label>
<asp:TextBox ID="txtFirstName" runat="server"
Enabled=false></asp:TextBox>
</td></tr>
<tr><td align="left"><asp:Label ID="lblMiddleName" Text="Middle Name"
runat="server"
Width="100px" ForeColor=ActiveCaption> </asp:Label>
<asp:TextBox ID="txtMiddleName" runat="server"
Enabled=false>
</asp:TextBox>
</td></tr>
- 43 -
<tr><td align="left"><asp:Label ID="lblLastName" Text="Last Name"
runat="server" Width="100px"
ForeColor=ActiveCaption></asp:Label>
<asp:TextBox ID="txtLastName" runat="server"
Enabled=false></asp:TextBox>
</td></tr>
<tr><td align="left"><asp:Label ID="lblHomePhone" Text="Home Phone"
runat="server" Width="100px"
ForeColor=ActiveCaption> </asp:Label>
<asp:TextBox ID="txtHomePhone" runat="server"></asp:TextBox>
</td></tr>
<tr><td align="left"><asp:Label ID="lblMobile" Text="Mobile" runat="server"
Width="100px"
ForeColor=ActiveCaption></asp:Label>
<asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
</td></tr>
<tr><td align="left"><asp:Label ID="lblPersonelEmail" Text="Email"
runat="server" Width="100px"
ForeColor=ActiveCaption></asp:Label>
<asp:TextBox ID="txtPersonnelEmail" runat="server"></asp:TextBox>
</td></tr>
</table></td>
<td>
<table>
<tr><td><marquee> <asp:Label ID="lblOfficeInformation" runat="server"
Text="Official Information"
Font-Bold="True" ForeColor="Chocolate"> </asp:Label>
</marquee></td></tr>
<tr><td align="left"><asp:Label ID="lblCompany" Text="Company"
runat="server" Width="100px"
ForeColor="Chocolate"></asp:Label>
<asp:TextBox ID="txtCompany" runat="server"> </asp:TextBox>
</td></tr>
- 44 -
<tr><td align="left"> <asp:Label ID="lblOfficeEmail" Text="Office Email"
runat="server"
Width="100px" ForeColor="Chocolate" ></asp:Label>
<asp:TextBox ID="txtOfficeEmail" runat="server"></asp:TextBox>
</td></tr>
</table></td>
</tr>
<tr><td><asp:Label ID="Label2" runat="server" Width="120px" Text="Address"
Font-Bold="true"
ForeColor=ActiveCaption></asp:Label>
<asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine">
</asp:TextBox>
</td></tr>
</table></td></tr>
<tr><td height="5px"></td></tr>
<tr><td align="center" height="50px"> <asp:Button ID="btnUpdateRecord" runat="server"
Text="Update The Record" Width="303px" OnClick="UpdateRecord_Click" />
<asp:ImageButton ID="ImageMain" runat="server" ImageUrl="~/5ar04a.gif"
OnClick="Main_Click"
ToolTip="Click Here To Go On All Record"/> </td></tr>
</table>
</div>
</form>
</body>
</html>
UpdateRecord.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
- 45 -
protected void UpdateRecord_Click(object sender, EventArgs e)
{
int IDUpdate = int.Parse(Session["UpadteAddressID"].ToString());
con = new SqlConnection(connect);
cmd.CommandText = "update Record set Jobtype='" + txtJobTitle.Text + "' , Company='" +
txtCompany.Text + "', WebSite='" + txtWebSite.Text + "', OfficePhone='" + txtOfficePhone.Text + "',
HomePhone='" + txtHomePhone.Text + "',Mobile='" + txtMobile.Text + "', Fax='" + txtFax.Text + "',
OfficialEmail='" + txtOfficeEmail.Text + "', PersonelEmail='" + txtPersonnelEmail.Text + "',
Address='"+txtAddress.Text+"' where ID="+IDUpdate;;
cmd.Connection = con;
con.Open();
cmd.ExecuteNonQuery();
con.Close();
}
- 46 -
Home Page
HR Manager Login
- 47 -
HR Manager Role Dependent Menu Screen
- 48 -
Delete Employee
Change Password
- 49 -
Logout
Administrator Login
- 50 -
Admin Role Dependent Screen
- 51 -
Add New Category
- 52 -
Edit Members
Delete Members
- 53 -
View Employee Details
Employee Registration
- 54 -
Delete Employee
Edit Employee
- 55 -
Change Password
Logout
- 56 -
Employee Login
- 57 -
View Address Book
- 58 -
Add new Members
Edit Members
- 59 -
Delete Members
Edit Profile
- 60 -
Change Password
Logout
- 61 -
- 62 -
Conclusion:
The project has been appreciated by all the users in the organization.
It is easy to use, since it uses the GUI provided in the user dialog.
The following books were referred during the analysis and execution phase of the project
SOFTWARE ENGINEERING
By Roger.S. Pressman
COMPLETE HTML
Steven Holzner
By Jain
By Evangeleous Petereous
MSDN 2005
By Microsoft
- 63 -