Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/05/2011, 08:10
guillebomtrasmiti
 
Fecha de Ingreso: noviembre-2010
Ubicación: madrid
Mensajes: 478
Antigüedad: 13 años, 5 meses
Puntos: 5
Respuesta: cambio cantidad celda datagridview

así me sigue cambiando toda la columna y no la celda que cambié...

com.CommandType = CommandType.Text
com.CommandText = "UPDATE IntroduccionDeVentasAhora SET Pts = @Pts where NombreFormaPago <> ('TARJETA CREDITO') and Fecha BETWEEN @FI AND @FF and CODIGO = @codigo"

com.Parameters.AddWithValue("@Pts", (DgTotales.CurrentCell.Value).ToString)
com.Parameters.AddWithValue("@codigo", (DgTotales.Rows(0).Cells(2).Value))

bua bua bua uba (