Search Results

Search found 3 results on 1 pages for 'areeb gillani'.

Page 1/1 | 1 

  • how to add data in Table of Jasper Report using Java

    - by Areeb Gillani
    i am here to ask you just a simple question that i am trying to pass data to a jasper report using java but i dont know how to to, because the table data is very dynamic thats y cannot pass sql query. any idea for this. i have a 2D array of object type, where i have all the data... so how can i pass that... Thanx in advance...!:) ConnectionManager con = new ConnectionManager(); con.establishConnection(); String fileName = "Pmc_Bill.jrxml"; String outFileName = "OutputReport.pdf"; HashMap params = new HashMap(); params.put("PName", pname); params.put("PSerial", psrl); params.put("PGender",pgen); params.put("PPhone",pph); params.put("PAge",page); params.put("PRefer",pref); params.put("PDateR",dateNow); try { JasperReport jasperReport = JasperCompileManager.compileReport(fileName); if(jasperReport != null ) System.out.println("so far so good "); // Fill the report using an empty data source JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, params, new JRTableModelDataSource(tbl.getModel()));//con.connection); try{ JasperExportManager.exportReportToPdfFile(jasperPrint, outFileName); System.out.printf("File exported sucessfully"); }catch(Exception e){ e.printStackTrace(); } JasperViewer.viewReport(jasperPrint); } catch (JRException e) { JOptionPane.showMessageDialog(null, e); e.printStackTrace(); System.exit(1); }

    Read the article

  • SEnuke Review - Is This Software Good Enough?

    If there's such useful SEO software which is able to govern totally on the search engines, SEnuke is the answer. SEnuke plays an important role as a social bookmarking tool. SEnuke is the new SEO software available in the internet developed by Joe Russell and Areeb Bajwa.

    Read the article

  • SEnuke Review - Is This Software Good Enough?

    If there's such useful SEO software which is able to govern totally on the search engines, SEnuke is the answer. SEnuke plays an important role as a social bookmarking tool. SEnuke is the new SEO software available in the internet developed by Joe Russell and Areeb Bajwa.

    Read the article

1