Print data from mdb database

StewartBW 745 Reputation points
2024-06-29T14:42:04.2466667+00:00

Hello experts

Using Access Database Engine with OleDbReader in .net fw4 winforms to read mdb files, need to print the user selected table, ReportViewer from toolbar is added, how can I print table data using code ( run-time )?

No database to connect at design-time.

I've never used ReportViewer before, couldn't understand this page, no idea how to make rdlc and what's that?

https://video2.skills-academy.com/en-us/sql/reporting-services/application-integration/using-the-winforms-reportviewer-control?view=sql-server-ver16

Thanks in advance.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 28,001 Reputation points Microsoft Vendor
    2024-07-01T01:39:07.9+00:00

    Hi @StewartBW ,

    You can install the Microsoft RDLC Report Designer 2022 in Visual Studio 2022 Extension.

    Then you can use the RDLC designer to create your report layout, add data sources, and design the report as needed.

    User's image

    Best Regards.

    Jiachen Li


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments