Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting value of OUTPUT param in .net
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01544303
Message ID:
01544424
Vues:
18
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform