<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Looking at the Report Viewer Control</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/147383_100x75.jpg</url>
		<title>Channel 9 - Looking at the Report Viewer Control</title>
		<link></link>
	</image>
	<description>
Microsoft Visual Studio 2005 includes a report designer functionality and a new set of ReportViewer controls that can be used to build and display reports within custom applications. Reports may contain
 tabular, aggregated, and even multidimensional data. The ReportViewer controls are used to process and display these reports within applications. There are two versions of the controls. The ReportViewer Web server control is used to host reports in ASP.NET
 projects. The ReportViewer Windows Forms control is used to host reports in Windows application processing.
 
Both controls can be configured to run in either local or remote processing mode. How you configure the processing mode effects everything about the reports from design to deployment.
 

Local processing mode refers to report processing that is performed by the ReportViewer control within the client application. All report processing is performed as a local process using
 data that your application provides. To create the reports used in local processing mode, you use the Report project template in Visual Studio
Remote processing mode refers to report processing that is performed by a SQL Server 2005 Reporting Services report server. In remote processing mode, the ReportViewer control is used
 as a viewer to display a predefined report that is already published on a Reporting Services report server. All processing from data retrieval to report rendering is performed on the report server.

In this Screencast 
Thom takes a look at how this control can be used to host both server reports and local reports 
</description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 04:22:42 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 04:22:42 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[Dear Thom,<br /><br />I this sample I saw that in Report Builder, reports designed were bound to models and in Visual Studio 2005 reports designed were bound to datasets/datatables. What came to my mind based on your sample is: Is it possible to have reports designed in Report Builder
 bound to datasets/datatables? Is it possible to have reports designed in Visual Studio 2005 bound to models?<p>posted by guercheLE</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632732951760000000</link>
		<pubDate>Thu, 19 Jan 2006 19:19:36 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632732951760000000</guid>
		<dc:creator>guercheLE</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[Is it possible to have reports designed in Report Builder bound to <br />datasets/datatables? <br /><br />Sure - this is actually bound to a dataset by default. I would think that you could code this to bind to a datatable as well.<br /><br />Is it possible to have reports designed in Visual Studio 2005 bound to models?<br /><br />What kind of model do you mean?<p>posted by trobbins</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632760054160000000</link>
		<pubDate>Mon, 20 Feb 2006 04:10:16 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632760054160000000</guid>
		<dc:creator>trobbins</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[Is it possible to build a report based on a dataset that you build in code? I have a dataset that I pull data in from an xml file. In the demo it shows you have to create a data source first. How would you do this if your data is stored in an xml file?<br /><br />Thanks....<p>posted by thewizster</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632760896860000000</link>
		<pubDate>Tue, 21 Feb 2006 03:34:46 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632760896860000000</guid>
		<dc:creator>thewizster</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[Well... After much research I Answered my own question. Maybe this is just so simple it is just obvious to everyone else, but I missed it until about 2am.&nbsp;I finally found a post on asp.net's website showing how to do this on a webform. So for all the others
 that can't get this like me here is some help:<br /><br />I had a hard time understanding how to build the report since I could not add my xml file as a data source. What I did was added a new DataSet to my project and used it as my data source. This DataSet is not the actual DataSet I am using in code but they are
 identical in structure. This made designing the report easy.<br /><br />After you add the Dataset to your project open up the xsd file that will be created and thne&nbsp;by right clicking in the Dataset Designer window navigate to Add&gt;DataTable. This will add a blank DataTable Object to the designer window.<br /><br />By right-clicking on the DataTable object you have the option of adding columns to it. Add columns to the DataTable exactly like they are in your DataSet that you have built in code. Also Make sure to rename the DataTable.<br /><br />This newly created DataSet will now show up in the DataSource window and you can create your report file from it just like the video shows.<br /><br />I used a report viewer and created a new report. When the report designer window opens there will be a new menu added to vs called 'Report' Clcik it and then click Data Sources. This opens up the Report Data Sources window. Make sure the Report Data Source
 listed matches the one you created, if not select it and delete it from the list then select your DataSet from the Project Data Sources dropdown and click 'Add to Report'<br /><br />Now, tying it all together in your code is next.<br /><br />After you have the Dataset in your app built&nbsp;and load in the data from the xml file (I won't demo that here, there are plenty of places to find out how to do it and it is very simple) I used this code to set the tie in my dataset I created in code to the report
 viewer.<br /><br /><p>Me.ReportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource(&quot;DataSet1_Bills&quot;, Me.MyBills.Tables(&quot;Bills&quot;)))</p>
<p>Me.ReportViewer1.RefreshReport()<br /><br />DataSet1_Bills is what is listed in the Report Data Source window as discussed above. MyBills is the DataSet I created in code and I just reference the Bills table.</p>
<p>Hope this helps someone else out.</p>
<p>posted by thewizster</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632761300010000000</link>
		<pubDate>Tue, 21 Feb 2006 14:46:41 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632761300010000000</guid>
		<dc:creator>thewizster</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[Do you happen to have a video of using the ReportViewer control in local mode in ASP.NET 2.0?&nbsp; I am trying to setup and run a report locally and I am having some difficulties.&nbsp; Thanks.<p>posted by jwiner</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632782183820000000</link>
		<pubDate>Fri, 17 Mar 2006 18:53:02 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c632782183820000000</guid>
		<dc:creator>jwiner</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[
<p>can we have a complete video here?</p>
<p>or is this the complete one.</p>
<p>posted by sri27_latha</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c633434023010000000</link>
		<pubDate>Thu, 10 Apr 2008 05:31:41 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c633434023010000000</guid>
		<dc:creator>sri27_latha</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[
<p>Thanks for wonderful post. It helps me for creating rdlc report.</p>
<p>Now i need another help.</p>
<p>I need to add two tables/procedures in my report.</p>
<p>&nbsp;</p>
<p>My report have two section. One is Header and another is details.</p>
<p>&nbsp;</p>
<p>I sgall use companyInfo table for header and use TransactionInfo for detail section.</p>
<p>&nbsp;</p>
<p>But i am unable to add two table of data Programmatically.</p>
<p>&nbsp;</p>
<p>The report talke only one table with specific datasource name.</p>
<p>How i can load twho table at a time.</p>
<p>consider following code which i have used for retriveing single data table.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>string sqlQ = &quot;Select * from CompanyInfo&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string sqlQ1= @&quot;Select * from command_1 where operationType = 2&quot;;<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DataSet ds = new DataSet() ;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SqlConnection con = new SqlConnection(&quot;Data Source=ITSOFT206; initial catalog=rbrl;user id = sa;password=start777&quot;);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Open();<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DataTable dt = new DataTable();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DataTable dt1 = new DataTable();<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SqlDataAdapter da = new SqlDataAdapter(sqlQ , con);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SqlDataAdapter da1 = new SqlDataAdapter(sqlQ1, con);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; da.Fill(dt);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; da1.Fill(dt1);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dt.TableName = &quot;CompanyInfo&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dt1.TableName = &quot;command_1&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ds.Tables.Add(dt.Copy ());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ds.Tables.Add(dt1.Copy());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; da.Dispose();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; da1.Dispose();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Close();<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.ProcessingMode = ProcessingMode.Local;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LocalReport lc = ReportViewer1.LocalReport;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lc.ReportPath = &quot;Report1.rdlc&quot;;<br /><br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportDataSource rds = new ReportDataSource();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rds.Name = &quot;rptSource_command_1&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rds.Value = ds.Tables[&quot;command_1&quot;];<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lc.DataSources.Add (rds);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.LocalReport.DataSources.Clear();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.LocalReport.DataSources.Add(rds);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.LocalReport.Refresh();</p>
<p>&nbsp;</p>
<p>hope i will get solution.</p>
<p>posted by hasibul</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c634096797110000000</link>
		<pubDate>Mon, 17 May 2010 07:55:11 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c634096797110000000</guid>
		<dc:creator>hasibul</dc:creator>
	</item>
	<item>
		<title>Re: Looking at the Report Viewer Control</title>
		<description>
			<![CDATA[unable to add a new dataset in reportviewer visual studio 2010.<br />I could do anything, from adding images, parameters and control to the designer; but as soon i try to ad a new dataset (using wizard also), my enviroment is forced to restart.<br />Note: Simple Windows Application with that one Report added.<br />&nbsp;<p>posted by Andy3B</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c634274200220000000</link>
		<pubDate>Wed, 08 Dec 2010 15:47:02 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/trobbins/Looking-at-the-Report-Viewer-Control#c634274200220000000</guid>
		<dc:creator>Andy3B</dc:creator>
	</item>
</channel>
</rss>