private void InsertarDatosBD()
        {
            Empleado myEmpleado = new Empleado();

            myEmpleado.Codigo   = InCodigo.Text;
            myEmpleado.Nombre   = InNombre.Text;
            myEmpleado.Apellido = InApellido.Text;
            myEmpleado.Cargo    = InCargo.Text;
            myEmpleado.Salario  = InSalario.Text;
            myEmpleado.Area     = InArea.Text;
            myEmpleado.Ciudad   = InCiudad.Text;

            if (!datos.ExisteEmpleado(myEmpleado.Codigo))
            {
                if (datos.InsertarEmpleados(myEmpleado))
                {
                    labelRta.Text = "El registro fue insertado correctamente";
                    LimpiarCampos();
                }
                else
                {
                    labelRta.Text = "Error al insertar " + datos.error;
                }
            }
            else
            {
                labelRta.Text = "El registro ya existe";
            }
        }