How to Hide StiDataBase

Stimulsoft Reports.WEB discussion
Post Reply
IKRAM
Posts: 7
Joined: Wed Aug 04, 2010 3:56 am

How to Hide StiDataBase

Post 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;
}
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How to Hide StiDataBase

Post 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.
IKRAM
Posts: 7
Joined: Wed Aug 04, 2010 3:56 am

How to Hide StiDataBase

Post by IKRAM »

Thanks for your answer
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How to Hide StiDataBase

Post by Alex K. »

Hello,

Let us know if you need any additional help.
Thank you.
IKRAM
Posts: 7
Joined: Wed Aug 04, 2010 3:56 am

How to Hide StiDataBase

Post 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?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How to Hide StiDataBase

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How to Hide StiDataBase

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