how to set the report database via exist dbconnection
Posted: Mon Dec 01, 2014 7:17 am
my db connection has some specific purpose to use.
so i want the report use the same db connection in my application,not the same connection string.is the same connection object.
i try to extened the stisqldatabase ,to set the db connection object via the construct function,but when i run the report,it has a exception see that:" cant't find the namespace StiExtended". the StiExtended is my extended class's namespace.
how should i change my code to use the exist connection object ?
so i want the report use the same db connection in my application,not the same connection string.is the same connection object.
i try to extened the stisqldatabase ,to set the db connection object via the construct function,but when i run the report,it has a exception see that:" cant't find the namespace StiExtended". the StiExtended is my extended class's namespace.
how should i change my code to use the exist connection object ?