
10/03/2020, 16:53
|
 | | | Fecha de Ingreso: noviembre-2008 Ubicación: Ica
Mensajes: 295
Antigüedad: 16 años, 4 meses Puntos: 0 | |
CellContentClick Saludos gentita, al hacer clic en el datgridview muestra los datos en el textbox, pero al seleccionar el siguiente registro no selecciona, al tercer click en otro registro si selecciona muestro el code:
private void dgv1_CellContentClick(object sender, DataGridViewCellEventArgs e)
txtCodigo.Text = dgv1.CurrentRow.Cells[0].Value.ToString();
txtCentroCosto.Text = dgv1.CurrentRow.Cells[1].Value.ToString();
txtdesCentroCosto.Text = dgv1.CurrentRow.Cells[2].Value.ToString();
Bienvenido cualquier sugerencia. |