Free Support Forum - aspose.com

How to export data from excel to result set in Java

Hi,

Is there any way to read the data from excel worksheet in to a resultset or an array using java. I've used the exportToDataTable in vb.net application but I don't see any similar function in Java.

Please give me some sample code so that I can use Aspose.cells in a java project.

Thanks,

Geeta

Hi,

Thanks for using Aspose.Cells for Java.

We are afraid, you currently cannot export your worksheet data into result set. However, you can export your worksheet data into object array. You can then create your result set from this array as per your needs.

Please see the following documentation article for your reference.


Please also download and use the latest version:

Aspose.Cells for Java 7.3.4
.We have lately implemented quite a number of features and enhancements in Aspose.Cells for Java.

Please also download and try the Latest Offline Jave Demos - Aspose.Cells for Java from the following link to see the running examples of theses features.