Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture return value from a SP
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 1.1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01077504
Message ID:
01077517
Views:
38
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform