Ejemplo n.º 1
0
        private void B_NuevoPuesto_Click(object sender, EventArgs e)
        {
            P_Adm_Departamento.Hide();

            P_Posicion.Show();
            DvgPosiciones.Show();
            DgvDept.Hide();
            try
            {
                DataSet ds = ProDepartamento.VistaPosicion();

                dt = ds.Tables[0];
                DvgPosiciones.DataSource = dt;
                // dt = ds.Tables[0];
            }
            catch (Exception error)
            {
                MessageBox.Show(error.Message + error.StackTrace);
            }
        }
Ejemplo n.º 2
0
 private void Button3_Click(object sender, EventArgs e)
 {
     DgvDept.Hide();
     P_Adm_Departamento.Hide();
     P_Posicion.Show();
 }