Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a SQL stored proc and passing it a form variable ?
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Calling a SQL stored proc and passing it a form variable ?
Divers
Thread ID:
00478094
Message ID:
00478094
Vues:
47
Whats the syntax for retrieving a form parm and then calling a SQL stored proc, passing it the parm?

In the example below, i am getting the parm PRODUCTID and want to pass it to a stored procedure called "SP_SelectProductsByID".

-----------

Set myConnection = Server.CreateObject("ADODB.Connection")
Set rsTitleList = Server.CreateObject("ADODB.Recordset")
myConnection.Open connectString
requestID = Request.Form("ProductID")
Set RSTitleList = myConnection.Execute(SP_SelectProductsByID ?RequestID)
Répondre
Fil
Voir

Click here to load this message in the networking platform