hello
I wanted to disable display connectors OLEDB, SQL
ODBC connection and leave only the xml in the window "choose
type of connection "that appears after clicking the" New Connection ".
thanks.
Disable Connectors
Disable Connectors
Hello,
You can use next code:
Thank you.
You can use next code:
Code: Select all
Stimulsoft.Base.Services.StiServiceContainer services = Stimulsoft.Report.StiConfig.Services.GetServices(
typeof(Stimulsoft.Report.Dictionary.StiDatabase));
foreach (Stimulsoft.Base.Services.StiService service in services)
{
if (service is Stimulsoft.Report.Dictionary.StiXmlDatabase) continue;
service.ServiceEnabled = false;
}
Disable Connectors
Thank you very much.
Disable Connectors
Have a nice day!