Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

object into hashtable - save / retrieve

Posted on 2004-09-02
1
Medium Priority
?
229 Views
Last Modified: 2011-09-20
hi, I need code to save and retrieve an object to / from an hastable,

tnx
0
Comment
Question by:NetDeveloper
1 Comment
 
LVL 1

Accepted Solution

by:
janeburton earned 240 total points
ID: 11964941
Hashtable ht = new Hashtable();
ht["code"]=code;  //save

code=(object)ht["code"] ;  //retrieve
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Integration Management Part 2
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question