How to create datasource?
Posted: Wed Aug 05, 2009 5:26 am
I have create website project on vs2005 for generating report and I want to bind data from DataSet to report. I do this by creating DataSet, drag StiWebReport to drop on design page and select "Choose Data Sources" for choosing data source but on report data source pop up doesn't show DataSet which have already created so I don't choose any data source. In code behind, I write code for bind data like this:
StiReport report = new StiReport();
report.RegData("DataSet1", dataSet1);
StiWebDesigner1.Design(report);
From these codes, data source is shown on dictionry tab in design report web and x symbol is appear on this data source too. When I drag column of data source to report page then preview report, data of this column isn't shown. I think, it occur from I don't choose data source on the first step or not?
Could you please tell me about the correct way for creating data source and binding data? Help me please!!!
PS: I download Stimulsoft Reports Designer.Web trial version for do this. If this cause occur from trial version, do you have free version for student?
Thanks,
Ning
StiReport report = new StiReport();
report.RegData("DataSet1", dataSet1);
StiWebDesigner1.Design(report);
From these codes, data source is shown on dictionry tab in design report web and x symbol is appear on this data source too. When I drag column of data source to report page then preview report, data of this column isn't shown. I think, it occur from I don't choose data source on the first step or not?
Could you please tell me about the correct way for creating data source and binding data? Help me please!!!
PS: I download Stimulsoft Reports Designer.Web trial version for do this. If this cause occur from trial version, do you have free version for student?
Thanks,
Ning