Back to Devexpress

ExcelDataSource.Stream Property

corelibraries-devexpress-dot-dataaccess-dot-excel-dot-exceldatasource-1becd440.md

latest1.6 KB
Original Source

ExcelDataSource.Stream Property

Gets or sets a stream that contains a Microsoft Excel workbook or CSV file.

Namespace : DevExpress.DataAccess.Excel

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
[Browsable(false)]
public Stream Stream { get; set; }
vb
<Browsable(False)>
Public Property Stream As Stream

Property Value

TypeDescription
Stream

A Stream object containing a Microsoft Excel workbook or CSV file.

|

Remarks

Specify the format of the document contained in the stream by using the ExcelDataSource.StreamDocumentFormat property.

As an alternative, you can specify the path to the required Microsoft Excel workbook or CSV file stored on the disk using the ExcelDataSource.FileName property.

See Also

ExcelDataSource Class

ExcelDataSource Members

DevExpress.DataAccess.Excel Namespace