Message-ID: <991061136.8417.1711645182101.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8416_1654465956.1711645182101" ------=_Part_8416_1654465956.1711645182101 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Sets whether ExcelWriter should remove data markers in the template that= do not bind to data sources in code.
=20public boolean RemoveExtraDataMarkers{ get; set; }=20
Public Property RemoveExtraDataMarkers() As Boolean=20
By default, if a data marker does not bind to a data source, ExcelWriter=
will throw an exception. If RemoveExtraDataMarkers
is set to =
true
, ExcelWriter will remove extra data markers silently.
If a data marker includes the "Optional" modifier, and does no=
t bind to a data source, ExcelWriter will remove it without error even if <=
code>RemoveExtraDataMarkers is set to false
.
RemoveExtraDataMarkers
is a Read/Write pro=
perty.
//--- Setting RemoveDataMarkers to 'true' tells //--- ExcelWriter to remove data markers that do not //--- bind to a data source. xlt.RemoveExtraDataMarkers =3D true;=20
'--- Setting RemoveDataMarkers to 'True' tells '--- ExcelWriter to remove data markers that do not '--- bind to a data source. xlt.RemoveExtraDataMarkers =3D True=20