// Al hacer click en "Ver detalles" private void botonera1_Click_Consulta(object sender, EventArgs e) { if (dgv_datos.CurrentRow == null) { return; } FormAuditoria = new FrmAuditoria((Modelo_Entidades.Auditoria_Log)dgv_datos.CurrentRow.DataBoundItem); DialogResult dr = FormAuditoria.ShowDialog(); }