Hello to you,
I'm newbie in .net world, also newbie using stimulsoft report.
I'm using VB.NET 2005, StimulReport 2008.2, MS-ACCESS 2000 database
My past background from VB6, DataDynamics ActiveReport Pro
Possibly report template (*.MRT) without have Connection & DataSource ?
I asked this questions is I'm inspired of DataDynamics ActiveReport Pro which needn't to require to have pre-created Connection & DataSource.
Let Says :
Database named ABC
contains table, TBLCUSTOMER (CustomerID, CustomerName, Address)
Then, In creating report template, I just drag a textbox control to "data band", then changed the textbox's fieldname to CustomerName
So when from the VB code, I just passing the data table as "select * from tblcustomer".
and easily the report will shown.
Is it also possibly in stimulSoft Report ?
Why Stimulsoft report needed to pre-created connection & Datasource ? Maybe caused by StrongTyped ? But I think the WeakTyped is more flexible.
Please correct me if I'm wrong, I still needed the concept of stimul report ? It's Help documentation very simple
Thanks & Best Regards,
Steven
email : stvhui@yahoo.com
Possibly report template (*.MRT) without have Connection & DataSource ?
Possibly report template (*.MRT) without have Connection & DataSource ?
There are many different types of Datasources you can provide to your report.
If you are passing Data from your application to the report then you can just use the 'Data from DataSets, DataTables' Datasource.
This Datasource will contain the column definitions for the data you will be passing it. You can then use this Datasource at design time to design your report.
Once the report.mrt is saved, you can load it from your application and pass in your data.
Also have a look at the provided Demo application that comes installed with Stimulsoft Reports. The binary and source code is there which shows alot of different samples. The first one deals with basic reports with a simple listing.
There is also a number of video tutorials provided here: http://www.stimulsoft.com/ReportsNetVideos.aspx
If you are passing Data from your application to the report then you can just use the 'Data from DataSets, DataTables' Datasource.
This Datasource will contain the column definitions for the data you will be passing it. You can then use this Datasource at design time to design your report.
Once the report.mrt is saved, you can load it from your application and pass in your data.
Code: Select all
StiReport report = new StiReport();
report.Load("report.mrt");
report.RegData(myDataSet);
report.Show();
Also have a look at the provided Demo application that comes installed with Stimulsoft Reports. The binary and source code is there which shows alot of different samples. The first one deals with basic reports with a simple listing.
There is also a number of video tutorials provided here: http://www.stimulsoft.com/ReportsNetVideos.aspx