Solved

Use Dynamic Datasource for ReportViewer

Posted on 2007-11-28
3
3,048 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 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