Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Adds or updates a element with specified key and value in DataTableDictionary instance.

DataTableDictionary myDataTableDictionary.Set(key: string, value: ( DataRow | Array<DataRow> ))

Arguments

string key
Required. Key of element to add to DataTableDictionary object.
( DataRow | Array<DataRow> ) value
Value of element to add to DataTableDictionary object.

Remarks

This method does NOT update DataTable and only apply temporary changes in DataTableDictionary instance. Please use DataTableDictionary.Ensure method to perform database changes and do not use this method if you have special reason.

Value can be specified as Object Array if needed.