My company is evaluating the stimulsoft products, so far we are very impressed by this great product.
But I'm trying to change the database connection string at run time using Javascript
I'm using this code
Code: Select all
report.dictionary.databases.clear();
report.dictionary.databases.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLSource("NAME","NAME","NAME","CONECTIONSTRING"));
The database connection is created but the connection string is not passed to the connection.
I also try with a SQl server connection and get the same problem.
Code: Select all
report.dictionary.databases.add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("MyDatabase", "Myconnectionstring"));
We really need this feature to work well in order to adquire a license of stimulsoft.
Best Regards
Jose Morango