Вы находитесь на странице: 1из 45

1

1arlnder Slngh Anu vlnesh al


PR0}ECT REP0RT
0N
ENPL0YEE NANAuENENT SYSTEN
Submitteu foi
BATABASE PR0}ECT



SUBMITTED TO
SHAILENDRA VERMA





-SUBMTED BY

TARNDER SNGH
VNESH PAL


1arlnder Slngh Anu vlnesh al
ACKNOWLEDGEMENT

The satisIaction that accompanies that the successIul completion oI
any task would be incomplete without the mention oI people whose
ceaseless cooperation made it possible, whose constant guidance
and encouragement crown all eIIorts with success.
We are grateIul to our project guide Mrs. Shallendra verma Ior the
guidance, inspiration and constructive suggestions that helpIul us in
the preparation oI this project.
We also thank our colleagues who have helped in successIul
completion oI the project.

1arlnder Slngh Anu vlnesh al
!REFACE
This project report is submitted Ior the completion oI database
management system project

This report documents the EM!LOYEE MANAGEMENT
SYSTEM. This is comprehensive application soItware that can
maintain and handles all details Ior the employee system used in any
Iirm .

While developing this project, I was involved with system analysis,
design and implementation process. This is a sample report describing in
detail various aspects oI the system. I have used waterIall model Ior
designing.







--DEVELJPERS--
1A8lnuL8 SlnCP
0061010710

vlnLSP AL
0041010710


4
1arlnder Slngh Anu vlnesh al

Table oI Contents
8 N0

60NTENT PACE N0.
1 lNT00uCTl0N T0 APPLlCATl0N 1
3 FEA3l8lLlTY 3Tu0Y
1. TYPE3 0F FEA3l8lLlTY
2. w0RKlN0 0F PRE3ENT 3Y3TEV
3. 0RAw8ACK3
1. PR0P03E0 3Y3TEV

0ATA8A3E
1. ER 0lA0RAV
2. RELATl0NAL 0ATA83E 0E0lN
3. 0ATA83E 0EC0VP03lTl0N
1. REALATl0NAL 0ATA8A3E
8
30L 0uERlE3 T0 CREATE 0ATA83E AN0
TA8LE3
13
EVPL0YEE VANA0EVENT 3Y3TEV 0ul
0ETAlL3
1Z
7 0E3l0NlN0 AN0 C00lN0 AN0 3CREEN
3l0T3
18
8 0lFFERENT PlA3E3 0F 0EvEL0PVENT
PR0CE33
1. RE0ulREVENT ANALY3l3
2. 30FTwARE 0E3l0N
3. C00lN0
1. TE3TlN0
5. 3Y3TEV 0E3l0N

82
12 lVPLEVENTATl0N 13
13 FuTuRE 3C0PE 11
1 C0NCLu3l0N 15
15 8l8Ll00RAPlY 15

1arlnder Slngh Anu vlnesh al
Introduction
1 !urpose:-
The purpose oI this application are as Iollows :
O The soItware is Ior automation oI employee management system.
O It provides Iollowing Iacilities.
1. Search any employee`s detail
2. Advance search oI any employee consisting complex queries
3. Add a employee in the database with Iull details
4. Remove a employee Irom the database
5. Add project inIormation in to the database
6. Remove/ update project inIormation in to the database
7. Keep track oI all inIormation according to the departments
8. Update /Remove department inIormation Irom the database
9. Provide a user Iriendly graphical user interIace.
10. Provide inIormation regarding hours and salary, according to project,
department, employee.
Scope :
The diIIerent areas where we can use this application
are :
a) 0Any education institute can make use this Ior educational purpose
b) 0Any Iirm can use this to maintain inIormation about their employee , project
and departments
c) 0It can be used in oIIices and modiIications can be
easily done according to requirements.

Technology Used :
A. Concepts oI Database management system
B. Concepts oI programming(visual C#)
C. Concepts oI soItware engineering
D. Visual studio 2010
E. SQL SERVER 2008 R2
F. SQL Quires

Assumptions
1. This application can be used as online application.
2. Customized data will be used in this application.

6
1arlnder Slngh Anu vlnesh al

Overview :
Project is related to Employee management which is specially designed on the
working principal oI a Iirm Ior managing employees.
Employees details can be inserted, deleted, and updated accordingly

7
1arlnder Slngh Anu vlnesh al
FeasibiIity Study
The Ieasibility study is basically the test oI the proposed system in the light oI its
workability, meeting user`s requirements, eIIective use oI resources and .oI course,
the cost eIIectiveness. The main goal oI Ieasibility study is not to solve the
problem but to achieve the scope. In the process oI Ieasibility study, the cost and
beneIits are estimated with greater accuracy.
Type of feasibilities:
1 Economic Feasibility
Economic analysis is the most Irequently used technique Ior evaluating the
eIIectiveness oI a proposed system. More commonly known as cost / beneIit
analysis; in this procedure we determine the beneIits and savings that are expected
Irom a proposed system and compare them with costs. We Iound the beneIits
outweigh the costs; we take a decision to design and implement the new proposed
system.
Technical Feasibility
This is concerned with speciIying equipment and soItware that will successIully
satisIy the user requirement. The technical needs oI the system may vary
considerably, but might include:
The Iacility to produce outputs in a given time.
Response time under certain conditions.
Ability to process a certain volume oI transaction at a particular speed.
Facility to communicate data to distant location.
AIter examining technical Ieasibility, we give more importance to the
conIiguration oI the system than the actual make oI hardware. The conIiguration
gives the complete picture about the system's requirements: Ten to twelve
workstations are required; these units should be interconnected through LAN so
that they could operate and communicate smoothly. They should have enough
speeds oI input and output to achieve a particular quality oI printing.
Operational Feasibility

1arlnder Slngh Anu vlnesh al
It is mainly related to human organizational and political aspects. The points to be
considered are:
What changes will be brought with the system?
What organizational structures are disturbed?
What new skills will be required? Do the existing staII members have these
skills?
II not, can they be trained in due course oI time?
Generally project will not be rejected simply because oI operational inIeasibility
but such considerations are likely to critically aIIect the nature and scope oI the
eventual recommendations.
For operational Ieasibility study we appointed a small group oI people who are
Iamiliar with inIormation system techniques, who understand the parts oI the
business that are relevant to the project and are skilled in system analysis and
design process.
1. .

DRAWBACKS OF !RESENT SYSTEM
Some oI the problems being Iaced in manual system are as
Iollows:
1. All steps are time consuming.
2. Tracing a emplyee is diIIicult is very diIIicult and time consuming
3. Some inIormation data is not maintained.
4. There is no daily backup.
5. No central database can be created as inIormation is
not available in database.



1arlnder Slngh Anu vlnesh al
DATABASE
ER DIAGRAM


10
1arlnder Slngh Anu vlnesh al

RELATIONAL DATABASE DEGIN BY ER
DIAGRAM



11
1arlnder Slngh Anu vlnesh al

DECOMPOSITION INTO NORMALIZATION
Degree oI normalization is 3
rd
Normal Form





1
1arlnder Slngh Anu vlnesh al

kLLA1ICNAL DA1A8SL MCDLL ICk LMLCLL
MANAGLMLN1 SS1LM



1
1arlnder Slngh Anu vlnesh al

SQL QUERIES TO CREATE DATABASE


CREATE DATABASE

CREATE DATABASE EMP_DATABASE, JN PRIMARY
( NAME = N'EMP_DATABASE', FILENAME = N'G:\Tarinder\B.tech\5thsem
project\database\EMP_DATABASE.mdf' , SIZE = 2048KB , MAXSIZE =
UNLIMITED, FILEGRJWTH = 1024KB )
LJG JN
( NAME = N'EMP_DATABASE_log', FILENAME =
N'G:\Tarinder\B.tech\5thsem
project\database\EMP_DATABASE_log.ldf' , SIZE = 1024KB , MAXSIZE
= 2048GB , FILEGRJWTH = 10%)
GJ
CREATE TABLES

USE EMP_DATABASE,
GJ

CREATE TABLE dbo,.department,(
dname, varchar,(15) NJT NULL,
dnumber, varchar,(1) NJT NULL,
mgeno, varchar,(10) NJT NULL,
mgstartdate, varchar,(15) NULL,
CJNSTRAINT PK_department, PRIMARY KEY CLUSTERED
(
dnumber, ASC
)WITH (PAD_INDEX = JFF, STATISTICS_NJRECJMPUTE = JFF,
IGNJRE_DUP_KEY = JFF, ALLJW_RJW_LJCKS = JN, ALLJW_PAGE_LJCKS =
JN) JN PRIMARY,
) JN PRIMARY,


14
1arlnder Slngh Anu vlnesh al
_______________________________________________________________


CREATE TABLE dbo,.dept_location,(
dnumber, varchar,(1) NJT NULL,
dlocation, varchar,(25) NJT NULL,
CJNSTRAINT PK_dept_location, PRIMARY KEY CLUSTERED
(
dnumber, ASC,
dlocation, ASC
)WITH (PAD_INDEX = JFF, STATISTICS_NJRECJMPUTE = JFF,
IGNJRE_DUP_KEY = JFF, ALLJW_RJW_LJCKS = JN, ALLJW_PAGE_LJCKS =
JN) JN PRIMARY,
) JN PRIMARY,


_____________________________________________________________


CREATE TABLE dbo,.employee,(
fname, varchar,(20) NJT NULL,
initial, nchar,(1) NULL,
lname, varchar,(20) NJT NULL,
eno, varchar,(10) NJT NULL,
dob, varchar,(20) NJT NULL,
address, varchar,(50) NJT NULL,
sex, varchar,(20) NJT NULL,
salary, decimal,(10, 2) NULL,
supereno, varchar,(10) NULL,
dno, varchar,(1) NJT NULL,
CJNSTRAINT PK_employee, PRIMARY KEY CLUSTERED
(
eno, ASC
1
1arlnder Slngh Anu vlnesh al
)WITH (PAD_INDEX = JFF, STATISTICS_NJRECJMPUTE = JFF,
IGNJRE_DUP_KEY = JFF, ALLJW_RJW_LJCKS = JN, ALLJW_PAGE_LJCKS =
JN) JN PRIMARY,
) JN PRIMARY,

_______________________________________________________________



CREATE TABLE dbo,.project,(
pname, varchar,(20) NJT NULL,
pnumber, varchar,(5) NJT NULL,
plocation, varchar,(25) NULL,
dnum, varchar,(1) NJT NULL,
CJNSTRAINT PK_project, PRIMARY KEY CLUSTERED
(
pnumber, ASC
)WITH (PAD_INDEX = JFF, STATISTICS_NJRECJMPUTE = JFF,
IGNJRE_DUP_KEY = JFF, ALLJW_RJW_LJCKS = JN, ALLJW_PAGE_LJCKS =
JN) JN PRIMARY,
) JN PRIMARY,

16
1arlnder Slngh Anu vlnesh al
________________________________________________________________
______________


CREATE TABLE dbo,.work_on,(
eeno, varchar,(10) NJT NULL,
pno, varchar,(5) NJT NULL,
hours, decimal,(3, 1) NULL,
CJNSTRAINT PK_work_on, PRIMARY KEY CLUSTERED
(
eeno, ASC,
pno, ASC
)WITH (PAD_INDEX = JFF, STATISTICS_NJRECJMPUTE = JFF,
IGNJRE_DUP_KEY = JFF, ALLJW_RJW_LJCKS = JN, ALLJW_PAGE_LJCKS =
JN) JN PRIMARY,
) JN PRIMARY,


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


17
1arlnder Slngh Anu vlnesh al
EM!LOYEE MANAGEMENT
SYSTEM



FHS AtAlYSlS.

Ms|sts|ss||||t, |sis\ .e
|,s|smst|s ssm,|s\|t, .I|+
|s,t| sl |s|s.|tssss .I
||sss ssa,||s .e
||sss |l ssis .I.I|
1
1arlnder Slngh Anu vlnesh al
CODING AND SCREENSHOTS

8CC8AMCS
usng System,
usng System.Co11ectons.6enerc,
usng System.lnq,
usng System.Wndows.Iorms,

namespace emp1oyee
{
statc c1ass rogram
{
,,, <summary>
,,, 1he man entry pont 1or the app1caton.
,,, <,summary>
jS1^1hread
statc vod Man{)
{

^pp1caton.Lnab1evsua1Sty1es{),
^pp1caton.SetCompatb1e1ext8enderng0e1au1t{1a1se),
^pp1caton.8un{new start{)),
)
)
)

1
1arlnder Slngh Anu vlnesh al

S1A81

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
namespace emp1oyee
{
pub1c parta1 c1ass start : Iorm
{
man ob,
pub1c start{)
{
1nta1zeComponent{),
)
prvate vod tmer_1ck{obect sender, Lvent^rgs e)
{
1 {progress8ar.va1ue < )
progress8ar.va1ue += ,
e1se
{
ob = new man{),
ob.Show{),

tmer.Lnab1ed = 1a1se,
ths.ude{),
)

)
)
)
0
1arlnder Slngh Anu vlnesh al
MAln

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
namespace emp1oyee
{
pub1c parta1 c1ass man : Iorm
{
strng cs = "0ata Source=1^81u0L8-C\\sq1exp,1nta1
Cata1og=LM_0^1^8^SL,1ntegrated Securty=1rue",
pub1c man{)
{
1nta1zeComponent{),
)
prvate vod tmer_1ck{obect sender, Lvent^rgs e)
{
1abe1.1ext = 0ate1me.uow.1oStrng{),
)
prvate vod man_IormC1osed{obect sender, IormC1osedLvent^rgs e)
{
^pp1caton.Lxt{),
)
prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
1
1arlnder Slngh Anu vlnesh al
emp_deta1 ob = new emp_deta1{cs),
ob.Show{),
)
prvate vod buttonS_C1ck{obect sender, Lvent^rgs e)
{
^0v^uCL_SL^8Cu ob = new ^0v^uCL_SL^8Cu{cs),
ob.Show{),
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
nsertemp1oyee ob = new nsertemp1oyee{cs),
ob.Show{),
)

prvate vod button4_C1ck{obect sender, Lvent^rgs e)
{
de1ete ob = new de1ete{cs),
ob.Show{),
)

prvate vod button2_C1ck{obect sender, Lvent^rgs e)
{
update ob = new update{cs),
ob.Show{),
)
)
)



1arlnder Slngh Anu vlnesh al
CCMMCn uL1AlLS

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
usng System.0ata.Sq1C1ent,
namespace emp1oyee
{
pub1c parta1 c1ass emp_deta1 : Iorm
{
Sq10ata^dapter ad = nu11,
strng qry = nu11,
strng se1ect = "se1ect * 1rom emp1oyee ",
strng att = nu11,
strng att = nu11,
strng att2 = nu11,
strng css= nu11,
strng where = nu11,
0ataSet ds = new 0ataSet{),
Sq1Connecton cnn,
pub1c emp_deta1{strng cs)
{
css = cs,
cnn = new Sq1Connecton{cs),
1nta1zeComponent{),

1arlnder Slngh Anu vlnesh al
where = "1name",
)
prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{
qry = "se1ect * 1rom emp1oyee " + "where " + where + " l1kL '" +
text8ox.1ext + "x'",
getdatavew{),
)
vod getdatavew{)
{
try
{
ds.C1ear{),
ds.8eset{),
cnn.0pen{),

ad = new Sq10ata^dapter{qry, cnn),
ad.I11{ds),
data6rdvew.0ataSource = ds.1ab1esj,
)
catch {Lxcepton e)
{
Message8ox.Show{e.1oStrng{)),
)
1na11y
{
cnn.C1ose{),
ad.0spose{),
)
)
prvate vod rado8utton_CheckedChanged{obect sender, Lvent^rgs e)
{
1 {rado8utton.Checked == true)
where = "1name",
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
getdatavew{),
)

prvate vod rado8utton4_CheckedChanged{obect sender, Lvent^rgs e)
{
1 {rado8utton4.Checked == true)
where = "1name",
)

prvate vod rado8utton_CheckedChanged{obect sender, Lvent^rgs e)
{
1 {rado8utton.Checked == true)
where = "eno",
)

prvate vod rado8utton2_CheckedChanged{obect sender, Lvent^rgs e)
{
1 {rado8utton2.Checked == true)
where = "nta1",
)
4
1arlnder Slngh Anu vlnesh al

prvate vod text8ox2_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11 && att2 == nu11)
att = " dname l1kL '" + text8ox2.1ext + "x' ",
e1se
att = " and dname l1kL '" + text8ox2.1ext + "x' ",
qry = "SLlLC1 dname
,d.dnumber,mgeno,1name,1name,mgstartdate,d1ocaton,pname,p1ocaton 1rom emp1oyee
,department as d,dept_1ocaton as d1,proect where "+att+att+att2+"and
d.dnumber=d1.dnumber and d.dnumber=dno and d.dnumber=dnum",

getdatavew{),
)

prvate vod text8ox4_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11 && att2 == nu11)
att = " d.dnumber l1kL '" + text8ox4.1ext + "x' ",
e1se
att = " and d.dnumber l1kL '" + text8ox4.1ext + "x' ",
qry = "SLlLC1 dname
,d.dnumber,mgeno,1name,1name,mgstartdate,d1ocaton,pname,p1ocaton 1rom emp1oyee
,department as d,dept_1ocaton as d1,proect where " + att + att + att2 + "and
d.dnumber=d1.dnumber and d.dnumber=dno and d.dnumber=dnum",
getdatavew{),

)

prvate vod text8oxS_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11 && att==nu11)
att2 = " d1ocaton l1kL '" + text8oxS.1ext + "x' ",
e1se
att2 = " and d1ocaton l1kL '" + text8oxS.1ext + "x' ",
qry = "SLlLC1 dname
,d.dnumber,mgeno,1name,1name,mgstartdate,d1ocaton,pname,p1ocaton 1rom emp1oyee
,department as d,dept_1ocaton as d1,proect where " + att + att + att2 + "and
d.dnumber=d1.dnumber and d.dnumber=dno and d.dnumber=dnum",
getdatavew{),

)


prvate vod text8ox8_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11 && att2 == nu11)
att = " pname l1kL '" + text8ox8.1ext + "x' ",
e1se
att = " and pname l1kL '" + text8ox8.1ext + "x' ",
qry = "se1ect pname, pnumber, p1ocaton,dnum,eeno,hours,mgeno 1rom department
as d, proect as p, work_on as w where " + att + att + att2 + "and d.dnumber=p.dnum
and w.pno=p.pnumber",
getdatavew{),
)

prvate vod text8ox7_1extChanged{obect sender, Lvent^rgs e)
{

1arlnder Slngh Anu vlnesh al
1 {att2 == nu11 && att == nu11)
att = " pnumber l1kL '" + text8ox7.1ext + "x' ",
e1se
att = " and pnumber l1kL '" + text8ox7.1ext + "x' ",
qry = "se1ect pname, pnumber, p1ocaton,dnum,eeno,hours,mgeno 1rom department
as d, proect as p, work_on as w where " + att + att + att2 + "and d.dnumber=p.dnum
and w.pno=p.pnumber",
getdatavew{),
)

prvate vod text8ox6_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11 && att == nu11)
att2 = " p1ocaton l1kL '" + text8ox6.1ext + "x' ",
e1se
att2 = " and p1ocaton l1kL '" + text8ox6.1ext + "x' ",
qry = "se1ect pname as 80JLC1_u^ML, pnumber, p1ocaton,dnum,eeno,hours,mgeno
1rom department as d, proect as p, work_on as w where " + att + att + att2 + "and
d.dnumber=p.dnum and w.pno=p.pnumber",
getdatavew{),
)

prvate vod check8ox_CheckedChanged{obect sender, Lvent^rgs e)
{
1 {check8ox.Checked == true)
{
text8ox.Lnab1ed = true,
check8ox8.Checked =1a1se,
)
e1se
{
text8ox.Lnab1ed = 1a1se,
att = nu11,
)
)

prvate vod check8ox8_CheckedChanged{obect sender, Lvent^rgs e)
{
1 {check8ox8.Checked == true)
{
text8ox.Lnab1ed = true,
check8ox.Checked = 1a1se,
)
e1se
{
text8ox.Lnab1ed = 1a1se,
att = nu11,
)

prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11)
att = " eeno l1kL '" + text8ox.1ext + "x' ",
e1se
att = " and eeno l1kL '" + text8ox.1ext + "x' ",
qry = "se1ect eeno as LMl0YLL_u0,1name ^S I18S1_u^ML,hours ^S
W08k1u6_u0u8S,pname as 80JLC1,pno 1rom emp1oyee as e, proect as p, work_on as w where "
+ att + att + "and e.eno=w.eeno and w.pno=p.pnumber",
6
1arlnder Slngh Anu vlnesh al
getdatavew{),
)
prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{
1 {att == nu11)
att = " pno l1kL '" + text8ox.1ext + "x' ",
e1se
att = " and pno l1kL '" + text8ox.1ext + "x' ",
qry = "se1ect eeno as LMl0YLL_u0,1name ^S I18S1_u^ML,hours ^S
W08k1u6_u0u8S,pname as 80JLC1,pno 1rom emp1oyee as e, proect as p, work_on as w where "
+ att + att + "and e.eno=w.eeno and w.pno=p.pnumber",
getdatavew{),
)
prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
ths.C1ose{),
)
prvate vod button_C1ck_{obect sender, Lvent^rgs e)
{
^0v^uCL_SL^8Cu ad = new ^0v^uCL_SL^8Cu{css),
ad.Show{),

)
prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{
1 {rado8uttonS.Checked == true)
qry = "se1ect count{*) as u0_0I_L8S0u, sum{sa1ary) as SuM,max{sa1ary) as
M^x1MuM_S^l^8Y,mn{sa1ary) as M1u1MuM_S^l^8Y 1rom emp1oyee where eno l1kL
'"+text8ox.1ext+"x'",
1{rado8utton6.Checked==true)
qry = "se1ect count{*) as u0_0I_L8S0u,sum{sa1ary) as SuM,max{sa1ary) as
M^x1MuM_S^l^8Y,mn{sa1ary) as M1u1MuM_S^l^8Y 1rom emp1oyee where dno l1kL '" +
text8ox.1ext + "x'",
1 {rado8utton7.Checked == true)
qry = "se1ect count{*) as u0_0I_L8S0u,sum{sa1ary) as SuM,max{sa1ary) as
M^x1MuM_S^l^8Y,mn{sa1ary) as M1u1MuM_S^l^8Y 1rom emp1oyee where sex l1kL '" +
text8ox.1ext + "x'",
1 {rado8utton8.Checked == true)
qry = "se1ect count{*) as u0_0I_L8S0u,sum{hours) as
101^l_W08k1u6_u0u8S,max{hours) as M^x1MuM_u0u8S,mn{hours) as M1u1MuM_u0u8S 1rom work_on
where pno l1kL '" + text8ox.1ext + "x'",
1 {rado8utton.Checked == true)
qry = "se1ect count{*) as u0_0I_L8S0u,sum{hours) as
101^l_W08k1u6_u0u8S,max{hours) as M^x1MuM_u0u8S,mn{hours) as M1u1MuM_u0u8S 1rom work_on
where eeno l1kL '" + text8ox.1ext + "x'",
1 {rado8utton.Checked == true)
qry = "se1ect count{*) as u0_0I_L8S0u,sum{hours) as
101^l_W08k1u6_u0u8S,max{hours) as M^x1MuM_u0u8S,mn{hours) as M1u1MuM_u0u8S 1rom
work_on,proect where proect.dnum ='" + text8ox.1ext + "' and
proect.pnumber=work_on.pno",
1 {rado8utton.Checked == true)
qry = "se1ect count{*) as u0_0I_L8S0u,sum{hours) as
101^l_W08k1u6_u0u8S,max{hours) as M^x1MuM_u0u8S,mn{hours) as M1u1MuM_u0u8S 1rom
work_on,emp1oyee where sex l1kL'" + text8ox.1ext + "x' and eeno=eno",

getdatavew{),
)

7
1arlnder Slngh Anu vlnesh al
lnSL81

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
usng System.0ata.Sq1C1ent,

namespace emp1oyee
{
pub1c parta1 c1ass nsertemp1oyee : Iorm
{

strng qry = nu11,
strng css,
Sq1Connecton cnn =nu11,

pub1c nsertemp1oyee{strng cs )
{
css = cs,
cnn = new Sq1Connecton{cs),
1nta1zeComponent{),
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
qry = "1uSL81 1u10 jdbo.jemp1oyee {j1name, jnta1, j1name, jeno,
jdob, jaddress, jsex, jsa1ary, jsupereno, jdno) v^luLS {'" + 1name1ext8ox.1ext +

1arlnder Slngh Anu vlnesh al
"','" + nta11ext8ox.1ext + "','" + 1name1ext8ox.1ext + "','" + eno1ext8ox.1ext + "','"
+ dob1ext8ox.1ext + "','" + address1ext8ox.1ext + "','" + sex1ext8ox.1ext + "','" +
sa1ary1ext8ox.1ext + "','" + supereno1ext8ox.1ext + "','" + dno1ext8ox.1ext + "')",
nsert{),
)
vod nsert{)
{
try{
cnn.0pen{),
Sq10ata^dapter ad = new Sq10ata^dapter{),
ad.1nsertCommand = new Sq1Command{qry,cnn),
ad.1nsertCommand.Lxecuteuonquery{),
ad.0spose{),
Message8ox.Show{"80W 1uSL81L0 SuCLSSIullY"),
)
catch{Lxcepton e)
{
cnn.C1ose{),
Message8ox.Show{ "Contact 0eve1oper"+e.1oStrng{)),
)
cnn.C1ose{),
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
qry="1uSL81 1u10 jdbo.jdepartment {jdname, jdnumber, jmgeno,
jmgstartdate) v^luLS {'"+dname1ext8ox.1ext+"','"+
dnumber1ext8ox.1ext+"','"+mgeno1ext8ox.1ext+"','"+mgstartdate1ext8ox.1ext+"')",
nsert{),
)

prvate vod button2_C1ck{obect sender, Lvent^rgs e)
{
qry = "1uSL81 1u10 jdbo.jdept_1ocaton {jdnumber, jd1ocaton) v^luLS {'"
+ text8ox.1ext + "','" + d1ocaton1ext8ox.1ext + "')",
nsert{),
)

prvate vod button4_C1ck{obect sender, Lvent^rgs e)
{
qry = "1uSL81 1u10 jdbo.jproect {jpname, jpnumber, jp1ocaton, jdnum)
v^luLS {'" + pname1ext8ox.1ext + "','" + pnumber1ext8ox.1ext + "','" +
p1ocaton1ext8ox.1ext + "','" + dnum1ext8ox.1ext + "')",
nsert{),
)

prvate vod buttonS_C1ck{obect sender, Lvent^rgs e)
{
qry = "1uSL81 1u10 jdbo.jwork_on {jeeno, jpno, jhours) v^luLS
{'"+eeno1ext8ox.1ext + "','" + pno1ext8ox.1ext + "','" + hours1ext8ox.1ext + "')",
nsert{),
)

)
)


1arlnder Slngh Anu vlnesh al
0LlL1L

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
usng System.0ata.Sq1C1ent,

namespace emp1oyee
{
pub1c parta1 c1ass de1ete : Iorm
{
strng qry = nu11,
strng dqry = nu11,
strng css,
Sq1Connecton cnn = nu11,
strng where = nu11,
0ataSet ds=new 0ataSet{),
Sq10ata^dapter ad = nu11,

pub1c de1ete{strng cs)
{
css = cs,
cnn = new Sq1Connecton{cs),
0
1arlnder Slngh Anu vlnesh al
1nta1zeComponent{),
)
vod getdatavew{)
{
try
{
ds.C1ear{),
ds.8eset{),
cnn.0pen{),

ad = new Sq10ata^dapter{qry, cnn),
ad.I11{ds),
data6rdvew.0ataSource = ds.1ab1esj,
cnn.C1ose{),
)
catch {Lxcepton e)
{
Message8ox.Show{e.1oStrng{)),
cnn.C1ose{),
)
1na11y
{
cnn.C1ose{),
ad.0spose{),
)
)
vod de1{)
{
try
{
cnn.C1ose{),
cnn.0pen{),
Sq10ata^dapter ad = new Sq10ata^dapter{),
ad.0e1eteCommand = new Sq1Command{dqry, cnn),
ad.0e1eteCommand.Lxecuteuonquery{),
ad.0spose{),
getdatavew{),
Message8ox.Show{"80W 0LlL1L0 SuCLSSIullY"),
)
catch {Lxcepton e)
{
cnn.C1ose{),
Message8ox.Show{"Contact 0eve1oper" + e.1oStrng{)),
)
cnn.C1ose{),
)
prvate vod button_C1ck{obect sender, Lvent^rgs e)
{

dqry = "de1ete 1rom emp1oyee where " + text8ox2.1ext,
de1{),
getdatavew{),
)
prvate vod tabage_Lnter{obect sender, Lvent^rgs e)
{
qry = "se1ect * 1rom emp1oyee",
getdatavew{),
)
1
1arlnder Slngh Anu vlnesh al
prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{

1 {combo8ox.1ext == "sa1ary")
text8ox2.1ext = where +combo8ox.1ext+ text8ox.1ext,
e1se
text8ox2.1ext = where +combo8ox.1ext+ "'" + text8ox.1ext + "'",
)
prvate vod button7_C1ck{obect sender, Lvent^rgs e)
{
where = nu11,
text8ox2.1ext = nu11,
)
prvate vod tabage_Lnter{obect sender, Lvent^rgs e)
{
qry = "se1ect * 1rom department,dept_1ocaton where
department.dnumber=dept_1ocaton.dnumber",
getdatavew{),
)
prvate vod combo8ox4_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
where = combo8ox4.1ext,
text8ox4.1ext = where,
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
dqry = "0LlL1L I80M dept_1ocaton I80M dept_1ocaton 1uuL8 J01u department 0u
dept_1ocaton.dnumber = department.dnumber where " + text8ox4.1ext,
de1{),
getdatavew{),
)

prvate vod button4_C1ck{obect sender, Lvent^rgs e)
{
1 {pname1ext8ox.1ext != nu11)
{
dqry = "de1ete 1rom proect where pnumber='" + pnumber1ext8ox.1ext + "'",
)
1{pname1ext8ox.1ext!=nu11)
dqry = "de1ete 1rom proect where pname='" + pname1ext8ox.1ext + "'",
de1{),
getdatavew{),
)

prvate vod tabage4_Lnter{obect sender, Lvent^rgs e)
{
qry = "se1ect * 1rom proect",
getdatavew{),

)
prvate vod buttonS_C1ck{obect sender, Lvent^rgs e)
{
1 {eeno1ext8ox.1ext != nu11)
{
dqry = "de1ete 1rom proect where pnumber='" + eeno1ext8ox.1ext+ "'",
)
1 {pno1ext8ox.1ext!= nu11)

1arlnder Slngh Anu vlnesh al
dqry = "de1ete 1rom proect where pname='" + pno1ext8ox.1ext + "'",
de1{),
getdatavew{),
)

prvate vod tabageS_Lnter{obect sender, Lvent^rgs e)
{
qry = "se1ect * 1rom work_on",
getdatavew{),
)

)
)


1arlnder Slngh Anu vlnesh al

u0^1L

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
usng System.0ata.Sq1C1ent,

namespace emp1oyee
{
pub1c parta1 c1ass update : Iorm
{
Sq10ata^dapter ad = nu11,
strng qry = nu11,
strng se1ect = nu11,
strng gqry = nu11,
strng where = nu11,
0ataSet ds = new 0ataSet{),

Sq1Connecton cnn,
pub1c update{strng cs)
{
cnn = new Sq1Connecton{cs),
1nta1zeComponent{),
4
1arlnder Slngh Anu vlnesh al
wherecondton{),
)
vod getdatavew{)
{
try
{
cnn.0pen{),
ds.C1ear{),
ds.8eset{),
ds.C1ear{),
qry = text8ox.1ext,
ad = new Sq10ata^dapter{gqry, cnn),
ad.I11{ds),
data6rdvew.0ataSource = ds.1ab1esj,
)
catch {Lxcepton e)
{
Message8ox.Show{e.1oStrng{)),
)
1na11y
{
cnn.C1ose{),
ad.0spose{),
)
)
prvate vod combo8ox_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{

1 {combo8ox.1ext == "emp1oyee")
{
se1ectemp{),
)
1 {combo8ox.1ext == "work_on")
{
se1ectwo{),
) 1 {combo8ox.1ext == "proect")
{
se1ectpro{),
) 1 {combo8ox.1ext == "department")
{
se1ectdept{),
) 1 {combo8ox.1ext == "dept_1ocaton")
{
se1ectdept1{),
)
gqry = "se1ect * 1rom " + combo8ox.1ext,
getdatavew{),

)
pub1c vod se1ectemp{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"1name"),
combo8ox.1tems.^dd{"nta1"),
combo8ox.1tems.^dd{"1name"),
combo8ox.1tems.^dd{"eno"),
combo8ox.1tems.^dd{"dob"),
combo8ox.1tems.^dd{"address"),

1arlnder Slngh Anu vlnesh al
combo8ox.1tems.^dd{"sex"),
combo8ox.1tems.^dd{"sa1ary"),
combo8ox.1tems.^dd{"supereno"),
combo8ox.1tems.^dd{"dno"),
)

pub1c vod se1ectwo{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"eeno"),
combo8ox.1tems.^dd{"pno"),
combo8ox.1tems.^dd{"hours"),

)
pub1c vod se1ectpro{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"pname"),
combo8ox.1tems.^dd{"pnumber"),
combo8ox.1tems.^dd{"p1ocaton"),
combo8ox.1tems.^dd{"dno"),

)
pub1c vod se1ectdept{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"dname"),
combo8ox.1tems.^dd{"dnumber"),
combo8ox.1tems.^dd{"mgeno"),
combo8ox.1tems.^dd{"mgstartdate"),
)
pub1c vod se1ectdept1{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"dnumber"),
combo8ox.1tems.^dd{"d1octaton"),
)
pub1c vod wherecondton{)
{
combo8ox2.1tems.^dd{"emp1oyee.1name"),
combo8ox2.1tems.^dd{"emp1oyee.nta1"),
combo8ox2.1tems.^dd{"emp1oyee.1name"),
combo8ox2.1tems.^dd{"emp1oyee.eno"),
combo8ox2.1tems.^dd{"emp1oyee.dob"),
combo8ox2.1tems.^dd{"emp1oyee.address"),
combo8ox2.1tems.^dd{"emp1oyee.sex"),
combo8ox2.1tems.^dd{"emp1oyee.sa1ary"),
combo8ox2.1tems.^dd{"emp1oyee.supereno"),
combo8ox2.1tems.^dd{"emp1oyee.dno"),
combo8ox2.1tems.^dd{"work_on.eeno"),
combo8ox2.1tems.^dd{"work_on.pno"),
combo8ox2.1tems.^dd{"work_on.hours"),
combo8ox2.1tems.^dd{"proect.pname"),
combo8ox2.1tems.^dd{"proect.pnumber"),
combo8ox2.1tems.^dd{"proect.p1ocaton"),
combo8ox2.1tems.^dd{"proect.dno"),
combo8ox2.1tems.^dd{"department.dname"),
combo8ox2.1tems.^dd{"department.dnumber"),
6
1arlnder Slngh Anu vlnesh al
combo8ox2.1tems.^dd{"department.mgeno"),
)
vod up{)
{
try
{
cnn.0pen{),
Sq10ata^dapter ad = new Sq10ata^dapter{),
ad.updateCommand = new Sq1Command{qry, cnn),
ad.updateCommand.Lxecuteuonquery{),
ad.0spose{),
Message8ox.Show{"CLll u0^1L SuCLSSIullY"),
)
catch {Lxcepton e)
{
cnn.C1ose{),
Message8ox.Show{"Contact 0eve1oper" + e.1oStrng{)),
)
cnn.C1ose{),
)
prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
qry = se1ect + where + "'" + text8ox.1ext + "'",
up{),
gqry = "se1ect * 1rom " + combo8ox.1ext + where + "'" + text8ox.1ext + "'",
getdatavew{),
)

prvate vod combo8ox2_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {where != nu11)
where = where + combo8ox2.1ext + " " + combo8oxS.1ext + " ",
e1se
where = " WuL8L " + combo8ox2.1ext + " " + combo8oxS.1ext + " ",
text8ox2.1ext = se1ect + where,
)

prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{
se1ect = "u0^1L " + combo8ox.1ext + " SL1 " + combo8ox.1ext + "= '" +
text8ox.1ext+"' ",
text8ox2.1ext = se1ect + where,
)

prvate vod button2_C1ck{obect sender, Lvent^rgs e)
{
1 {where == nu11)
Message8ox.Show{"Lnter at1est one condton"),
e1se
where = where + "'"+text8ox.1ext+"'" + " ^u0 ",
text8ox2.1ext = se1ect + where,
)


)
)

7
1arlnder Slngh Anu vlnesh al
^0v^uCL SL^8Cu

usng System,
usng System.Co11ectons.6enerc,
usng System.ComponentMode1,
usng System.0ata,
usng System.0rawng,
usng System.lnq,
usng System.1ext,
usng System.Wndows.Iorms,
usng System.0ata.Sq1C1ent,

namespace emp1oyee
{
pub1c parta1 c1ass ^0v^uCL_SL^8Cu : Iorm
{
Sq10ata^dapter ad = nu11,
strng qry = nu11,
strng se1ect = nu11,
strng 1rom = nu11,
strng where = nu11,
strng gby = nu11,
strng havng = nu11,
0ataSet ds = new 0ataSet{),

Sq1Connecton cnn,
pub1c ^0v^uCL_SL^8Cu{strng cs)
{
cnn = new Sq1Connecton{cs),
1nta1zeComponent{),
wherecondton{),
groupby{),
)

1arlnder Slngh Anu vlnesh al
vod getdatavew{)
{
try
{
cnn.0pen{),
ds.C1ear{),
qry = text8ox.1ext,
ad = new Sq10ata^dapter{qry, cnn),
ad.I11{ds),
data6rdvew.0ataSource = ds.1ab1esj,
)
catch {Lxcepton e)
{
Message8ox.Show{e.1oStrng{)),
)
1na11y
{
cnn.C1ose{),
ad.0spose{),
)

)

prvate vod combo8ox_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {combo8ox.1ext == "emp1oyee")
{
se1ectemp{),


)
1 {combo8ox.1ext == "work_on")
{
se1ectwo{),

) 1 {combo8ox.1ext == "proect")
{
se1ectpro{),

) 1 {combo8ox.1ext == "department")
{
se1ectdept{),

) 1 {combo8ox.1ext == "dept_1ocaton")
{
se1ectdept1{),

)

1 {1rom != nu11)
1rom = 1rom + ", " + combo8ox.1ext,
e1se
1rom =" I80M "+ combo8ox.1ext,
text8ox.1ext = se1ect + 1rom + where+gby+havng,
)
pub1c vod se1ectemp{)
{
combo8ox.1tems.C1ear{),

1arlnder Slngh Anu vlnesh al
combo8ox.1tems.^dd{"1name"),
combo8ox.1tems.^dd{"nta1"),
combo8ox.1tems.^dd{"1name"),
combo8ox.1tems.^dd{"eno"),
combo8ox.1tems.^dd{"dob"),
combo8ox.1tems.^dd{"address"),
combo8ox.1tems.^dd{"sex"),
combo8ox.1tems.^dd{"sa1ary"),
combo8ox.1tems.^dd{"supereno"),
combo8ox.1tems.^dd{"dno"),
)

pub1c vod se1ectwo{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"eeno"),
combo8ox.1tems.^dd{"pno"),
combo8ox.1tems.^dd{"hours"),

)
pub1c vod se1ectpro{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"pname"),
combo8ox.1tems.^dd{"pnumber"),
combo8ox.1tems.^dd{"p1ocaton"),
combo8ox.1tems.^dd{"dno"),

)
pub1c vod se1ectdept{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"dname"),
combo8ox.1tems.^dd{"dnumber"),
combo8ox.1tems.^dd{"mgeno"),
combo8ox.1tems.^dd{"mgstartdate"),
)
pub1c vod se1ectdept1{)
{
combo8ox.1tems.C1ear{),
combo8ox.1tems.^dd{"dnumber"),
combo8ox.1tems.^dd{"d1octaton"),

)
pub1c vod wherecondton{)
{
combo8ox2.1tems.^dd{"emp1oyee.1name"),
combo8ox2.1tems.^dd{"emp1oyee.nta1"),
combo8ox2.1tems.^dd{"emp1oyee.1name"),
combo8ox2.1tems.^dd{"emp1oyee.eno"),
combo8ox2.1tems.^dd{"emp1oyee.dob"),
combo8ox2.1tems.^dd{"emp1oyee.address"),
combo8ox2.1tems.^dd{"emp1oyee.sex"),
combo8ox2.1tems.^dd{"emp1oyee.sa1ary"),
combo8ox2.1tems.^dd{"emp1oyee.supereno"),
combo8ox2.1tems.^dd{"emp1oyee.dno"),
combo8ox2.1tems.^dd{"work_on.eeno"),
combo8ox2.1tems.^dd{"work_on.pno"),
40
1arlnder Slngh Anu vlnesh al
combo8ox2.1tems.^dd{"work_on.hours"),
combo8ox2.1tems.^dd{"proect.pname"),
combo8ox2.1tems.^dd{"proect.pnumber"),
combo8ox2.1tems.^dd{"proect.p1ocaton"),
combo8ox2.1tems.^dd{"proect.dno"),
combo8ox2.1tems.^dd{"department.dname"),
combo8ox2.1tems.^dd{"department.dnumber"),
combo8ox2.1tems.^dd{"department.mgeno"),
combo8ox2.1tems.^dd{"department.mgstartdate"),
combo8ox2.1tems.^dd{"dept_1ocaton.dnumber"),
combo8ox2.1tems.^dd{"dept_1ocaton.d1octaton"),

)
pub1c vod groupby{)
{
combo8ox4.1tems.^dd{"emp1oyee.1name"),
combo8ox4.1tems.^dd{"emp1oyee.nta1"),
combo8ox4.1tems.^dd{"emp1oyee.1name"),
combo8ox4.1tems.^dd{"emp1oyee.eno"),
combo8ox4.1tems.^dd{"emp1oyee.dob"),
combo8ox4.1tems.^dd{"emp1oyee.address"),
combo8ox4.1tems.^dd{"emp1oyee.sex"),
combo8ox4.1tems.^dd{"emp1oyee.sa1ary"),
combo8ox4.1tems.^dd{"emp1oyee.supereno"),
combo8ox4.1tems.^dd{"emp1oyee.dno"),
combo8ox4.1tems.^dd{"work_on.eeno"),
combo8ox4.1tems.^dd{"work_on.pno"),
combo8ox4.1tems.^dd{"work_on.hours"),
combo8ox4.1tems.^dd{"proect.pname"),
combo8ox4.1tems.^dd{"proect.pnumber"),
combo8ox4.1tems.^dd{"proect.p1ocaton"),
combo8ox4.1tems.^dd{"proect.dno"),
combo8ox4.1tems.^dd{"department.dname"),
combo8ox4.1tems.^dd{"department.dnumber"),
combo8ox4.1tems.^dd{"department.mgeno"),
combo8ox4.1tems.^dd{"department.mgstartdate"),
combo8ox4.1tems.^dd{"dept_1ocaton.dnumber"),
combo8ox4.1tems.^dd{"dept_1ocaton.d1octaton"),
)


prvate vod combo8ox_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {se1ect != nu11)
se1ect = se1ect +", "+ combo8ox.1ext+"."+combo8ox.1ext+" ",
e1se
se1ect = "SLlLC1 " + combo8ox.1ext + "." + combo8ox.1ext,
text8ox.1ext = se1ect + 1rom + where + gby + havng, ,
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
getdatavew{),
)

prvate vod button_C1ck{obect sender, Lvent^rgs e)
{
qry = nu11,
41
1arlnder Slngh Anu vlnesh al
se1ect = nu11,
1rom = nu11,
where = nu11,
text8ox.1ext = nu11,
combo8ox.1tems.C1ear{),
text8ox.1ext = nu11,
)

prvate vod combo8ox2_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {where != nu11)
where = where + combo8ox2.1ext+" "+combo8oxS.1ext+" ",
e1se
where = " WuL8L " + combo8ox2.1ext + " " + combo8oxS.1ext + " ",
text8ox.1ext = se1ect + 1rom + where + gby + havng,
)

prvate vod text8ox_1extChanged{obect sender, Lvent^rgs e)
{


text8ox.1ext = se1ect + 1rom + where + text8ox.1ext + gby + havng, ,
)

prvate vod button2_C1ck{obect sender, Lvent^rgs e)
{
1 {where == nu11)
Message8ox.Show{"Lnter at1est one condton"),
e1se
where = where +text8ox.1ext + " ^u0 ",
text8ox.1ext = se1ect + 1rom + where + gby + havng, ,
)

prvate vod button4_C1ck{obect sender, Lvent^rgs e)
{
group8ox.vsb1e = true,
)

prvate vod combo8ox4_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{

1 {gby != nu11)
gby = gby +", "+ combo8ox4.1ext ,
e1se
gby = " 680u 8Y " + combo8ox4.1ext,
text8ox.1ext = se1ect + 1rom + where + text8ox.1ext + gby + havng,
)

prvate vod combo8ox6_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
havng = " u^v1u6 " + combo8ox6.1ext,
text8ox.1ext = se1ect + 1rom + where + text8ox.1ext + gby + havng,
)

prvate vod text8ox2_1extChanged{obect sender, Lvent^rgs e)
{
text8ox.1ext = se1ect + 1rom + where + text8ox.1ext + gby + havng +
text8ox2.1ext,
4
1arlnder Slngh Anu vlnesh al
)

prvate vod combo8ox7_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {se1ect != nu11)
se1ect = se1ect + ",C0uu1{*) ",
e1se
se1ect = "SLlLC1 C0uu1{*) ",
text8ox.1ext = se1ect + 1rom + where + gby + havng,
)
prvate vod combo8ox8_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {se1ect != nu11)
se1ect = se1ect + ",SuM{"+combo8ox8.1ext+") ",
e1se
se1ect = "SLlLC1 SuM{" + combo8ox8.1ext + ") ",
text8ox.1ext = se1ect + 1rom + where + gby + havng,
)

prvate vod combo8ox_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {se1ect != nu11)
se1ect = se1ect + ",^v6{" + combo8ox.1ext + ") ",
e1se
se1ect = "SLlLC1 ^v6{" + combo8ox.1ext + ") ",
text8ox.1ext = se1ect + 1rom + where + gby + havng,
)

prvate vod combo8ox_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {se1ect != nu11)
se1ect = se1ect + ",M^x{" + combo8ox.1ext + ") ",
e1se
se1ect = "SLlLC1 M^x{" + combo8ox.1ext + ") ",
text8ox.1ext = se1ect + 1rom + where + gby + havng,
)
prvate vod combo8ox_Se1ected1ndexChanged{obect sender, Lvent^rgs e)
{
1 {se1ect != nu11)
se1ect = se1ect + ",M1u{" + combo8ox.1ext + ") ",
e1se
se1ect = "SLlLC1 M1u{" + combo8ox.1ext + ") ",
text8ox.1ext = se1ect + 1rom + where + gby + havng,
)
)
)



4
1arlnder Slngh Anu vlnesh al
IM!LENETATION
nardware requ|rement
2 Software requ|rement
AfLer compleLlng Lhe packaglng process and produced dlsLrlbuLlon medla for
Lhe appllcaLlon lL can run on a machlne LhaL has v8 prerequlslLe lnsLalled
SiuwSie Requiiement:
Hardware is the term given to machinery itselI and to various individual pieces oI
equipment. It reIers to the physical de vices oI a computer system .Thus the input,
storage, processing control and output devices are hardware.

MINIMUM HARDWARE REQUIREMENT:
1. Pentium Processor or above
2. Color Monitor
3. Keyboard
4. Minimum 8 GB Hard Disk
5. 32 MB RAM or above
6. 1.44 MB Floppy Disk Drive
7. 24 Mb Iree hard disk space plus additional space to hold

Software Requirement:
SofLware means a collecLlon of program where Lhe ob[ecLlve ls Lo enhance Lhe
capablllLles of Lhe hardware machlne
1he followlng paragraph deflnes Lhe sofLware of Lhe proposed sysLem
developmenL
M|n|mum software requ|rement
Cperat|ng System Jlndows $000$p$vlsLa$wlndow 7
Language C # 010

44
1arlnder Slngh Anu vlnesh al


Future Scope
FUTURE SCO!E OF A!!LICATION :
This application can be easily implemented under various situations.
We can add new Ieatures as and when we require. Reusability is
possible as and when require in this application. There is Ilexibility
in all the modules.
SOFTWARE SCO!E:

Extensibility: This soItware is extendable in ways that its original
developers may not expect. The Iollowing principles enhances
extensibility like hide data structure, avoid traversing multiple
links or methods, avoid case statements on object type and
distinguish public and private operations.

Reusability: Reusability is possible as and when require in this
application. We can update it next version. Reusable soItware
reduces design, coding and testing cost by amortizing eIIort
over several designs. Reducing the amount oI code also
simpliIies understanding, which increases the likelihood that
the code is correct. We Iollow up both types oI reusability:
Sharing oI newly written code within a project and reuse oI
previously written code on new projects.

Understandability: A method is understandable iI someone other
than the creator oI the method can understand the code (as
well as the creator aIter a time lapse). We use the method,
which small and coherent helps to accomplish this.

Cost-effectiveness: Its cost is under the budget and make within
given time period. It is desirable to aim Ior a system with a
minimum cost subject to the condition that it must satisIy the
entire requirement. Scope oI this document is to put down the requirements, clearly
identiIying the inIormation needed by the user, the source oI the
inIormation and outputs expected Irom the system.

4
1arlnder Slngh Anu vlnesh al


Conclusion
From a proper analysis oI positive points and constraints on the component, it can
be saIely concluded that the product is a highly eIIicient GUI based component.
This application is working properly and meeting to all user requirements. This
component can be easily plugged in many other systems.

Bibliography
Books:
1 BEGNINING WITH VBNET
THE COM!LETE REFERENCE VISUAL BASIC 6
!ROFESSIONAL VISAL BASIC

Internet:
1 !df worldcom
Wikipediaorg
Google
Microsoftcom/vs/vb/
Vb internet help

Вам также может понравиться