Page 1 of 1

Change DataSource and Database Type Programmatically

Posted: Wed Apr 09, 2008 3:12 pm
by sarribas
Hi:


Is there a way to change programmatically the datasource and database type, for example, from StiSqlDatabase to StiMySqlDatabase? We are developing an application with Nhibernate.

Regards

Sebastián Arribas
Powersolution

Change DataSource and Database Type Programmatically

Posted: Wed Apr 09, 2008 3:44 pm
by Edward
Yes, it is possible.

If you open a mrt file which is used for storing of the report template, then you find out that it has an xml structure. Simply change the name of the appropriate types and another type of DataBase/DataSources will be used.

Thank you.

Change DataSource and Database Type Programmatically

Posted: Wed Apr 09, 2008 4:08 pm
by sarribas
Thank you for your quick answer!

Change DataSource and Database Type Programmatically

Posted: Wed Apr 09, 2008 4:21 pm
by Edward
Let us know if any help is required.

Thank you.