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
Miscellaneous
Thread ID:
00870119
Message ID:
00870124
Views:
9
>"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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform