Print data from mdb database

StewartBW 1,145 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://learn.microsoft.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,733 questions
{count} votes

Accepted answer
  1. Jiachen Li-MSFT 32,056 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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.