Version

Export(DataPresenterBase,String) Method

Exports the specified DataPresenter derived control to the specified file.
Syntax
'Declaration
 
Public Overloads Sub Export( _
   ByVal dataPresenter As DataPresenterBase, _
   ByVal fileName As String _
) 
public void Export( 
   DataPresenterBase dataPresenter,
   string fileName
)

Parameters

dataPresenter
The control whose records are to be exported
fileName
The file to which the Word document should be written.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe dataPresenter and fileName must be non-null values.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also