poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avik Sengupta <avik.sengu...@itellix.com>
Subject POI in .NET
Date Thu, 08 Jul 2004 13:49:42 GMT
Have you yearned to use the wonders of POI in you .NET applications?
Well, then yearn no more. POI compiled into a .NET dll is available at 


The following C# code uses poi to create a new excel file.. it compiles
and runs successfully .. tested in mono, should be fine in windows as
well. Of course, no warranties, it may eat your homework :)

Done with IKVM. You need to download the IKVM runtime to run this. 


//Main.cs -- reference POI dll and IKVM.GNU.Classpath.dll
using System;
using org.apache.poi.hssf.usermodel;
using ikvm.lang;

class MainClass
	public static void Main(string[] args)
		Console.WriteLine("Hello World!");
		HSSFWorkbook wb = new HSSFWorkbook();
		HSSFSheet s= wb.createSheet("Sheet1");
		HSSFRow r= s.createRow(0);
		HSSFCell c = r.createCell(1);
		java.io.FileOutputStream fs = new

To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org

View raw message