Monday 26 May 2014

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

Cannot convert type int to DocumentFormat.OpenXml.UInt32Value

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

1 comment: