Xceed Grid for WinForms v4.3 Documentation
Export(DetailGrid,String) Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > ExcelExporter Class > Export Method : Export(DetailGrid,String) Method
A reference to a Xceed.Grid.DetailGrid object whose data will be exported.
A string representing the name to be used for the exported file.
Exports the data of a Xceed.Grid.DetailGrid to a spreadsheet in XML suitable for import into Microsoft Excel.
Syntax
'Declaration
 
Public Overloads Sub Export( _
   ByVal detailGrid As DetailGrid, _
   ByVal filename As String _
) 
'Usage
 
Dim instance As ExcelExporter
Dim detailGrid As DetailGrid
Dim filename As String
 
instance.Export(detailGrid, filename)
public void Export( 
   DetailGrid detailGrid,
   string filename
)

Parameters

detailGrid
A reference to a Xceed.Grid.DetailGrid object whose data will be exported.
filename
A string representing the name to be used for the exported file.
Exceptions
ExceptionDescription
Can be thrown if access to the specified file is denied.
Requirements

Target Platforms: Windows 7, 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

Reference

ExcelExporter Class
ExcelExporter Members
Overload List