FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / Extensions Class / LoadGrid Method / LoadGrid(C1FlexGridBase,Stream,FileFormatEnum,FileFlags,Encoding) Method
The C1FlexGridBase instance to which a file will be loaded.
The System.IO.Stream to read.
File format to use.
Options to use when loading the data.
The System.Text.Encoding to use when saving the file.

In This Topic
    LoadGrid(C1FlexGridBase,Stream,FileFormatEnum,FileFlags,Encoding) Method
    In This Topic
    Loads the grid from stream.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub LoadGrid( _
       ByVal grid As C1FlexGridBase, _
       ByVal stream As Stream, _
       ByVal format As FileFormatEnum, _
       ByVal flags As FileFlags, _
       ByVal encoding As Encoding _
    ) 

    Parameters

    grid
    The C1FlexGridBase instance to which a file will be loaded.
    stream
    The System.IO.Stream to read.
    format
    File format to use.
    flags
    Options to use when loading the data.
    encoding
    The System.Text.Encoding to use when saving the file.
    See Also