
14/08/2011, 17:31
|
| | Fecha de Ingreso: noviembre-2010 Ubicación: madrid
Mensajes: 478
Antigüedad: 14 años, 3 meses Puntos: 5 | |
Respuesta: Update en un textbox com.CommandType = CommandType.Text
com.CommandText = "UPDATE IntroduccionDeVentasAhora SET Pts = ('" & Textprueba.Text & "') Where IdComanda = @valor and NombreFormaPago <> ('TARJETA CREDITO') and Fecha BETWEEN @FI AND @FF"
com.Parameters.AddWithValue("@FI", Fecha1.Value.Date.ToString("dd/MM/yyyy"))
com.Parameters.AddWithValue("@FF", Fecha2.Value.Date.ToString("dd/MM/yyyy"))
com.Parameters.AddWithValue("@valor", DgTotales.CurrentRow.Cells(11).Value.ToString)
ahí necesito que me ayudeis por favor |