Jump to content
Changes to the Jaspersoft community edition download ×

How to call Jasper Report from C# .net windows application


Recommended Posts


I am new to Jasper Report and was using Crystal Report earlier. I want to ask can anyone share a c# class file which shows how to call a Jasper Report from C# application which is deployed in Jasper Report Server.

Also is there any cloud based Jasper Report server where some sample Jasper Report are deployed which can be used for testing purpose using one's C# code?

Any input wil be deeply appreciated.



Link to comment
Share on other sites

  • 1 month later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
  • 2 weeks later...
  • 4 weeks later...

JrParameterItem mp3 = new JrParameterItem();

mp3.Name = "Au";

mp3.Value = "01-01-2015";



IntJasperReportParameter p = new IntJasperReportParameter();

p.IntValue = 2;

p.Name = "NN";



DateTimeJasperReportParameter d = new DateTimeJasperReportParameter();

d.DateTimeValue = DateTime.Now.Date;

d.Name = "Du";



JasperReport report = new JasperReport()


Name = "Relevé",

Path = "/Pathto/MyReport",

Parameters = mP,




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...