How does the Report Object work in VB.NET2010 (Visual Studio 2010)

Posted on 2011-04-24
Last Modified: 2013-11-26
Hi, I'm using VB.NET2010, WinForms (from the complete Visual Studio2010 package).

Can someone please explain the process of how to set-up a REPORT on one of your Forms (start to finish), or better yet can you provide a tutorial (preferably a video, if available) that will explain the "Report" object.

My questions are: When should a Report be used, how do I use it, how do I set up a Report, how do I print that Report.

Thank you,
Question by:Mr_Fulano
    LVL 84

    Accepted Solution

    A report is a visual representation of your data. In most cases, the Report is NOT editable by the enduser (i.e. they can update the data). Basically, you create the report, then use the ReportViewer class in .NET to "show" the user that report.

    This MSDN article is fairly complete:

    Be sure to review the portions relevant to WinForms solutions, not WebForms (i.e. ASP.NET) solutions.

    Note also that many versions of VS include Crystal Reports for free. Many feel this is superior to the bulitin Reports, but if your reporting needs are simple there's no reason to move to CR.
    LVL 100

    Assisted Solution

    Note.  Crystal is not included with VS2010 but is a separate download.  It is free but has to be downloaded and installed separately.  If you desire to use Crystal Reports I can supply the link to the download.

    LVL 84
    Sorry ... of course you're right, and my earlier comment certainly would have led to some confusion, so thanks for clearing that up.

    Author Closing Comment

    I would have like a little more examples, but this was OK. I was able to work with it.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now