Description
Allows to get data of ExcelWorksheet as a DataTable.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public DataTable WriteToDataTable(
	int FirstRowIndex,
	int FirstColumnIndex,
	int LastRowIndex,
	int LastColumnIndex
)
Public Function WriteToDataTable ( _
	FirstRowIndex As Integer, _
	FirstColumnIndex As Integer, _
	LastRowIndex As Integer, _
	LastColumnIndex As Integer _
) As DataTable
public:
DataTable^ WriteToDataTable(
	int FirstRowIndex, 
	int FirstColumnIndex, 
	int LastRowIndex, 
	int LastColumnIndex
)

Parameters

FirstRowIndex
Int32
The row index at which to start writing in DataTable.
FirstColumnIndex
Int32
The column index at which to start writing in DataTable.
LastRowIndex
Int32
The row index at which to end writing in DataTable.
LastColumnIndex
Int32
The column index at which to end writing in DataTable.

Return Value

[Missing <returns> documentation for "M:Docs.Excel.ExcelWorksheet.WriteToDataTable(System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also