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 DataBindingProperties.WorksheetName

DataBindingProperties.WorksheetName

Descript= ion

=20

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.

=20
C#
=20
 public System.String WorksheetName{ get; set; }
=20
=20
vb.net
=20
Public Property WorksheetName() As String
=20
=20

Remarks

=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 (Nothing in VB.NET), meaning that the data source will be applied t= o the data marker for the entire workbook.

=20

WorksheetName is a Read/Write property.=20

Examples

=20
C#
=20

          DataBindingProperties dbp =3D xlt.CreateDataBindingProperties();
          dbp.WorksheetName =3D "first worksheet";
          xlt.BindData(twodim, names, "TwoDimArray", dbp);
          xlt.Save(Page.Response, "output.xls", false);
        
=20
=20
vb.net
=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
------=_Part_8716_1252419148.1711657659273--