humen resource hardcopy

Upload: pronobjyotibhuyan

Post on 10-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Humen Resource Hardcopy

    1/27

    This is the welcome page:-

    In the order to work with the application, the user will have to click

    the Login button located at the welcome screen. If the user wants to exit the

    application without logging in the user may simply click on Logout button

    which is located below the Login button is disabled at the startup of the

    application but is enabled as soon as the user clicks the Login button(at

    least once).

  • 8/8/2019 Humen Resource Hardcopy

    2/27

    The coding behind the Login button, the logout button and the

    form are as follows:-

    The coding behind the Form and Buttons:-

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;

    namespace human_resource_management{

    publicpartialclassForm1 : Form{

    public Form1()

    {InitializeComponent();

    }

    privatevoid button2_Click(object sender, EventArgs e){

    Close();}

    privatevoid button1_Click(object sender, EventArgs e){

    Login L1 = newLogin();

    L1.Show();

    }

    privatevoid Form1_Load(object sender, EventArgs e){

    }}

    }

    As soon as the Login button is clicked a dialog box is displayed. The

    dialog box prompts you to enter the username and password. The

    username is niit and the password is india. Incasea wrong username

    or password is entered the dialog closes itself after passing a message box

    that wrong username or password has been entered. To login the user has

    to click Login button once again.

  • 8/8/2019 Humen Resource Hardcopy

    3/27

    This is the log in dialog box:-

    After entering the username and password the user has to click the

    submit button. If the username and password both are correct a messagebox will display a message that access has been granted.After clicking the

    OK button in the message box the HR Management Menu form will be

    displayed.

    The Login form however uses a function called validate() which is

    stored in the namespace Lvalidate whichis stored in the class library file.

    The validate() function validates the if the username and password are

    correct or not. The namespace Lvalidate is stored in the file Lvalidate.dll .

  • 8/8/2019 Humen Resource Hardcopy

    4/27

    The coding for the Login form:-

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;

    using System.Drawing;using System.Text;using System.Windows.Forms;

    namespace human_resource_management{

    publicpartialclassLogin : Form{

    public Login(){

    InitializeComponent();}

    privatevoid button1_Click(object sender, EventArgs e){int ctr = 0;string UserName, Password;UserName = txtUserName.Text;Password = txtPassword.Text;ctr = ctr + 2;

    if ((UserName == "niit") && (Password == "india")){

    lblMessage.Visible = true;lblMessage.Text = "Welcome to HUMAE RESOURCE MANAGMENT";ctr = 0;{

    Login L1 = newLogin();Menu M1 = newMenu();M1.Show();

    }}else

    if (ctr < 3){

    lblMessage.Visible = true;lblMessage.Text = "Incorrect User Name or Password.

    Please try again.";txtUserName.Focus();

    }else{

    MessageBox.Show("UnauthorizedAccess.Aborting.............");Close();

    }}

  • 8/8/2019 Humen Resource Hardcopy

    5/27

    }}

    This is the HR Management Menu form:-

  • 8/8/2019 Humen Resource Hardcopy

    6/27

    This is the HR Management Menu form. It has four buttons; they areEmployee, Appraisal, Payroll, and Recruitment. Each of thesebuttons after clicking open up a form, which allows the user to work withthe respective forms as desired.

    The Employee button opens the Employee Details from. In thisform the user can perform transactions related to the details of the

    employees.

    The coding behind Employee button:-

    privatevoid button1_Click(object sender, EventArgs e){

    Employee_Details ED1 = newEmployee_Details();ED1.Show();

    }

    The Appraisal button opens the Employee Appraisal form which

    allows the user to manage transactions related with appraisal of the

    employees.

    The coding behind Appraisal button:-

    privatevoid button2_Click(object sender, EventArgs e){

    Appraisal_Details AD1 = newAppraisal_Details();AD1.Show();

    }

    The Payroll button opens the Employee Payroll form which allows

    the user to manage transactions related with payroll of the employees.

  • 8/8/2019 Humen Resource Hardcopy

    7/27

    The coding behind payroll button:-

    privatevoid button3_Click(object sender, EventArgs e)

    {Payroll_Details PD1 = newPayroll_Details();PD1.Show();

    }

    The Recruitment button opens the Employee Recruitment form

    which allows the user to manage transactions related it the new

    recruitment of the employees.

    The coding behind Recruitment button:-

    privatevoid button4_Click(object sender, EventArgs e){

    Recruitment_Details RD1 = newRecruitment_Details();RD1.Show();

    }

    The Employee Details form:-

    After clicking the Employee button on HR Management Menu form

    the employee details form is displayed and HR Management Menu form is

    closed automatically.

    In this form the user can enter details of a new employee by clicking

    on the add button. After entering the details the user needs to click the save

    the data entered.

    The user can also delete an existing profile of an employee after

    selecting it through the binding navigator and then clicking on the deletebutton.

    If the user has finished or does not wish to work on the current form

    but wishes to go back to the menu form, the user can do so by clicking on

    the menu button.

  • 8/8/2019 Humen Resource Hardcopy

    8/27

    The Employee details Form (Design):-

    The coding when Employee details form is loaded:-using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;

  • 8/8/2019 Humen Resource Hardcopy

    9/27

    namespace human_resource_management{

    publicpartialclassEmployee_Details : Form{

    public Employee_Details(){

    InitializeComponent();}

    DataTable dt;DataRow dr;string code;

    privatevoid Employee_Details_Load(object sender, EventArgs e){

    // TODO: This line of code loads data into the'humanResource1DataSet.EmployeeDetails' table. You can move, or remove it, asneeded.

    this.employeeDetailsTableAdapter.Fill(this.humanResource1DataSet.EmployeeDetails);

    txtCode.Enabled=false;txtName.Enabled=false;txtAddress.Enabled=false;txtContectNo.Enabled = false;txtState.Enabled=false;txtCountry.Enabled=false;cbDesignation.Enabled=false;cbDepartment.Enabled=false;cbDesignation.Items.Add("MANAGER");cbDesignation.Items.Add("AUTHOR");cbDesignation.Items.Add("Designer");cbDepartment.Items.Add("MARKETING");cbDepartment.Items.Add("FINANCE");cbDepartment.Items.Add("IDD");cmdSave.Enabled=false;

    }

    The coding behind Add button:-

    privatevoid cmdAdd_Click(object sender, EventArgs e){

    cmdSave.Enabled=true;txtName.Enabled=true;txtAddress.Enabled=true;txtContectNo.Enabled = true;txtState.Enabled=true;cbDepartment.Enabled=true;txtName.Text="";txtAddress.Text="";txtContectNo.Text = "";txtState.Text="";

  • 8/8/2019 Humen Resource Hardcopy

    10/27

    txtCountry.Text="";cbDesignation.Text="";cbDepartment.Text="";int ctr=1, len;string codeval;dt = humanResource1DataSet.Tables["EmployeeDetails"];len=dt.Rows.Count -1;dr=dt.Rows[len];code = dr["Employee_Code"].ToString();codeval=code.Substring(1, 3);if((ctr>=1) && (ctr=9) && (ctr< 99)){

    ctr=ctr+1;txtCode.Text="C0"+ctr;

    }

    elseif (ctr>= 99){

    ctr=ctr+1;txtCode.Text="c" + ctr;

    }cmdAdd.Enabled=false;

    }

    The coding behind Save button:-

    privatevoid cmdSave_Click(object sender, EventArgs e){

    dt = humanResource1DataSet.Tables["EmployeeDetails"];dr = dt.NewRow();dr[0] = txtCode.Text;dr[1] = txtName.Text;dr[2] = txtAddress.Text;dr[3] = txtContectNo.Text;dr[4] = txtState.Text;dr[5] = txtCountry.Text;dr[6] = cbDesignation.SelectedItem;dr[7] = cbDepartment.SelectedItem;dt.Rows.Add(dr);employeeDetailsTableAdapter.Update(humanResource1DataSet);txtCode.Text = System.Convert.ToString(dr[0]);

    txtCode.Enabled = false;txtName.Enabled = false;txtAddress.Enabled = false;txtContectNo.Enabled = false;txtState.Enabled = false;txtCountry.Enabled = false;cbDesignation.Enabled = false;cbDepartment.Enabled = false;

  • 8/8/2019 Humen Resource Hardcopy

    11/27

    this.employeeDetailsTableAdapter.Fill(this.humanResource1DataSet.EmployeeDetails);cmdAdd.Enabled = true;cmdSave.Enabled = false;

    }

    The coding behind Delete button:-

    privatevoid cmdDelete_Click(object sender, EventArgs e){

    string code;code = txtCode.Text;dr =humanResource1DataSet.Tables["EmployeeDetails"].Rows.Find(code);dr.Delete();employeeDetailsTableAdapter.Update(humanResource1DataSet);

    }

    The coding behind Menu button:-

    privatevoid cmdMenu_Click(object sender, EventArgs e){

    Menu M1 = newMenu();M1.Show();

    }

    The Employee Appraisal Form:-

    After clicking the Appraisal button on HR Management Menu form

    the Employee Appraisal form is displayed and HR Management Menu

    form is closed automatically.

    In this form the user can enter appraisal details of a new employee or

    an existing employee by clicking on the add button. After entering the

    details the user needs to click the save button to save the data entered.

    The user can also delete an existing appraisal profile of an employeeafter selecting if through the binding navigator and then clicking on the

    delete button.

    If the user finished or does not wish to work on the current form but

    wishes to go back to the menu form, the user can do so by clicking on the

    menu button.

  • 8/8/2019 Humen Resource Hardcopy

    12/27

    The Employee Appraisal Form (Design):-

  • 8/8/2019 Humen Resource Hardcopy

    13/27

    The coding when Employee Appraisal Form is loaded:-

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;

    using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;

    namespace human_resource_management{

    publicpartialclassAppraisal_Details : Form{

    public Appraisal_Details(){

    InitializeComponent();}

    DataTable dt;DataRow dr;string code;

    privatevoid Appraisal_Details_Load(object sender, EventArgs e){

    // TODO: This line of code loads data into the'humanResource1DataSet2.EmployeeAppraisal' table. You can move, or remove it,as needed.

    this.employeeAppraisalTableAdapter.Fill(this.humanResource1DataSet2.EmployeeAppraisal);

    txtCode.Enabled = false;txtName.Enabled = false;txtAddress.Enabled = false;txtContactNo.Enabled = false;txtState.Enabled = false;txtCountry.Enabled = false;dtpStartDate.Enabled = false;dtpEndDate.Enabled = false;txtNewRecruit.Enabled = false;cbDesignation.Enabled = false;cbDepartment.Enabled = false;cbDesignation.Items.Add("MANAGER");cbDesignation.Items.Add("AUTHOR");

    cbDesignation.Items.Add("Designer");cbDepartment.Items.Add("MARKETING");cbDepartment.Items.Add("FINANCE");cbDepartment.Items.Add("IDD");cmdSave.Enabled = false;

    }

  • 8/8/2019 Humen Resource Hardcopy

    14/27

    The coding behind Add button:-

    privatevoid cmdAdd_Click(object sender, EventArgs e){

    cmdSave.Enabled = true;txtName.Enabled = true;

    txtAddress.Enabled = true;txtContactNo.Enabled = true;txtState.Enabled = true;txtCountry.Enabled = true;dtpStartDate.Enabled = true;dtpEndDate.Enabled = true;txtNewRecruit.Enabled = true;cbDepartment.Enabled = true;cbDesignation.Enabled = true;txtName.Text = "";txtAddress.Text = "";txtContactNo.Text = "";txtState.Text = "";

    txtCountry.Text = "";dtpStartDate.Text = "";dtpEndDate.Text = "";txtNewRecruit.Text = "";cbDesignation.Text = "";cbDepartment.Text = "";int ctr = 1, len;string codeval;dt = humanResource1DataSet2.Tables["EmployeeAppraisal"];len = dt.Rows.Count - 1;dr = dt.Rows[len];code = dr["Employee_Code"].ToString();codeval = code.Substring(1, 3);if ((ctr >= 1) && (ctr < 9))

    {ctr = ctr + 1;txtCode.Text = "C00" + ctr;

    }elseif ((ctr >= 9) && (ctr < 99)){

    ctr = ctr + 1;txtCode.Text = "C0" + ctr;

    }elseif (ctr >= 99){

    ctr = ctr + 1;txtCode.Text = "c" + ctr;

    }cmdAdd.Enabled = false;

    }

  • 8/8/2019 Humen Resource Hardcopy

    15/27

    The coding behind Save button:-

    privatevoid cmdSave_Click(object sender, EventArgs e){

    dt = humanResource1DataSet2.Tables["EmployeeAppraisal"];dr = dt.NewRow();

    dr[0] = txtCode.Text;dr[1] = txtName.Text;dr[2] = txtAddress.Text;dr[3] = txtContactNo.Text;dr[4] = txtState.Text;dr[5] = txtCountry.Text;dr[6] = dtpStartDate.Text;dr[7] = dtpEndDate.Text;dr[8] = txtNewRecruit.Text;dr[9] = cbDesignation.SelectedItem;dr[10] = cbDepartment.SelectedItem;dt.Rows.Add(dr);employeeAppraisalTableAdapter.Update(humanResource1DataSet2);

    txtCode.Text = System.Convert.ToString(dr[0]);txtCode.Enabled = false;txtName.Enabled = false;txtAddress.Enabled = false;txtContactNo.Enabled = false;txtState.Enabled = false;txtCountry.Enabled = false;dtpStartDate.Enabled = false;dtpEndDate.Enabled = false;txtNewRecruit.Enabled = false;cbDesignation.Enabled = false;cbDepartment.Enabled = false;

    this.employeeAppraisalTableAdapter.Fill(this.humanResource1DataSet2.EmployeeA

    ppraisal);cmdAdd.Enabled = true;cmdSave.Enabled = false;

    }

    The coding behind Delete button:-

    privatevoid cmdDelete_Click(object sender, EventArgs e){

    string code;code = txtCode.Text;dr =

    humanResource1DataSet2.Tables["EmployeeAppraisal"].Rows.Find(code);dr.Delete();employeeAppraisalTableAdapter.Update(humanResource1DataSet2);

    }

  • 8/8/2019 Humen Resource Hardcopy

    16/27

    The coding behind Menu button:-

    privatevoid cmdMenu_Click(object sender, EventArgs e)

    {

    Menu M1 = newMenu();M1.Show();

    }

    The Employee Payroll Form:-

    After clicking the Payroll button on HR Management Menu form the

    employee Payroll form is displayed and HR management Menu is closed

    automatically.

    In this form user can enter payroll details of an employee by clicking

    on the add button. After entering the details the user needs to click the save

    button to save the data entered.

    The user can also delete an existing payroll profile of an employee

    after selecting it through the binding navigator and then clicking on thedelete button.

    If the user has finished or does not wish to work on the current form

    but wishes to go back to the menu form, the user can do so by clicking on

    the menu button.

  • 8/8/2019 Humen Resource Hardcopy

    17/27

    The Employee Payroll Form (Design):-

  • 8/8/2019 Humen Resource Hardcopy

    18/27

    The coding when Employee Payroll Form is loaded:-

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;

    using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;

    namespace human_resource_management{

    publicpartialclassAppraisal_Details : Form{

    public Appraisal_Details(){

    InitializeComponent();}

    DataTable dt;DataRow dr;string code;

    privatevoid Appraisal_Details_Load(object sender, EventArgs e){

    // TODO: This line of code loads data into the'humanResource1DataSet2.EmployeeAppraisal' table. You can move, or remove it,as needed.

    this.employeeAppraisalTableAdapter.Fill(this.humanResource1DataSet2.EmployeeAppraisal);

    txtCode.Enabled = false;txtName.Enabled = false;txtAddress.Enabled = false;txtContactNo.Enabled = false;txtState.Enabled = false;txtCountry.Enabled = false;dtpStartDate.Enabled = false;dtpEndDate.Enabled = false;txtNewRecruit.Enabled = false;cbDesignation.Enabled = false;cbDepartment.Enabled = false;cbDesignation.Items.Add("MANAGER");cbDesignation.Items.Add("AUTHOR");cbDesignation.Items.Add("Designer");cbDepartment.Items.Add("MARKETING");cbDepartment.Items.Add("FINANCE");cbDepartment.Items.Add("IDD");cmdSave.Enabled = false;

    }

  • 8/8/2019 Humen Resource Hardcopy

    19/27

    The coding behind Add Button:-

    privatevoid cmdAdd_Click(object sender, EventArgs e){

    cmdSave.Enabled = true;txtName.Enabled = true;

    txtAddress.Enabled = true;txtContactNo.Enabled = true;txtState.Enabled = true;txtCountry.Enabled = true;dtpStartDate.Enabled = true;dtpEndDate.Enabled = true;txtNewRecruit.Enabled = true;cbDepartment.Enabled = true;cbDesignation.Enabled = true;txtName.Text = "";txtAddress.Text = "";txtContactNo.Text = "";txtState.Text = "";

    txtCountry.Text = "";dtpStartDate.Text = "";dtpEndDate.Text = "";txtNewRecruit.Text = "";cbDesignation.Text = "";cbDepartment.Text = "";int ctr = 1, len;string codeval;dt = humanResource1DataSet2.Tables["EmployeeAppraisal"];len = dt.Rows.Count - 1;dr = dt.Rows[len];code = dr["Employee_Code"].ToString();codeval = code.Substring(1, 3);if ((ctr >= 1) && (ctr < 9))

    {ctr = ctr + 1;txtCode.Text = "C00" + ctr;

    }elseif ((ctr >= 9) && (ctr < 99)){

    ctr = ctr + 1;txtCode.Text = "C0" + ctr;

    }elseif (ctr >= 99){

    ctr = ctr + 1;txtCode.Text = "c" + ctr;

    }cmdAdd.Enabled = false;

    }

  • 8/8/2019 Humen Resource Hardcopy

    20/27

    The coding behind Save button:-

    privatevoid cmdSave_Click(object sender, EventArgs e){

    dt = humanResource1DataSet2.Tables["EmployeeAppraisal"];dr = dt.NewRow();

    dr[0] = txtCode.Text;dr[1] = txtName.Text;dr[2] = txtAddress.Text;dr[3] = txtContactNo.Text;dr[4] = txtState.Text;dr[5] = txtCountry.Text;dr[6] = dtpStartDate.Text;dr[7] = dtpEndDate.Text;dr[8] = txtNewRecruit.Text;dr[9] = cbDesignation.SelectedItem;dr[10] = cbDepartment.SelectedItem;dt.Rows.Add(dr);employeeAppraisalTableAdapter.Update(humanResource1DataSet2);

    txtCode.Text = System.Convert.ToString(dr[0]);txtCode.Enabled = false;txtName.Enabled = false;txtAddress.Enabled = false;txtContactNo.Enabled = false;txtState.Enabled = false;txtCountry.Enabled = false;dtpStartDate.Enabled = false;dtpEndDate.Enabled = false;txtNewRecruit.Enabled = false;cbDesignation.Enabled = false;cbDepartment.Enabled = false;

    this.employeeAppraisalTableAdapter.Fill(this.humanResource1DataSet2.EmployeeA

    ppraisal);cmdAdd.Enabled = true;cmdSave.Enabled = false;

    }

    The coding behind Delete button:-

    privatevoid cmdDelete_Click(object sender, EventArgs e){

    string code;code = txtCode.Text;dr =

    humanResource1DataSet2.Tables["EmployeeAppraisal"].Rows.Find(code);dr.Delete();employeeAppraisalTableAdapter.Update(humanResource1DataSet2);

    }

  • 8/8/2019 Humen Resource Hardcopy

    21/27

    The coding behind Menu button:-

    privatevoid cmdMenu_Click(object sender, EventArgs e){

    Menu M1 = newMenu();

    M1.Show();}

    The Employee Recruitment Form:-

    After clicking the Recruitment button on HR Management Menu form the

    Employee Payroll form is displayed and HR Management Menu form is closed

    automatically.

    In this form the user can enter new recruitment details of an employee byclicking on the add button .After entering the details the user needs to click save

    button to save the data entered.

    The user can also deleting an existing recruitment profile of an employee

    after selecting it through the binding navigator and then clicking on the delete

    button .

    If the user has finished or does not wish to work on the current form but

    wishes to go back to the menu form, the user can do so by clicking on the menu

    button.

  • 8/8/2019 Humen Resource Hardcopy

    22/27

    The Employee Recruitment Form(Design):-

    The coding when Employee Recruitment Form is loaded:-

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;

  • 8/8/2019 Humen Resource Hardcopy

    23/27

    namespace human_resource_management{

    publicpartialclassRecruitment_Details : Form{

    public Recruitment_Details(){

    InitializeComponent();}DataTable dt;DataRow dr;string code;

    privatevoid Recruitment_Details_Load(object sender, EventArgs e){

    // TODO: This line of code loads data into the'humanResource1DataSet4.EmployeeRecruitment' table. You can move, or removeit, as needed.

    this.employeeRecruitmentTableAdapter.Fill(this.humanResource1DataSet4.EmployeeRecruitment);

    txtCode.Enabled = false;txtRecruitmentID.Enabled = false;txtName.Enabled = false;cbDesignation.Enabled = false;cbDepartment.Enabled = false;cbSkill.Enabled = false;cbQualification.Enabled = false;txtExperience.Enabled = false;txtReferance.Enabled = false;txtContactNo.Enabled = false;cbDesignation.Items.Add("MANAGER");cbDesignation.Items.Add("AUTHOR");cbDesignation.Items.Add("Designer");cbDepartment.Items.Add("MARKETING");cbDepartment.Items.Add("FINANCE");cbDepartment.Items.Add("IDD");cbSkill.Items.Add("Newspaper");cbSkill.Items.Add(" Good Communication Skills");cbSkill.Items.Add(" Good in Decision Making");cbSkill.Items.Add("High knowledge in Technical Feild");cbQualification.Items.Add("GNIIT ");cbQualification.Items.Add("Bsc.It");cbQualification.Items.Add(" BBA");cbQualification.Items.Add("MBA ");cmdSave.Enabled = false;

    }

    The coding behind Add button:-

    privatevoid cmdAdd_Click(object sender, EventArgs e){

    cmdSave.Enabled=true;txtRecruitmentID.Enabled = true;txtName.Enabled=true;cbDesignation.Enabled=true;

  • 8/8/2019 Humen Resource Hardcopy

    24/27

    cbDepartment.Enabled=true;cbSkill.Enabled=true;cbQualification.Enabled=true;txtExperience.Enabled = true;txtReferance.Enabled = true;txtContactNo.Enabled = true;txtRecruitmentID.Text="";txtName.Text="";cbDesignation.Text="";cbDepartment.Text="";cbSkill.Text="";cbQualification.Text="";txtExperience.Text="";txtReferance.Text = "";txtContactNo.Text = "";

    int ctr=1, len;string codeval;

    dt = humanResource1DataSet4.Tables["EmployeeRecruitment"];len=dt.Rows.Count -1;

    dr=dt.Rows[len];code = dr["Employee_Code"].ToString();codeval=code.Substring(1, 3);if((ctr>=1) && (ctr=9) && (ctr< 99)){

    ctr=ctr+1;txtCode.Text="C0"+ctr;

    }elseif (ctr>= 99){

    ctr=ctr+1;txtCode.Text="c" + ctr;

    }cmdAdd.Enabled=false;}

    The coding behind save button:-

    privatevoid cmdSave_Click(object sender, EventArgs e){

    dt = humanResource1DataSet4.Tables["EmployeeRecruitment"];dr = dt.NewRow();dr[0] = txtCode.Text;dr[1] = txtRecruitmentID.Text;dr[2] = txtName.Text;dr[3] = cbDesignation.SelectedItem;

  • 8/8/2019 Humen Resource Hardcopy

    25/27

    dr[4] = cbDepartment.SelectedItem;dr[5] = cbSkill.SelectedItem;dr[6] = cbQualification.SelectedItem;dr[7] = txtExperience.Text;dr[8] = txtReferance.Text;dr[9] = txtContactNo.Text;dt.Rows.Add(dr);employeeRecruitmentTableAdapter.Update(humanResource1DataSet4);txtCode.Text = System.Convert.ToString(dr[0]);txtCode.Enabled=false;txtRecruitmentID.Enabled=false;txtName.Enabled=false;cbDesignation.Enabled=false;cbDepartment.Enabled=false;cbSkill.Enabled = false;cbQualification.Enabled = false;txtExperience.Enabled = false;txtReferance.Enabled = false;txtContactNo.Enabled = false;

    this.employeeRecruitmentTableAdapter.Fill(this.humanResource1DataSet4.EmployeeRecruitment);

    cmdAdd.Enabled = true;cmdSave.Enabled = false;

    }

    The coding behind Delete button:-

    privatevoid cmdDelete_Click(object sender, EventArgs e){

    string code;code = txtCode.Text;dr =

    humanResource1DataSet4.Tables["EmployeeRecruitment"].Rows.Find(code);dr.Delete();employeeRecruitmentTableAdapter.Update(humanResource1DataSet4);

    }

    The coding behind Menu button:-

    privatevoid cmdMenu_Click(object sender, EventArgs e){

    Menu M1 = newMenu();M1.Show();

    }

  • 8/8/2019 Humen Resource Hardcopy

    26/27

    Hardware and Software Requirements

    Hardware:-

    Processor :-Intel Core2 Duo CPU T6500 @ 2.10 GHz

    R.A.M :-2.96 GB, 2.09 GHz,

    Mother Board:- Mobile Intel 965 Express Chipset Family

    Software:-

    Operating System: - Windows XP, Service Pack 2

    Application Software:-

    Front End

    Microsoft Visual Studio 2005

    Back End

    Microsoft SQL Server 2005

  • 8/8/2019 Humen Resource Hardcopy

    27/27

    CONCLUSION:-

    Human Resource plays a vital role in restructuring of the

    organizational goals. In this world of specialization it is important

    for every organization to always be a leading a company in every

    related field and this application fulfills the basic criteria of

    managing human resource if a company for the fulfillment of its

    goals and helps to stay in this competitive era.

    Its the duty of all the managerial executives to implement

    this kind of application for smooth running of an organization.

    This application does provide all this sufficient tasks to be

    performed in managing of the human resource of an

    organization.

    _______________