Crystal Reports to Datagridview RRS feed

  • Question

  • Hi,

    I have an existing crystal report file from which I want to display data in a datagridview. I was thinking of using a BindingSource to connect the two, but I am not sure how to do so. Is this even possible? How should I approach this problem in any other way? I am using Visual Studio 2010. 

    Thursday, October 11, 2018 4:00 PM

All replies

  • Hello, 

    Do it two steps:

    - data extraction - get data into DataSet

    - display data - show data from DataSet


    Problem which you will have - report contain hierarchical data and Grid expected something flat.

    Sincerely, Highly skilled coding monkey.

    Thursday, October 11, 2018 4:11 PM
  • Generally you go the other way. You have data in your database or wherever. You then generate a report (SSRS, Crystal, etc) against it. Alternatively you display it in the UI (DataGridView, etc). So, you should populate your UI from your data and your report from that same data.

    For questions related to DGV please post in the Windows Forums forum.

    For questions related to Crystal Reports please post in their forums as these forums are for MS products only.

    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, October 11, 2018 6:58 PM