?
Solved

Use Dynamic Datasource for ReportViewer

Posted on 2007-11-28
3
Medium Priority
?
3,059 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
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 600 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

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

850 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