Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9269

No data in report

$
0
0

One more problem to solve.  I have no data in my report.  I have searched all over the web and found no solution.  I am working in Visual Studio 2012, and am building a Windows application, not a web app.  I have created a very simple report, from one table, with two fields.  The only thing that shows up when I do a preview is data from some bogus database with colors and other fake data.  When I try to browse the data in the fields, I get nothing.  When I run the program, from the IDE, I get no data at all shown in my report.  When I preview and hit refresh, I get no data.  I am using an ADO.NET connection from my project data connections.  I have the following code in the Load method of the form that has the report on it:

 

        Dim rpt As New status

        CrystalReportViewer1.ReportSource = rpt

        CrystalReportViewer1.Refresh()

        CrystalReportViewer1.Update()

 

status is the name of my report (status.rpt).  I am mightily frustrated with this and appreciate any help you can give me.


Viewing all articles
Browse latest Browse all 9269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>