Hi
What is the best data collection method to store data from database in the following format:
Table: Customers
Fields: Name, Address, Telephone
Is HashTable good, or something else you would recommend? If its hashtable, what would be the key since there are all "string" data type in the table. Also, since there are more than one field i.e Address, Telephone, how would i save these in the hashtable? Will i need to create a class having these fields and create an object that i will add in the hashtable?
Any ideas?
thanks
What is the best data collection method to store data from database in the following format:
Table: Customers
Fields: Name, Address, Telephone
Is HashTable good, or something else you would recommend? If its hashtable, what would be the key since there are all "string" data type in the table. Also, since there are more than one field i.e Address, Telephone, how would i save these in the hashtable? Will i need to create a class having these fields and create an object that i will add in the hashtable?
Any ideas?
thanks
Comment