regData not work
regData not work
var dataSet = new System.Data.DataSet("SimpleDataSet");
dataSet.readJsonFile("Demo.json");
var report = new Stimulsoft.Report.StiReport();
report.regData(dataSet.dataSetName, "", dataSet);
download trail ver,run the code in web page,new a designer,but the designer can''t show dataset below dataSource
dataSet.readJsonFile("Demo.json");
var report = new Stimulsoft.Report.StiReport();
report.regData(dataSet.dataSetName, "", dataSet);
download trail ver,run the code in web page,new a designer,but the designer can''t show dataset below dataSource
Re: regData not work
Hello,
Sorry for troubles with our product. We have changed our namespace from "System.Data" to "Stimulsoft.System.Data" to fix some problems with compatibility.
So please use following code:
Please contact us if you need any help.
Thank you.
Sorry for troubles with our product. We have changed our namespace from "System.Data" to "Stimulsoft.System.Data" to fix some problems with compatibility.
So please use following code:
Code: Select all
var dataSet = new Stimulsoft.System.Data.DataSet("SimpleDataSet");
dataSet.readJsonFile("Demo.json");
var report = new Stimulsoft.Report.StiReport();
report.regData(dataSet.dataSetName, "", dataSet);
Thank you.
Re: regData not work
downloaded http://js.stimulsoft.com/ stimulsoft.*.js,try new code in demo,after designer showed,[dataSources] node still empty ,regData not work.
report.dictionary.dataSources.add(dataSet) show me an error
so,user can't design the report! just a test
var dt = new Stimulsoft.Report.Dictionary.StiDataTableSource("test0", "test1", "test1");
var report = new Stimulsoft.Report.StiReport();
report.dictionary.dataSources.add(dt);
the designer show db:test0,table:test1
but dt can't load data,it's empty table
report.dictionary.dataSources.add(dataSet) show me an error
so,user can't design the report! just a test
var dt = new Stimulsoft.Report.Dictionary.StiDataTableSource("test0", "test1", "test1");
var report = new Stimulsoft.Report.StiReport();
report.dictionary.dataSources.add(dt);
the designer show db:test0,table:test1
but dt can't load data,it's empty table
Re: regData not work
Hello.
We have reproduced the issue.
We need some additional time to make an improvement.
Thank you.
We have reproduced the issue.
We need some additional time to make an improvement.
Thank you.
Re: regData not work
Hello,
We have made some improvements. Please download the new version from our web site at http://www.stimulsoft.com/en/downloads/reports-js
Please use the following code
and use report.dictionary.synchronize(); to automatically fill the dictionary.
Please let us know whether this helped you.
Thank you.
We have made some improvements. Please download the new version from our web site at http://www.stimulsoft.com/en/downloads/reports-js
Please use the following code
Code: Select all
var dt = new Stimulsoft.Report.Dictionary.StiDataTableSource("test0", "test1", "test1");
var report = new Stimulsoft.Report.StiReport();
report.dictionary.dataSources.add(dt);
Please let us know whether this helped you.
Thank you.
Re: regData not work
but how to load data into StiDataTableSource?
just downloaded new version,====>report.dictionary.synchronize(); OK
just downloaded new version,====>report.dictionary.synchronize(); OK
Re: regData not work
Hello.
Thank you.
Where do you need to load data from?pall wrote:but how to load data into StiDataTableSource?
Thank you.
Re: regData not work
designer show DataSet data,give up DataTable ^-^
Re: regData not work
Hello, Pall.
Sorry, maybe we don;t understand your question.
Could you describe it more detailed?
Thank you.
Sorry, maybe we don;t understand your question.
Could you describe it more detailed?
Thank you.