Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with Dataviews
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Working with Dataviews
Miscellaneous
Thread ID:
00870119
Message ID:
00870119
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform