如何从 C# 代码中为 Stimulsoft 报告设置数据库的路径?



我正在我的应用程序中使用Stimulsoft报告,我想将数据库的路径更改为当前目录,如何将路径传递给报告,以便它可以根据需要更改路径。

((StiSqlDatabase)report.Dictionary.Databases[ "Connection"]).ConnectionString = "(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source
=xxx;Jet OLEDB:Database Password=xxxxxxx;Persist Security Info=True;");"

最新更新