Hash Tables

Nov 17 2008 5:09 AM

I am trying to find a way to populate my hash table variables from a database instead of hard coding them like this (hshTable .Add("Author1",  "Mahesh Chand");) id rather want to get the data, or object values of the hashtable from a database and then populate the hash htable maybe something like this Hashtable ht = new hashtable(); ht.ADD(“FirstName”,”Get data from database stored procedure”), I hope im making sense. Thanks in adavnace.


Answers (3)