JSON Data Source

Stimulsoft Reports.NET discussion
Post Reply
nitin.sharma870
Posts: 4
Joined: Wed May 15, 2019 1:21 pm

JSON Data Source

Post by nitin.sharma870 »

How to pass the JSON data source to report in C# dontet 4.5.
I just found the below code that first converts the JSON data to DataSet and then registers with the report.

Code: Select all

 DataSet data = StiJsonToDataSetConverter.GetDataSetFromFile("//Demo.json"); 
Is there any way that we can directly pass the JSON data without converting to the dataset?.
Lech Kulikowski
Posts: 6244
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON Data Source

Post by Lech Kulikowski »

Hello,

You can add JSON data source to the report and set the path to the JSON file or add JSON to resources.

Thank you.
Post Reply