Message-ID: <452118278.10091.1711712556519.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10090_1258081520.1711712556519" ------=_Part_10090_1258081520.1711712556519 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Sets a SharePoint List as a data source for a single row in a template.<= /p>=20
public static void BindRowData(this ExcelTemplate template, Microsoft.Share= Point.SPList list, String dataSourceName, DataBindingProperties properties)=20
Public Shared Sub BindRowData(ByVal template As ExcelTemplate, ByVal list a= s Microsoft.SharePoint.SPList, ByVal dataSourceName As String, ByVal proper= ties As DataBindingProperties)=20
property
Must be specified, but the=20
DataBindingProperties
need not be set beforehand. To bind data=
to a template with the default=20
DataBindingProperties
, pass in=20
ExcelTemplate.CreateDataBindingProperties()
as the=20
property
value. Otherwise, use the=20
ExcelTemplate.CreateDataBindingProperties()
method to generate=
a new=20
DataBindingProperties
object and set the=20
Da=
taBindingProperties.MaxRows,=20
=
DataBindingProperties.Transpose, and/or=20
DataBindingProperties.WorksheetName properties for the workbook.=20
BindRowData
will throw this exception if=20
null
(C#) or=20
Nothing
(VB.NET) is passed to the method.=20