Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with Dataviews
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00870119
Message ID:
00870124
Vues:
10
>"A local variable named 'dv' is already defined in this scope"

Mat,

The error means that you've already defined a variable called dv elsewhere in your code. Try this instead:
dv = (ds.GetDataView("dv" + this.CurrentTableName, this.CurrentTableName));
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform