Read entire row values one by one and add to Dictionary

@sunilraju
have a look here:

in your case give a try on:

YourDataTableVar.AsEnumerable.ToDictionary(Of String, Datarow)(Function (r) r(0).toString, Function (r) r)
1 Like