
19/10/2006, 08:31
|
| | Fecha de Ingreso: mayo-2004 Ubicación: Guadalajara, Jalisco, México
Mensajes: 724
Antigüedad: 20 años, 9 meses Puntos: 6 | |
tienen la propiedad SelectionMode, ponla a FullRowSelect,
Esto tal vez te sirva...
if (this.dataGridView1.CurrentRow != null)
{
DataGridViewRow gdr = dataGridView1.CurrentRow;
int tuID = gdr.Cells[0].Value;
} |