I am trying to display a simple report created using a dataset. I have verified that there is data in the dataset, yet the report contains only the headers and no detail. Below is a listing of my code:
Can anyone help me out with this?
Code:
Dim rpt As New ReportDocument
da = New SqlDataAdapter("EXEC GetAllReport '" & CDate(strDate) & "'", cnn)
da.Fill(ds)
rpt.Load(TemplatePath & "AddAll.rpt")
rpt.SetDataSource(ds)
crViewer1.ReportSource = rpt
Can anyone help me out with this?