Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Copy the worksheet to another workbook throw exception but the name not exist.

$
0
0
https://closedxml.codeplex.com/discussions/549543

Issue:
XLWorksheet.cs
  Internals.RowsCollection.ForEach(kp => targetSheet.Internals.RowsCollection.Add(kp.Key, new XLRow(kp.Value)));

I'm not sure that there need a check for some key maybe has exist .

e.g. Code:
( http://www.liuzhiyong2012.cn/dl/ClosedXML_0626.rar )

I don't know why case the difference between the same code but different name in this examle code. And if you have time ,please help and try run the example.
Tanks for you greatly power tools.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>