Earlier, I created a Crystal Report. Then, I added a group section to it.
But even after Ive added the group section, when I view it in the browser, it still shows the old report. What can I do to refresh it?
In the page load, I put this code inside:
Dim myConnection As New SqlConnection(ConfigurationSettings.AppSettings("CBC"))
Dim MyCommand As New SqlCommand("CBCSpReportBNM", myConnection)
MyCommand.CommandType = CommandType.StoredProcedure
Dim MyDA As New SqlClient.SqlDataAdapter
MyDA.SelectCommand = MyCommand
Dim myDS As New dsBNM
MyDA.Fill(myDS, "CBCSpReportBNM")
Dim oRpt As New crBNMreport
oRpt.SetDataSource(myDS)
crvBranch.ReportSource = oRpt
Or should I set the ReportSource with Custom Bindings "C:\inetpub\wwwroot\proj\MyReport.rpt" ??
But even after Ive added the group section, when I view it in the browser, it still shows the old report. What can I do to refresh it?
In the page load, I put this code inside:
Dim myConnection As New SqlConnection(ConfigurationSettings.AppSettings("CBC"))
Dim MyCommand As New SqlCommand("CBCSpReportBNM", myConnection)
MyCommand.CommandType = CommandType.StoredProcedure
Dim MyDA As New SqlClient.SqlDataAdapter
MyDA.SelectCommand = MyCommand
Dim myDS As New dsBNM
MyDA.Fill(myDS, "CBCSpReportBNM")
Dim oRpt As New crBNMreport
oRpt.SetDataSource(myDS)
crvBranch.ReportSource = oRpt
Or should I set the ReportSource with Custom Bindings "C:\inetpub\wwwroot\proj\MyReport.rpt" ??