[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.BuiltInRichValue.FromDataView

FromDataView Method

FromDataView(DataView, string, bool)

Instantiates an IRichValue instance for DataView object.

Declaration
public static IRichValue FromDataView(DataView view, string defaultColumnName = null, bool showHeaders = false)
Public Shared Function FromDataView(view As DataView, Optional defaultColumnName As String = Nothing, Optional showHeaders As Boolean = False) As IRichValue
Parameters
Type Name Description
DataView view

The data view.

string defaultColumnName

The default column of the table.

bool showHeaders

true if the table headers are spilled; otherwise, false.

Returns
Type Description
IRichValue

An IRichValue object represents data of a DataView object.