F
Fabrizio Maccarrone
Hallo,
I'm trying to migrate from classic asp to asp net.
How can I write this instruction in classic asp, using a command object, to
asp net?
===========================================
'....................
Set cmd = Server.CreateObject("ADODB.Command")
cmd.CommandType = adCmdStoredProc
cmd.ActiveConnection = conn
With cmd
.CommandText = "Misc_Errori_Comuni_Dove"
.Parameters.Append
..CreateParameter("@Param1",adVarWChar,adParamInput,50,myInput)
Set Rs = .Execute
End With
for pc = cmd.Parameters.Count - 1 to 0 step -1
cmd.Parameters.Delete pc
next
'....................
===========================================
Any help much appreciated.
Best regards.
I'm trying to migrate from classic asp to asp net.
How can I write this instruction in classic asp, using a command object, to
asp net?
===========================================
'....................
Set cmd = Server.CreateObject("ADODB.Command")
cmd.CommandType = adCmdStoredProc
cmd.ActiveConnection = conn
With cmd
.CommandText = "Misc_Errori_Comuni_Dove"
.Parameters.Append
..CreateParameter("@Param1",adVarWChar,adParamInput,50,myInput)
Set Rs = .Execute
End With
for pc = cmd.Parameters.Count - 1 to 0 step -1
cmd.Parameters.Delete pc
next
'....................
===========================================
Any help much appreciated.
Best regards.