Writing Hashtable data into text file

  • Thread starter Thread starter Swapnil
  • Start date Start date
S

Swapnil

hi,
In One application i m using Hashtabe to read an xml. After reading xml i
want to write that hashtable data into text file. Hashtable is nested (two
hashtable). How to do that? How can i retrive the hashtable data.
Someone Plz explain with example.
 
Swapnil said:
In One application i m using Hashtabe to read an xml. After reading xml i
want to write that hashtable data into text file. Hashtable is nested (two
hashtable). How to do that? How can i retrive the hashtable data.
Someone Plz explain with example.

Well, as pseudo code:

for each name/value pair in outer hashtable
{
for each name/value pair in the inner hashtable
(which is the outer value)
{

write out data
}
}
 

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