Solved

Use Dynamic Datasource for ReportViewer

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

786 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