My report I use the following code:
Code: Select all
Dim dap As SqlDataAdapter = New SqlDataAdapter(mysqlquery, Conn)
Dim dst As DataSet = New DataSet
Conn.Open()
dap.Fill(dst, "helpingPeople")
Conn.Close()
StiReport1.RegData(dst)
StiReport1.Render()
StiReport1.Show()
But with this code, only once the report is ready. When I view the report close the window, the next time the report is empty.
How do I solve the problem?