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.v23.2.dll

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

Declaration

[DefaultValue(null)]
public string CellRange { get; set; }

Property Value

Type Default Description
String null

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