Tema: Datagrid
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/10/2006, 08:31
Stream
 
Fecha de Ingreso: mayo-2004
Ubicación: Guadalajara, Jalisco, México
Mensajes: 724
Antigüedad: 20 años
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;

}