Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting value of OUTPUT param in .net
Message
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01544303
Message ID:
01544424
Views:
17
>>1 of 2:
>>System.Data.Common.DbParameter DbParameterCollection[int index]
>>System.Data.Common.DbParameter DbParameterCollection[string parameterName]
>>
>>I'm using the second. What happens if you split it:
   var v = command.Parameters["@Param3"];
>>            var v2 = v.Value;
>
>I get compiler errors. Let me ask you, what tpe is your var "v"? I also get error on the "var"; what is it?

Are you using .NET 4.0 or prior version? What version of VS? var was introduced in the version .NET 4.0
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform