Message-ID: <824673985.9927.1711706977603.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9926_947870433.1711706977603" ------=_Part_9926_947870433.1711706977603 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To decrypt an encrypted template, set DecryptPassword to the password set using EncryptPassword or in = Microsoft Excel (Tools -> Options... -> Security).
=20public System.String DecryptPassword{ get; set; }=20
Public Property DecryptPassword() As String=20
DecryptPassword
before calling=20
Open.=20
ExcelTemplate xlt =3D new ExcelTemplate(); xlt.DecryptPassword =3D "password"; xlt.Open(Application["templatepath"] + @"\DataBinding\EmployeeOrdersTemplate.xls");=20
Dim xlt As New ExcelTemplate() xlt.DecryptPassword =3D "password" xlt.Open(Application["templatepath"] & _ "\DataBinding\EmployeeOrdersTemplate.xls")=20