简体   繁体   中英

RDLC report in Windows Forms using Visual Studio 2012

Development Environment : Visual Studio 2012 Professional, RDLC, Windows Forms, SQL Server 2012, Entity Framework 5.0

I am working with RDLC in Windows Forms using Visual Studio 2012, I am facing issue of not populating my RDLC report in Windows forms. I am providing below my major steps to initiate with RDLC.

  • Step 1: I created DataSet for my Report.
  • Step 2: Then generated RDLC report
  • Step 3: Binding report with Reportviewer in windows forms.
  • Step 4: Showing nothing in report when running my app through Windows Forms.

Can anybody help me this one. It would be great if you provide me code to launch the RDLC report through code. I tried to attach snapshots of my application but can't it be possible.

What you need is described in details here: https://msdn.microsoft.com/en-us/library/aa337089.aspx

Full example is given in "Viewing Reports in Local Processing Mode" section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM