
13/12/2004, 13:46
|
 | Colaborador | | Fecha de Ingreso: octubre-2003 Ubicación: Catalonia
Mensajes: 4.334
Antigüedad: 21 años, 4 meses Puntos: 156 | |
pásalo por parámetro: Cita: command1.commandtext="insert into tabla (ref,can,precio) values (@ref,@can,@precio)"
command1.parameters.add("@ref", txtref.text)
command1.parameters.add("@can", txtcan.text)
command1.parameters.add("@precio", txtpr.text)
command1.executeNonQuery()
command1.parameters.clear() l |