JSON Data Source

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

JSON Data Source

Post by nitin.sharma870 » Wed May 15, 2019 2:06 pm

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: 1871
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON Data Source

Post by Lech Kulikowski » Thu May 16, 2019 9:19 am

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