How to create datasource?

Stimulsoft Reports.WEB discussion
Post Reply
Ning
Posts: 1
Joined: Wed Aug 05, 2009 4:39 am
Location: Thailand

How to create datasource?

Post by Ning »

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

Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

How to create datasource?

Post by Andrew »

Hello,

Can you please send to support@stimulsoft.com the screenshot of the Dictionary tab with your data? And, if possible to send us your data?

Thank you.
hadisaadat_du
Posts: 35
Joined: Tue Nov 09, 2010 2:43 pm
Location: iran

How to create datasource?

Post by hadisaadat_du »

Hi every body.
I sea allmost all topic in forum and seem int all of them posit that we know what is our tables and columns in dataset of our reportbut allways not thus
1-sometime we may want to edit the report in webdesigner that we dont know any thing about its data set but we sure it works with our data base , so befor call the design() function we pass what data set to our report via regdata(//what_dataset) ??
2- or we may want to set full access to data base to one user to create the every report that need to design well we pass a full data base to designer dictionary and he/she design every report by every columns in every tables or viwes in database and save it , in viwe report mode namely after load our report and we want to pass it to stiwebviewer we pass what data set to it since we cant pass all data base to our report ??!
Post Reply