We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using Generic List as Nested Object of primitive data type

Hi Aspose Team,

I’m using Aspose.cells dll in .Net and version is

For Example, I have a class Employee and few properties, one of the property in Employee class is public List [int] EmployeeId { get; set; }. Now how do i export this using smart markers.

I have used &=Datasourcename.EmployeeId and getting printed as System.Collections.Generic.List`1[System.Int64]

Could please help me on this?



Thanks for your query.

Please see the following two sub-topics with examples on how to use Nested Objects and Generic Lists in Smart Markers for your reference. Please refer to the examples and write/update your code accordingly:

Hope, this helps a bit.

Thanks Amjad_Sahi… :slight_smile: