Solved

Use Dynamic Datasource for ReportViewer

Posted on 2007-11-28
3
3,041 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 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

22 Experts available now in Live!

Get 1:1 Help Now