How to set the Path of the Database for a Stimulsoft Report from the Code in C#?
How to set the Path of the Database for a Stimulsoft Report from the Code in C#?
I am working with a Stimulsoft Report in my application and i want to the change the path of the Database as Current Directory how to pass the Path to the Report so that it can Change the Path as my wish.
1 Answer
1
((StiSqlDatabase)report.Dictionary.Databases[ "Connection"]).ConnectionString = "(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source
=xxx;Jet OLEDB:Database Password=xxxxxxx;Persist Security Info=True;");"
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
An explanation, what a code does and how this addresses the problem in the question, rarely fails to improve an answer.
– blue-phoenox
Sep 9 '18 at 10:07