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

In This Topic
    Save(C1DataGrid,Stream,ExcelSaveOptions) Method
    In This Topic
    Saves grid content to the specified stream using Excel file format.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Save( _
       ByVal datagrid As C1DataGrid, _
       ByVal stream As Stream, _
       ByVal options As ExcelSaveOptions _
    ) 
    public static void Save( 
       C1DataGrid datagrid,
       Stream stream,
       ExcelSaveOptions options
    )

    Parameters

    datagrid
    The datagrid.
    stream
    The stream to save to.
    options
    Save options, can be a null value.
    See Also