Page 1 of 1

How to create Configuration(config) file and how to use it?

Posted: Sat Jan 20, 2007 4:40 am
by jayakumargr
Hello Guys,
i am using stimulreport v2006.4. i was create one config file Using configurator. And i dont know how to use that file. please any one give me the c# code or guidelines.

thanks in advance!

How to create Configuration(config) file and how to use it?

Posted: Sat Jan 20, 2007 6:45 am
by Vital
You can use static methods from StiConfig class. To load configuration you can use following code:

Code: Select all

StiConfig.Load("MyConfig.config");
For also you can place configuration to your application directory (name of configuration must be equal to Stimulsoft.Report.config).
In this place report engine automatically will be use this file.

Thank you.