Пример #1
0
        private void Eliminar()
        {
            string nControl = (dgvAlumnos.CurrentRow.Cells["noControl"].Value).ToString();

            _alumnoManejador.Eliminar(nControl);
        }
Пример #2
0
        private void eliminaralumno()
        {
            var ida = dgvalumnos.CurrentRow.Cells["numcontrol"].Value;

            _alumnoManejador.Eliminar(Convert.ToInt32(ida));
        }