Access JSON Data Source headers from dotnet code

Stimulsoft Reports.NET discussion
Post Reply
mgomez
Posts: 10
Joined: Wed Jun 05, 2024 11:24 am

Access JSON Data Source headers from dotnet code

Post by mgomez »

Hello everybody,

In the report designer we can manage the headers for a JSON data source:
sc1.jpg
sc1.jpg (30.54 KiB) Viewed 1236 times
However, I am looking for the headers of the data source inside the dotnet code but I have not found them:
sc2.jpg
sc2.jpg (258.29 KiB) Viewed 1236 times
Please, could you tell me how to get the headers of a data source looking inside the data source object (StiDataSource class)?

Thanks in advance
Regards
Lech Kulikowski
Posts: 7289
Joined: Tue Mar 20, 2018 5:34 am

Re: Access JSON Data Source headers from dotnet code

Post by Lech Kulikowski »

Hello,

You need to use the StiJsonDatabase:
StiJsonDatabase jsondb = new StiJsonDatabase();
jsondb.Headers.Add();

Thank you.
Post Reply