<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>VS 2005 Web Application Projects</title><link>http://forums.asp.net/1019.aspx</link><description>General discussions of VS 2005 Web Application Projects</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Using business objects as data source for MS Report rdlcs with WAPs</title><link>http://forums.asp.net/thread/3240585.aspx</link><pubDate>Wed, 17 Jun 2009 19:11:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3240585</guid><dc:creator>svp</dc:creator><author>svp</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3240585.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=3240585</wfw:commentRss><description>&lt;p&gt;Hi Greg,&lt;/p&gt;
&lt;p&gt;Were you able to resolve this issue? I am also having the same issue. I have a ASP.net Web application (and not a web site) and I want my classes as the data source for the report, but the classes do not show up in the data source window. I need to have a report and bind to my business objects..&lt;/p&gt;
&lt;p&gt;Your response really appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using business objects as data source for MS Report rdlcs with WAPs</title><link>http://forums.asp.net/thread/1277476.aspx</link><pubDate>Fri, 05 May 2006 15:48:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1277476</guid><dc:creator>GMan6</dc:creator><author>GMan6</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1277476.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1277476</wfw:commentRss><description>&lt;p&gt;The problem with this is you are creating a business object datasource from a dataset.&lt;/p&gt;
&lt;p&gt;My approach is using a class that returns a generics class of my class type.&amp;nbsp; This normally is autodetected once compiled in a web site's App_Code folder when you open an rdlc and look at the website datasource window.&lt;/p&gt;
&lt;p&gt;It was confirmed that this is a bug with WAP's that cannot be addressed until SP1.&amp;nbsp; The bug is the WebsiteDatasource window does not appear or update with the WAP generics classes.&amp;nbsp; I was told they are trying to find a workaround and will keep me posted.&lt;/p&gt;
&lt;p&gt;I am correct in saying you are creating a dataset to bind to correct?&amp;nbsp; This is not going to work for the generics report object datasource approach right?&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</description></item><item><title>Re: Using business objects as data source for MS Report rdlcs with WAPs</title><link>http://forums.asp.net/thread/1277332.aspx</link><pubDate>Fri, 05 May 2006 14:03:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1277332</guid><dc:creator>BradleyB</dc:creator><author>BradleyB</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1277332.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1277332</wfw:commentRss><description>&lt;p class=MsoNormal&gt;&lt;span&gt;Here is what someone else used to work around the problem:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div class=MsoNormal&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Drop an ObjectDataSource on the form with the ReportViewer.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;&lt;li&gt;
&lt;div class=MsoNormal&gt;&lt;span&gt;Configure the ODS to use the TableAdapter associated with the source DataSet.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;&lt;li&gt;
&lt;div class=MsoNormal&gt;&lt;span&gt;In the Misc-&amp;gt;LocalReport properties for the ReportViewer, select DataSources and click the ellipsis.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;&lt;li&gt;
&lt;div class=MsoNormal&gt;&lt;span&gt;In the ReportDataSource Collection Editor, click the Add button.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;&lt;li&gt;
&lt;div class=MsoNormal&gt;&lt;span&gt;In the properties for the new ReportDataSource, specify &amp;lt;DataSet&amp;gt;_&amp;lt;table&amp;gt; as the value for the Name property and the ID of the ODS as the value for the DataSourceId property.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span&gt;This results in the following ObjectDataSource tag:&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;asp&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;ObjectDataSource&lt;/span&gt;&lt;span&gt; &lt;span&gt;ID&lt;/span&gt;&lt;span&gt;="ObjectDataSource1"&lt;/span&gt; &lt;span&gt;runat&lt;/span&gt;&lt;span&gt;="server"&lt;/span&gt; &lt;span&gt;OldValuesParameterFormatString&lt;/span&gt;&lt;span&gt;="original_{0}"&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;SelectMethod&lt;/span&gt;&lt;span&gt;="GetData"&lt;/span&gt; &lt;span&gt;TypeName&lt;/span&gt;&lt;span&gt;="ReportViewerCrash.DataSet1TableAdapters.databasesTableAdapter"&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;asp&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;ObjectDataSource&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;And the following ReportViewer tag:&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;rsweb&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;ReportViewer&lt;/span&gt; &lt;span&gt;ID&lt;/span&gt;&lt;span&gt;="ReportViewer1"&lt;/span&gt; &lt;span&gt;runat&lt;/span&gt;&lt;span&gt;="server"&lt;/span&gt; &lt;span&gt;Font-Names&lt;/span&gt;&lt;span&gt;="Verdana"&lt;/span&gt; &lt;span&gt;Font-Size&lt;/span&gt;&lt;span&gt;="8pt"&lt;/span&gt; &lt;span&gt;Height&lt;/span&gt;&lt;span&gt;="400px"&lt;/span&gt; &lt;span&gt;Width&lt;/span&gt;&lt;span&gt;="400px"&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;LocalReport&lt;/span&gt; &lt;span&gt;ReportEmbeddedResource&lt;/span&gt;&lt;span&gt;="ReportViewerCrash.Report1.rdlc"&lt;/span&gt; &lt;span&gt;ReportPath&lt;/span&gt;&lt;span&gt;="Report1.rdlc"&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;DataSources&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;rsweb&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;ReportDataSource&lt;/span&gt; &lt;span&gt;DataSourceId&lt;/span&gt;&lt;span&gt;="ObjectDataSource1"&lt;/span&gt; &lt;span&gt;Name&lt;/span&gt;&lt;span&gt;="DataSet1_databases"&lt;/span&gt; &lt;span&gt;/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;DataSources&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;LocalReport&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;rsweb&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;ReportViewer&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class=MsoNormal&gt;&lt;span&gt;&lt;o:p&gt;&lt;span&gt;Hope this helps, &lt;br /&gt;Brad.&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using business objects as data source for MS Report rdlcs with WAPs</title><link>http://forums.asp.net/thread/1276063.aspx</link><pubDate>Thu, 04 May 2006 13:30:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1276063</guid><dc:creator>GMan6</dc:creator><author>GMan6</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1276063.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=1276063</wfw:commentRss><description>&lt;p&gt;Since there is no App_Code directory, I am unable to get my generics class to appear in the datasources for an rdlc that I create in my WAP project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think there might be some limitation where we cannot use generics business objects as the datasource or reports since the WAP has no App_Code folder where the class must normally reside for the reporting datasources to pick it up as a datasource.&lt;/p&gt;
&lt;p&gt;Any thoughts?&amp;nbsp; This will prevent my company from moving to 2005!&lt;/p&gt;</description></item></channel></rss>