how to display multi data?
hi,
I have a question, there is my code...
(gridview and WebReport both datasource are datatable name dt1. )
the return rows data are all the same. how can i display all data different? thanks.
Regards.
I have a question, there is my code...
Dim report As New FastReport.Report
report.RegisterData(dt, "dt1")
Dim databand As FastReport.DataBand = WebReport1.Report.FindObject("data1")
Dim datatext As FastReport.TextObject = WebReport1.Report.FindObject("text1")
databand.DataSource = report.GetDataSource("dt1")
datatext.Text = "[dt1.id]"
WebReport1.Report.RegisterData(dt, "dt1")
(gridview and WebReport both datasource are datatable name dt1. )
the return rows data are all the same. how can i display all data different? thanks.
Regards.
Comments
You should access WebReport.Report in the WebReport.StartReport event only. Here is the event code that should work:
hi,AlexTZ
thank you for quickly answer,its work correct.