ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid.Excel Namespace / DataGridExtensions Class / Save Method / Save(C1DataGrid,String,FileFormat) Method
The datagrid.
The name of the file to save to.
The file format.

In This Topic
    Save(C1DataGrid,String,FileFormat) Method
    In This Topic
    Saves grid content to the specified file using the specified file format.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Save( _
       ByVal datagrid As C1DataGrid, _
       ByVal fileName As String, _
       ByVal format As FileFormat _
    ) 
    public static void Save( 
       C1DataGrid datagrid,
       string fileName,
       FileFormat format
    )

    Parameters

    datagrid
    The datagrid.
    fileName
    The name of the file to save to.
    format
    The file format.
    See Also