I need connect a datatable in report with DataSet, but without grid.
Help-me please...
:biggrin:
If you speak portuguese, post your MSN here.
The my is trebor_love@ig.com.br
Add-me.
Thanks.
How link my dataTable on my report ??
-
- Posts: 16
- Joined: Tue Jul 17, 2007 2:38 pm
- Location: Brazil
How link my dataTable on my report ??
Robert Suman
KP CONSULTING
KP CONSULTING
How link my dataTable on my report ??
Please set Report.CacheAllData property in true.
Thank you.
Thank you.
-
- Posts: 16
- Joined: Tue Jul 17, 2007 2:38 pm
- Location: Brazil
How link my dataTable on my report ??
Where ????
My application have a DataTable.
I build a report with connection by DataSet.
I copy the code of report and glue in a class.
StiReport report = rptDocumentosCancelados();
report.RegData(DataTable);
stiWebViewer1.Report = report;
The layout of report appears, but the data not appears.
:biggrin:
My application have a DataTable.
I build a report with connection by DataSet.
I copy the code of report and glue in a class.
StiReport report = rptDocumentosCancelados();
report.RegData(DataTable);
stiWebViewer1.Report = report;
The layout of report appears, but the data not appears.
:biggrin:
Robert Suman
KP CONSULTING
KP CONSULTING
How link my dataTable on my report ??
If you write following code:
then in your report in dataset named "NameDataSet" a new table will be added.
Thank you.
Code: Select all
DataSet dataset = new DataSet("NameDataSet");//NameDataSet - name dataset in your report.
dataset.Tables.Add(YourDataTable);
report.RegData(dataset);
Thank you.