What do you want to store as the key and what do you want to store as its
value? If you wanted to store some values of each row in a datatable , you
could just walk through the datatable or a dataview and add the iterms to
the table:
HashTable ht = new HashTable();
//Now use one of these:
//For a datatable
foreach(DataRow dro in myDataTable.Rows){
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.