ExcelWorksheetSettings.WorksheetName Property

Gets or sets the name of the worksheet from which data is imported.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v20.1.dll

Declaration

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

Property Value

Type Description
String

A String value that specifies the name of the worksheet 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 WorksheetName and ExcelWorksheetSettings.CellRange properties.


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