0
I recently added Reportviewer to my Visual Studio 2015 Community for creating and printing reports. My database already contained information, added before adding Reportviewer.
I am currently 4 Reports.
After I made all the bank calls with the reports, to pull the necessary table data at each print, I started having problems. When adding some data, it is saved until I use it, at some point, to print a report, whether data from a Tablix, or a text box that contains only one line of the database.
In fact, when editing the database in the directory, it simply deletes everything that was inserted when starting the program, that is, the only data left are those that were registered before connecting the database to the reports.
I would like to know if this is the right way to create reports that relate to the bank, if you would like a solution. I use parameters in the report, except for Tablix data.
Any other necessary information will be provided. Grateful.
EDIT
I found a solution: no Solution Explorer I went to my database file, opened its properties and property Copy to output directory placed Do not copy, and ready! What was happening was that every time the bank within the program was called by the Reportviewer, it took an already saved copy and rewrites over the file in the directory, that is, a backup was saved on top of which was being used in the whole system.