Write Data to Excel using JXL API(Code)

File f= new File("G:\\Frame1111_1.xls");
WritableWorkbook wk= Workbook.createWorkbook(f);
WritableSheet ws = wk.createSheet("Data", 0);
Label l1= new Label(2, 3, "HELLO");
ws.addCell(l1);
wk.write();
wk.close();

No comments :

No comments :

Post a Comment