Posted on: 4/16/2014 12:34:59 PM | Views : 399

Hi,
I have the following code with reportviewer (rdlc) that displays results for each customers.
Some customer may not have any results available at the time.
In such a situation, we would like the report to display a message to the user that no results are available at this time.
How do I do this?
The code below doesn't work.
Thanks alot in advance
Sub Run_Report(ByVal sel As String) ReportViewer1.Reset() ReportViewer1.LocalReport.DataSources.Clear() Dim params__p1(1) As ReportParameter which.Value = "U" Call Run_Report("") Select Case which.Value Case "U" ReportViewer1.LocalReport.DataSources.Add(New ReportDataSource("DataSet1", ObjectDataSource1.ID)) ReportViewer1.LocalReport.ReportPath = "myTestResults.rdlc" ReportViewer1.LocalR ...

Go to the complete details ...