Click or drag to resize

imbEPPlusExtensionsSetDataTable Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Inserts DataTable content at current currsor position. Options: doInsertCaptions, doInsertRowID columnprefix (this is abanded)

Namespace:  imbSCI.DataComplex.extensions.data
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static ExcelRange SetDataTable(
	this ExcelWorksheet worksheet,
	cursor cur,
	DataTable data,
	cursorVariatorHeadFootFlags headFootFlags,
	cursorVariatorOddEvenFlags oddEvenFlags
)
Request Example View Source

Parameters

worksheet
Type: ExcelWorksheet
The worksheet.
cur
Type: imbSCI.Core.reporting.zonecursor
The current.
data
Type: System.DataDataTable
The data.
headFootFlags
Type: imbSCI.Core.enumscursorVariatorHeadFootFlags
oddEvenFlags
Type: imbSCI.Data.enumscursorVariatorOddEvenFlags

Return Value

Type: ExcelRange
Range of newly populated cells, including automatically created extra row and column

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ExcelWorksheet. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also