rmk
asked on
How to import Microsoft.Reporting.WebForms in a non web page class module
Why can't I use
Imports Microsoft.Reporting.WebFor ms
in a VB.NET class module in the AppCode folder of my web application?
I get an error that the namespace doesn't contain any public member or that the namespace cannot be found?
However, on aspx page with a reportviewer control, Visual Studio adds
<%@ Register Assembly="Microsoft.Report Viewer.Web Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d 50a3a"
Namespace="Microsoft.Repor ting.WebFo rms" TagPrefix="rsweb" %>
and I can refer to that namespace in the code behind.
Imports Microsoft.Reporting.WebFor
in a VB.NET class module in the AppCode folder of my web application?
I get an error that the namespace doesn't contain any public member or that the namespace cannot be found?
However, on aspx page with a reportviewer control, Visual Studio adds
<%@ Register Assembly="Microsoft.Report
Namespace="Microsoft.Repor
and I can refer to that namespace in the code behind.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<add assembly="Microsoft.Report