Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/11/2005, 09:20
monkyta
 
Fecha de Ingreso: noviembre-2005
Mensajes: 658
Antigüedad: 19 años, 5 meses
Puntos: 3
Aca va un ejemplo con un solo parametro

<%
Dim objCommand
Dim numempl
numempl = Request.QueryString("NumEmpl")
Set objCommand = Server.CreateObject("ADODB.Command")
Set objCommand.ActiveConnection = GetDBConnection()


With objCommand
.CommandText = "{call tuproc(?)}"
.CommandType = adCmdText
.Parameters(0).Value = numempl
.Execute()
End With

Set objCommand = Nothing
Response.Redirect ........
%>