Convert a DataView to a JSON object, i.e., the object (an array containing objects with name/ value pairs).

Any Date values with be cast to UTC Dates so that when they are serialised, they have the 'Z' suffix.

Syntax

finHtmlWidgetUtilities.DataViewToJsonObject(dv, [includeHeaderRow], [excludeEmptyColumns], [columns])

Parameters

NameTypeOptionalByRefDescription
dv DataView The DataView.
includeHeaderRow Boolean Optional Indicates whether to include a Header Row containing column names and, if the DataTable as an Extended Property named "Caption", the custom Caption. If omitted, a value of False is assumed.
excludeEmptyColumns Boolean Optional Indicates whether to parse rows and exclude any columns that do not contain a value, i.e., are DBNull.Value or a blank String. If omitted, a value of False is assumed.
columns String Optional A comma-separated list of Columns to include (and the order in which to include them) or a blank String to include all Columns.

Return Value

List(Of Object)

A new List(Of Object) object.

Member of:
finHtmlWidgetUtilities
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0