Hashtable or Array?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to store values of two columns from a DataReader because I will need
to compare these values several times in the code.

My idea is to iterate throuh the data and compare the values with items in a
dropdown list.

What would be a good way to store and retrieve two columns and multiple rows
of data? (efficiency is desired here)

Thanks.
 

Ask a Question

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.

Ask a Question

Back
Top