
29/03/2005, 12:49
|
| | Fecha de Ingreso: septiembre-2004
Mensajes: 407
Antigüedad: 20 años, 6 meses Puntos: 1 | |
hace lo siguiente
Dim iddesolicitud as string
dim txtid as new textbox
txtid=CType(e.Item.Cells(2).Controls(0), TextBox)
if txtid.text=""
idsolicitud=""
else
iddesolicitud =(CType(e.Item.Cells(2).Controls(0), TextBox).Text)
endif
cuando haces el insert pregunta si idsolicitus<>"" si es asi pasale Val(iddesolicitud) |