EasyXLS http://forum.easyxls.com/ |
|
easy_WriteXLSFile_FromDataSet and multiple sheets http://forum.easyxls.com/viewtopic.php?f=5&t=2213 |
Page 1 of 1 |
Author: | poppen [ Thu Feb 26, 2015 7:14 am ] |
Post subject: | easy_WriteXLSFile_FromDataSet and multiple sheets |
by using the easy_WriteXLSFile_FromDataSet method and having a dataset composed of lets say 2 tables, is it possible to write this set to 2 sheets in the file? if not, is there a workaround for this ? thx |
Author: | oana [ Mon Mar 02, 2015 7:00 am ] |
Post subject: | Re: easy_WriteXLSFile_FromDataSet and multiple sheets |
Hi! Not directly. You may insert 2 datasets this way. Use ExcelWorksheet.easy_insertDataSet() method to: 1) Add the initial dataset that will insert the first table. 2) Create a new dataset and add the second table to it. Also add this dataset. Then use ExcelDocument.easy_WriteXLSFile() method to write the file. |
Page 1 of 1 | All times are UTC - 4 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |