public static void showAs_Update(frmManageEmployee.MsgHandler msg, string[] obj)
        {
            dbAction = "update";
            modRefreshData = msg;
            frmEmployeeDataEntry f = new frmEmployeeDataEntry();
            f.textBox1.Text = obj[0];
            f.textBox2.Text = obj[1];
            f.textBox3.Text = obj[2];
            f.textBox4.Text = obj[3];
            f.textBox5.Text = obj[4];
            f.textBox6.Text = obj[5];
            f.textBox7.Text = obj[6];
            f.textBox8.Text = obj[7];
            f.textBox9.Text = obj[8];
            f.textBox10.Text = obj[9];
            f.textBox11.Text = obj[10];
            f.textBox12.Text = obj[11];
            f.textBox13.Text = obj[12];

            if (obj[13] != "")
            {
                string[] reportTo = new string[1];
                new clsDB().ADO().SelectData("Select LastName + ', ' + FirstName as FullName from Employees Where EmployeeID=" + obj[13], reportTo);

                f.textBox14.Text = reportTo[0];
            }

            f.textBox1.Enabled = false;
            f.textBox1.Visible = true;
            f.label1.Visible = true;

            f.btnSave.Text = "Update";

            f.ShowDialog();
        }
 public static void showAs_Add(frmManageEmployee.MsgHandler msg)
 {
     dbAction = "add";
     modRefreshData = msg;
     frmEmployeeDataEntry f = new frmEmployeeDataEntry();
     f.ShowDialog();
 }