Exports the data displayed by the DefaultView (the MainView or the currently maximized detail View) to the specified file in XLSX (MS Excel 2007) format.
public void ExportToXlsx( string filePath )
Public Sub ExportToXlsx( ByVal filePath As String )
See Export to XLS and XLSX Formats to learn more.