Пример #1
0
        public void Eliminar()
        {
            string   idvalue  = dataGridView1.CurrentRow.Cells["Id"].Value.ToString();
            ConecDB  conec    = new ConecDB();
            Consulta consulta = new Consulta();

            conec.AbrirConexion();
            consulta.Borrar(idvalue);
        }