3
Answers

How can turn datatable into dictionary ?

Photo of Suhas Kurse

Suhas Kurse

5y
11.5k
1
I am using Visual Studio 2017.
 
I want to convert datatable into dictionary, so that I can iterate over the testid key. The datable has 8 columns. 
 
So after converting I should be able to iterrate over it as shown below
 
string testy=dbDict(Testid).ColumnName.toString();
 
Thank you for the answer;

Answers (3)