Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to change dataset of my rdlc report.I cvan change it but creating new rdlc report but need to update dataset in created one.

What I have tried:

I have tried to open rdlc file in xml view and tried to change but i am confused.
Posted
Updated 4-Jun-16 20:34pm

1 solution

Hi,

RDLC (if actually they are the one which you want to deal with) are the client side reports which exists inside you solution. You may change the report definition directly using Visual studio (IDE).
Further, more than changing the dataset details in report you need to make sure the dataset being passed to the rdlc report (rdlc reports must be passed with complete dataset from code, unlike rdl reports which contains the SQL query definition in them which gets executed at run-time) must be of same stucture.

Make the two structure (dataset fields/columns) same at both ends (at rdlc definition and at the code end where you pass the data to the report).

Regards,
Sujay C.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900