Monday 22 December 2014

OpenXml - How to fix error - Cannot convert type 'int' to 'DocumentFormat.OpenXml.UInt32Value'

Watch this example on YouTube:

Replace
Row1.RowIndex = (UInt32Value)i
with
Row1.RowIndex = (UInt32)i;

No comments:

Post a Comment