Click here to Skip to main content
16,004,647 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here's my scenario:
1. I have project in winform which uses RDLC files for my reports and are then displayed in report viewer.
2. These rldc files are currently located in the root folder of my application as I added them using the add function in visual studio.


My predicament is that in the next few months these rdlc files will require a re-layout (the fields and paramters won't change, just how to report look) and it is possible that I wont be the one doing the re-layout.

Just for easy access of those who will edit it later on and somehow prevent accidents of deletion of any files from the root application folder.

Is there a way for me to group these rdlc files in a separate folder(either a folder in totally different directory or just within the root folder of the app is okay)?

Also are there any applications aside from Visual Studio that has built in crystal report, that can edit the rdlc file? Please provide me with some links to those apps if there are any.

Thank you very much in advance. :)
Posted

definen the rdlc path in web.config then use it
to bind rdlc dynamicly
 
Share this answer
 
I was able to somehow do it by:
1. Adding the RDLC report using the Add Item in Visual Studio
2. Exclude the File using the Solution Explorer
3. Move the file to desired Location or directory
4. Reference the rdlc file in code by

C#
reportViewer.ProcessingMode = ProcessingMode.Local
reportViewer.LocalReport.ReportPath = "directory of the rdlc file"



It worked great for me somehow.
 
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