ExcelWorksheetLoadDataView(DataView, Int32, Int32, Int32, Int32, Boolean) Method
Loads the values from the specified System.Data.DataView object into the worksheet at the location
given by the top row and left column indexes.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public void LoadDataView(
DataView dataView,
int topRowIndex,
int leftColumnIndex,
int maxRowsCount,
int maxColumnsCount,
bool setColumnNames
)
Public Sub LoadDataView (
dataView As DataView,
topRowIndex As Integer,
leftColumnIndex As Integer,
maxRowsCount As Integer,
maxColumnsCount As Integer,
setColumnNames As Boolean
)
public:
void LoadDataView(
DataView^ dataView,
int topRowIndex,
int leftColumnIndex,
int maxRowsCount,
int maxColumnsCount,
bool setColumnNames
)
member LoadDataView :
dataView : DataView *
topRowIndex : int *
leftColumnIndex : int *
maxRowsCount : int *
maxColumnsCount : int *
setColumnNames : bool -> unit
Parameters
- dataView DataView
- The DataView object to be imported.
- topRowIndex Int32
- The top row index of the range where the values will be loaded in worksheet.
- leftColumnIndex Int32
- The left column index of the range where the values will be loaded in worksheet.
- maxRowsCount Int32
- The maximum number of rows to load from data view. A negative value means to load all the rows.
- maxColumnsCount Int32
- The maximum number of columns to load from data view. A negative value means to load all the columns.
- setColumnNames Boolean
- A flag indicating if the column names from DataView should be used or not to create
a header row in the range where the values are imported.