Free Support Forum -

MaxDataRow : Returns 0 or -1?


As per the documentation (online: the MaxDataRow property shall return -1 incase there are no cells / rows that contain data.

However, in our case this property has been returning 0. alternatively, could you please share the scenario under which this property returns 0?

Thanking you in anticipation
Amit Agarwal



Thanks for your posting.

We had fixed it. Could you please try the latest version Aspose.Cells
for .NET v5.3.3.3

If problem is still occurring, then let us know.