Convert Datatable to Dictionary

@ZARA_Clark_Vincent_M
Welcome to the forum:
find starter help here:
DataTable_2Col_ToDictionary.xaml (6.5 KB)

In general it is about:
use assign
left side your dict
right side:
YourDataTableVar.AsEnumerable.ToDictionary(Of String, String)(Function (r) r(YourKeyCol).toString, Function (r) r(YourValueCol).toString)

7 Likes