Click here to Skip to main content
15,886,067 members
Articles / Web Development / ASP.NET

Dynamic Binding Of RDLC To ReportViewer

Rate me:
Please Sign up or sign in to vote.
4.71/5 (22 votes)
17 Dec 2008CPOL3 min read 342.1K   9.5K   66  
This article demonstrates how to bind reportviewer control dynamically with Datasource at runtime.
<?xml version="1.0"?>

<configuration>
	<appSettings/>
	
	<system.web>
	
		<httpHandlers>
			<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
		</httpHandlers>
		<compilation debug="true">
			<buildProviders>
				<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
			</buildProviders>
		</compilation>
		
		<authentication mode="Windows"/>
		
	</system.web>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
Australia Australia
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!
www.santoshpoojari.blogspot.com

Comments and Discussions