Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/07/2009, 13:57
Avatar de triqui
triqui
 
Fecha de Ingreso: diciembre-2008
Ubicación: Zaragoza(España)
Mensajes: 624
Antigüedad: 16 años, 2 meses
Puntos: 31
De acuerdo Respuesta: ¿Gridview seleccionar una fila x ejemplo?

Gracias por responder, al final lo resolvi así, lo pongo por si le sirve a alguien

Metí este código por ejemplo en el evento DoubleClick del DataGridView

Cita:
Int32 selectedCellCount =
this.GvPrincipal.GetCellCount(DataGridViewElementS tates.Selected);
for (int j = 0;
j < selectedCellCount; j++)
{

string Fila = GvPrincipal.SelectedCells[j].RowIndex.ToString();
string Columna = GvPrincipal.SelectedCells[j].ColumnIndex.ToString();

}
saludos
__________________
La nueva red social de quinielas quiniela resultados
Cazaresultados Futbol base en directo