tags:

views:

1772

answers:

1

I can not get the rdlc report on my C# project ,on debug exe .....can any one help me to get it.......If i install the visual stdio, then i get the rdlc on my exe , but with out it..... rdlc ont show on my exe..........i want just to show on my project with out install the visual stdio

+1  A: 

For these so called "local reports", you need to do one of two things:

  1. When installing your application on the client machine, also install the RDLC file and reference the installed RDLC file in the respective properties of the Report Viewer Control. Keep in mind that the installation location on the user's machine may be different from your development folder, so you must make sure the path to the RDLC file is not hardcoded.
  2. Embed the RDLC file in the application's resources and have the Report Viewer Control reference the RDLC resource

Of course, if you don't ship the RDLC file, the report can not be displayed.

Thorsten Dittmar