Skip to end of metadata
Go to start of metadata

Overload

Description

SetDataSource(Object(), String(), String)

Sets a main document data source to a one-dimensional object array. The method imports a single row of data to the specified set of main document merge fields.

SetDataSource(Object(), String())

Sets a main document data source to a one-dimensional object array. The method imports a single row of data to the specified set of main document merge fields.

SetDataSource(System.Data.DataSet, String)

Sets a main document data source to an ADO.NET DataSet. A DataSet contains a collection of DataTables. If you set a main document data source to a DataSet, WordWriter will get the first row of the first DataTable in the DataSet.

SetDataSource(System.Data.DataSet)

Sets a template's data source to an ADO.NET DataSet. A DataSet contains a collection of DataTables. If you set a template's data source to a DataSet, WordWriter will get the first row of the first DataTable in the DataSet.

SetDataSource(System.Data.DataTable, String)

Sets a main document data source to an ADO.NET DataTable. If the specified DataTable contains more than one row, WordWriter will use the first row as the data source.

SetDataSource(System.Data.DataTable)

Sets a template's data source to an ADO.NET DataTable. If the specified DataTable contains more than one row, WordWriter will use the first row as the data source.

SetDataSource(System.Data.IDataReader, String)

Sets a main document data source to an an IDataReader interface, which may be either a SqlDataReader, OleDbDataReader, or an AdomdDataReader. If the specified DataReader returns more than one row, WordWriter will use the first row as the data source.

SetDataSource(System.Data.IDataReader)

Sets a template's data source to an an IDataReader interface, which may be either a SqlDataReader, OleDbDataReader or an AdomdDataReader. If the specified DataReader returns more than one row, WordWriter will use the first row as the data source.

SetDataSource(Object, String)

Sets the data source for the specified main document merge field to an object. The main document is the part of the document that is not within a repeat block.

SetDataSource(System.Collections.IEnumerator, String())

Sets an IEnumerator collection as a data source to bind to a specified set of main document merge fields.

SetDataSource(System.Collections.IEnumerator, String(), String)

Sets an IEnumerator collection as a data source to bind to a specified set of main document merge fields.

SetDataSource(System.Collections.IDictionary)

Sets a template's main document data source to an IDictionary collection. An IDictionary represents a collection of key-and-value pairs.

SetDataSource(System.Collections.IDictionary, String)

Sets a template's main document data source to an IDictionary collection. An IDictionary represents a collection of key-and-value pairs.

SetDataSource(System.Collections.ICollection, String())

Sets an ICollection as a data source to bind to a specified set of main document merge fields.

SetDataSource(System.Collections.ICollection, String(), String)

Sets an ICollection collection as a data source to bind to a specified set of main document merge fields.

SharePoint Integration Extension Methods

Introduced in build 4.5

Overload

Description

SetDataSource(Microsoft.SharePoint.SPList, String)

Sets a main document data source to a SharePoint List. If the specified List contains more than one row, WordWriter will use the first row as the data source.

SetDataSource(Microsoft.SharePoint.SPList)

Sets a main document data source to a SharePoint List. If the specified List contains more than one row, WordWriter will use the first row as the data source.

SetDataSource(Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)

Sets a main document data source to a SharePoint View. If the specified View contains more than one row, WordWriter will use the first row as the data source.

SetDataSource(Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList)

Sets a main document data source to a SharePoint View. If the specified View contains more than one row, WordWriter will use the first row as the data source.
  • No labels