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

Stimulsoft Reports.NET discussion
Post Reply
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

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

Post 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!
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

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

Post 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.
Post Reply