Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture return value from a SP
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 1.1
Database:
MS SQL Server
Divers
Thread ID:
01077504
Message ID:
01077517
Vues:
40
Hi, Einar,

To the best of my awareness, you can't use ExecuteNonQuery and then hope to get a return value.

I usually just use a data adapter and fill it, the same way you would if you're looking for a result set (even if, in this case, all you're getting back is a one-row, one-column table) There may be other ways, but that's one way.

Hope that helps...
Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform