Page 1 of 1

How to Hide StiDataBase

Posted: Thu Mar 10, 2011 4:30 am
by IKRAM
Hello,
I used this code in win in order to hide some StiDataBase, but in web I can't do this. Can you help me this is very urgent

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;
}

How to Hide StiDataBase

Posted: Thu Mar 10, 2011 8:10 am
by Alex K.
Hello,

On the current moment it is not possible to hide this services in Web version. This will be possible to do in the version 2011.1 that will be available in the end of March.

Thank you.

How to Hide StiDataBase

Posted: Thu Mar 10, 2011 8:20 am
by IKRAM
Thanks for your answer

How to Hide StiDataBase

Posted: Thu Mar 10, 2011 8:29 am
by Alex K.
Hello,

Let us know if you need any additional help.
Thank you.

How to Hide StiDataBase

Posted: Thu Mar 10, 2011 9:25 am
by IKRAM
Please I need to add my model xsd directly in WebDesign whith Dictionnary-->new Connexion --> XMLConnection
But I can not display tables of model. Can you help me please?

How to Hide StiDataBase

Posted: Fri Mar 11, 2011 1:35 am
by Alex K.
Hello,

If we understand your task correctly, you can use the following code:

Code: Select all

DataSet data = new DataSet();
data.ReadXmlSchema("e:\\demo.xsd");
report.RegData(data);
report.Dictionary.Synchronize();
Thank you.

How to Hide StiDataBase

Posted: Fri Mar 11, 2011 1:35 am
by Alex K.
Hello,

If we understand your task correctly, you can use the following code:

Code: Select all

DataSet data = new DataSet();
data.ReadXmlSchema("e:\\demo.xsd");
report.RegData(data);
report.Dictionary.Synchronize();
Thank you.