Warnings under ASP.NET 2.0
The following code has worked fine under ASP.NET 1.1. I converted my project over to 2.0 and the Visual Studio editor is giving warnings about the .ExportDestinationType and .ExportFormatType lines in the following snippet in an ASP.NET form whose sole purpose is to pass a parameter into a CR report and bring back a PDF. Code was derived from the CR for VS.NET 2nd Ed.
With myExportOptions
.DestinationOptions = myDiskFileDestinationOptions.ExportDestinationType = .ExportDestinationType.DiskFile
.ExportFormatType = .ExportFormatType.PortableDocFormat
End With
myReport.Export()
The warning states:
*****************************
Warning: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
Am I supposed to be doing things differently under ASP.NET 2.0?
Thanks,
DW
|