Solved

Use Dynamic Datasource for ReportViewer

Posted on 2007-11-28
3
3,038 Views
Last Modified: 2013-11-07
Hi,
       How to create a dynamic datasource in using the vs 2005 vb.net reportviewer? I found that i must define the datasource object (database/object) then only i can design the my data content in .rdlc file.

Thanks.
0
Comment
Question by:sityee
3 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 150 total points
ID: 20365009
The report viewer (just like any other report engine) is built to display columns based on a schema. You cannot change the schema and have the report viewer use it easily.

But ...

Don't forget that a .rdlc file is nothing else then a .XML file. That means that you can create it dynamically. It wouldn't be an easy job but you could surely do it.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20615252
Forced accept.

Computer101
EE Admin
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now