DataGridView to ReportViewer (Not Crystal Report) RRS feed

  • Question

  • Hello Helpers,

    I am doing a Windows Application,it contains 2 forms.

    Form1 contains DataGridView1 and textboxes,comboxes, etc...(but they are not important, I only use them for Search and Insert into MS Access 2013)

    When i search for a specific field, the data appears in the DataGridView1

    I want to make a report in form 2 using the data that I searched for in form1 and that appeared in the DataGridView1

    I made a code that allows the ReportViewer to Retrieve all Data from the MS Access Database

    here is the Code i used:


    But i want it to take the data shown in the datagridview

    How can I do so?

    Thank you in advance

    Monday, January 18, 2016 10:55 AM