ExcelWorksheetSettings.CellRange Property

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

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v20.1.dll

Declaration

public string CellRange { get; set; }
Public Property CellRange As String

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 located on the Sheet1 worksheet using the CellRange property.


ExcelWorksheetSettings worksheetSettings = new ExcelWorksheetSettings();
worksheetSettings.CellRange = "Sheet1!A1:F20";
See Also