Hi,
I create a report programatically like this:
Then if i set the value of a text box (in the designer) to [=Fields.Data], it will display [=Fields.Data] when I display the report instead of displaying the data from the database. The connection is correct. What do i need to do differently?
I figured out why the details were splitting.
Thanks
I create a report programatically like this:
Dim report As New myrpt
Dim adapter As New System.Data.SqlClient.SqlDataAdapter(sql, GetConnectionString())
report.DataSource = adapter
Me.ReportViewer1.Report = report
Me.ReportViewer1.RefreshReport()
Then if i set the value of a text box (in the designer) to [=Fields.Data], it will display [=Fields.Data] when I display the report instead of displaying the data from the database. The connection is correct. What do i need to do differently?
I figured out why the details were splitting.
Thanks