Hello,
We are using Aspose.Cells for our export to excel requirements.There are different import object methods to write data in excel. Previously i was using following method where i had only one List object.
List tempreportList = new List();
worksheet.Cells.ImportCustomObjects((System.Collections.ICollection)tempreportList, 0, 0, null);
but now our requirement has been changed and we now creating dynamic class with dynamic properties and values. so now i have one dictionary object as follows.
var test = new Dictionary<string, List>();
In which keys are the header of the list and List is the values which should be write under that column.
so our test object will look like as follows.
test = {“Name”, [“asley”,“roger”,“test1”]}
{“Number”, [1,2,3]}
{“Date”, []}
{“Currency”, [10.5,11.2,20.3]}
So Can anyone help me in writing this dictionary object to excel? Is there any inbuilt method which aspose provides to write this? it would be appreciated if someone helps me to write this complex logic to export in excel
Thanks & Regards
Ashish Rajguru