ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid.Excel Namespace / DataGridExtensions Class / Save Method / Save(C1DataGrid,String,ExcelSaveOptions) Method
The datagrid.
The name of the file to save to.
Save options, can be a null value.

In This Topic
    Save(C1DataGrid,String,ExcelSaveOptions) Method
    In This Topic
    Saves grid content to the specified Excel file.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Save( _
       ByVal datagrid As C1DataGrid, _
       ByVal fileName As String, _
       ByVal options As ExcelSaveOptions _
    ) 

    Parameters

    datagrid
    The datagrid.
    fileName
    The name of the file to save to.
    options
    Save options, can be a null value.
    See Also