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
Titre:
Working with Dataviews
Divers
Thread ID:
00870119
Message ID:
00870119
Vues:
54
I am following the Developer's Guide and under the Section "Data Access with Business Objects", there is page for "Working with DataViews". The example has the line:

// Check if the DataView already exists
DataView dv = (ds.GetDataView("dv" + this.CurrentTableName, this.CurrentTableName));

When I put this into my business object, I get a compiler error:

"A local variable named 'dv' is already defined in this scope"

Thanks in advance for any ideas.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform