Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return a value from VFP stored proc
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Return a value from VFP stored proc
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01526420
Message ID:
01526420
Vues:
102
Hi all, I'm trying to return a value from a VFP sp to my .NET app without success my sp is shown below
proc UpdateName
Lparameters Name,ID

Update MyTable ;
set MyName = Name where MyID = ID

Return _tally

EndProc
I'm using a Command.ExecuteNonQuery() statement which is supposed to return the number of records affected by the query but always returns 1. If I remove the return statement it makes no difference at all.
Regards,
Peter J. Kane



Pete
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform