Skip to main content

CsvSourceOptions.CellRange Property

Gets or sets the cell range from which data is imported.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public string CellRange { get; set; }

Property Value

Type Description
String

A String value that specifies the cell range from which data is imported.

Remarks

The following example shows how to select the A1:F20 range of cells from the CSV file using the CellRange property.

CsvSourceOptions csvSourceOptions = new CsvSourceOptions();
csvSourceOptions.CellRange = "A1:F20";
See Also