April 5, 2014 at 6:48 pm
I am learning SSRS from a book. The book tells me to modify a simple existing report as follows -
> Create a new Form (windows forms) and use the RDLC file of the original report.
> Use the report wizard to select data source and eventually create your report.
When I try to run the modified report, visual studio shows me the old one instead. How do I fix this ?
old report -
The modified report -
When I rebuild the solution and debug it and try to run modified report, it shows me the old report instead.
April 7, 2014 at 4:38 am
Do you have start item set on your project as a Old report ? That could be the reason...
April 7, 2014 at 3:58 pm
Got it to work, but using a slightly different solution. Now I need to figure out how to make it show the form that is opened.
Info on start item -
April 7, 2014 at 4:25 pm
This happens because of start item setting in visual studio. To change this -
solution explorer > right click your vb (winforms) project > properties
> application side-tab > Startup form: Form2 (ie the form that points to
modified report)
Rebuild the project and you will get the modified form/report instead of the original one. The problem with this approach is that you will have to change this all the time when you add a new form or report to your project.
Can someone help me to fix this issue ?
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply