Populates the Code Description List from a DataTable.

Syntax

ISCodeDescriptionList.FromDataTable(dataTable, [codeFieldName], [descriptionFieldName])

Parameters

NameTypeOptionalByRefDescription
dataTable DataTable The source DataTable.
codeFieldName String Optional The column to use as the "Code". Assumes "Code" if not supplied. If omitted, a value of Code is assumed.
descriptionFieldName String Optional The column to use as the "Description". Assumes "Description" if not supplied. If omitted, a value of Description is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISCodeDescriptionList
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0