ExcelDataSource.FileName Property

Gets or sets a path to the Microsoft Excel workbook or CSV file.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v20.1.dll

Declaration

[DefaultValue(null)]
[LocalizableCategory(DataAccessStringId.PropertyGridDataCategoryName)]
public string FileName { get; set; }
<DefaultValue(Nothing)>
<LocalizableCategory(DataAccessStringId.PropertyGridDataCategoryName)>
Public Property FileName As String

Property Value

Type Default Description
String

null

A String that specifies the path to the Microsoft Excel workbook or CSV file.

Remarks

As an alternative, you can specify the stream containing a Microsoft Excel workbook or CSV file using the ExcelDataSource.Stream property. Specify the format of the document contained in the stream by using the ExcelDataSource.StreamDocumentFormat property.

See Also