Buscar y Modificar

private void dtgPersona_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dtgPersona.SelectedRows.Count == 1)
            {
                int id = Convert.ToInt32(dtgPersona.CurrentRow.Cells[0].Value);
            }
        }

http://csharconpsqlserver.blogspot.com/2013/10/13-mantenimiento-de-una-tabla-de-sql.html

No hay comentarios.:

Publicar un comentario