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