Skip to Content
0
Jun 12, 2018 at 11:33 AM

How zo be sure a data source is properly released.

64 Views

Dear all,

I have a report template which is using a ADO.NEt(XML) datasource pointing to a simple XML file.

I am generating a report to PDF file inside a WPF application.

What I have noticed is that time to time when the report is render to PDF, the datasource file is still lock for a while by the template using it.
Is there a way from the ReportDocument object to release the source once report is published ?

thanks