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

Free Support Forum - aspose.com

Excel sheet with CS or 95 column fetch column data returning null values (.NET)

I have an excel sheet with huge number of columns, I need fetch data from 95 column (CS name).
Console.Write(worksheet.Cells[i, 95].StringValue )

This is returning null value, I am using nuget package for aspose.cells
I don’t have license as of now.

Kindly provide information about this issue


Please note, 95th index refers to CR column rather than CS, so you should correct it. You may try to use the line instead:
Console.Write(worksheet.Cells[i, 96].StringValue)

If you still find any issue, kindly zip and attach your template Excel file and share complete sample code, we will check it soon.