Converts two columns of a DataTable
to a Dictionary.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
Parameters
- table
- Type:
System.Data DataTable
The DataTable to convert.
- idColumnName
- Type:
System String
The key column.
- targetColumnName
- Type:
System String
The data column.
Return Value
A dictionary.See Also