ExpertXls Excel Library for .NET
LoadDataView Method (dataView, topRowIndex, leftColumnIndex, setColumnNames)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorksheet ► LoadDataView(DataView, Int32, Int32, Boolean)
ExpertXls Excel Library for .NET
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.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void LoadDataView(
    	DataView dataView,
    	int topRowIndex,
    	int leftColumnIndex,
    	bool setColumnNames
    )

    Public Sub LoadDataView ( _
    	dataView As DataView, _
    	topRowIndex As Integer, _
    	leftColumnIndex As Integer, _
    	setColumnNames As Boolean _
    )

    public:
    void LoadDataView(
    	DataView^ dataView,
    	int topRowIndex,
    	int leftColumnIndex,
    	bool setColumnNames
    )

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.

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.

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)