i got the part of this code i have written
Expand|Select|Wrap|Line Numbers
- Set CmdApp = Server.CreateObject("ADODB.Command")
- CmdApp.ActiveConnection = c
- CmdApp.CommandText = "sp_ Attachment"
- CmdApp.CommandType = adCmdStoredProc
- Set Param =CmdApp.CreateParameter("@Id",adInteger,adParamInput,4,Id)
- CmdApp.Parameters.Append Param
- set RS=CmdApp.Execute
- Set CmdApp = Nothing
i tried adding it
n i m gettin error in application and it says :
Operation is not allowed when the object is closed.
how do I go on .
Please help
Thanks in advance