Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Created Unassigned: LoadFromDataTable: Ampersand "&" changed to "& ;" [15191]

$
0
0
ExcelRangeBase.LoadFromDataTable

Ampersands "&" in data are changed to "&amp ;" (without space) when loading cells from a GridView's DataTable.

DataTable gridViewTable = GetDataTable(aGridView);
ExcelWorksheet ws = pck.Workbook.Worksheets.Add("Sheet1");
ws.Cells["A1"].LoadFromDataTable(gridViewTable, true, OfficeOpenXml.Table.TableStyles.Medium1);

The following does __not__ demonstrate the problem:
ws.Cells["A1"].Value = "This & That";

Viewing all articles
Browse latest Browse all 2262

Trending Articles



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