Message-ID: <1921396189.8717.1711657659273.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8716_1252419148.1711657659273" ------=_Part_8716_1252419148.1711657659273 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Sets or returns the name of the worksheet to which the data will be boun= d during an ExcelTemplate.= BindData, ExcelTem= plate.BindCellData, ExcelTemplate.BindColumnData, or ExcelTemplate.BindRowData method call.
=20public System.String WorksheetName{ get; set; }=20
Public Property WorksheetName() As String=20
By specifying the worksheet name, you can import from different data sou=
rces for the same data marker in different worksheets within the same workb=
ook. The default value for WorksheetName is null
(
WorksheetName
is a Read/Write property.
DataBindingProperties dbp =3D xlt.CreateDataBindingProperties(); dbp.WorksheetName =3D "first worksheet"; xlt.BindData(twodim, names, "TwoDimArray", dbp); xlt.Save(Page.Response, "output.xls", false);=20
Dim dbp As DataBindingProperties =3D xlt.CreateDataBindingPropert= ies() dbp.WorksheetName =3D "first worksheet" xlt.BindData(twodim, names, "TwoDimArray", dbp) xlt.Save(Page.Response, "output.xls", False)=20