Click here to Skip to main content
15,889,909 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to do this Pin
Sathesh Sakthivel8-May-07 2:41
Sathesh Sakthivel8-May-07 2:41 
QuestionBenchmarking of C# Event Calls Pin
slkr1718-May-07 1:57
slkr1718-May-07 1:57 
AnswerRe: Benchmarking of C# Event Calls Pin
Luc Pattyn8-May-07 7:28
sitebuilderLuc Pattyn8-May-07 7:28 
GeneralRe: Benchmarking of C# Event Calls Pin
slkr1719-May-07 20:36
slkr1719-May-07 20:36 
Questionloop hashtable Pin
arkiboys8-May-07 1:41
arkiboys8-May-07 1:41 
AnswerRe: loop hashtable [modified] Pin
Martin#8-May-07 1:49
Martin#8-May-07 1:49 
GeneralRe: loop hashtable Pin
arkiboys8-May-07 4:01
arkiboys8-May-07 4:01 
AnswerRe: loop hashtable Pin
Martin#8-May-07 4:20
Martin#8-May-07 4:20 
Hello,

Ok, I didn't got your question write at first.
You have to iterate to the main hashtable and cast the falues to Hashtable and iterate again threw that, to get your items.
foreach(DictionaryEntry de in MainHashtable)
{
    Hashtable subHT = de.Value as Hashtable;
    if(subHT!=null)
    {
        foreach(DictionaryEntry deSub in subHT)
        {
            //deSub.Value //here are your items!
        }
    }
}

To make it look a little more OOP, you could create a recursive method call, but in this special case it's not neccesary as it is not to abstract.

Hope it helps!

All the best,

Martin
GeneralRe: loop hashtable Pin
arkiboys8-May-07 4:42
arkiboys8-May-07 4:42 
GeneralRe: loop hashtable Pin
Martin#8-May-07 4:57
Martin#8-May-07 4:57 
QuestionNeed a masked (formatted) edit box which can work for date and time Pin
Mushtaque Nizamani8-May-07 1:30
Mushtaque Nizamani8-May-07 1:30 
AnswerRe: Need a masked (formatted) edit box which can work for date and time Pin
_mubashir8-May-07 1:39
_mubashir8-May-07 1:39 
AnswerRe: Need a masked (formatted) edit box which can work for date and time Pin
PIEBALDconsult8-May-07 9:47
mvePIEBALDconsult8-May-07 9:47 
AnswerRe: Need a masked (formatted) edit box which can work for date and time Pin
visualhint30-May-07 14:40
visualhint30-May-07 14:40 
Questionto display image from a location + c# Pin
kiran gedela8-May-07 1:28
kiran gedela8-May-07 1:28 
AnswerRe: to display image from a location + c# Pin
_mubashir8-May-07 1:34
_mubashir8-May-07 1:34 
QuestionRead from xml Pin
akkram8-May-07 1:14
akkram8-May-07 1:14 
AnswerRe: Read from xml Pin
lmoelleb8-May-07 1:20
lmoelleb8-May-07 1:20 
GeneralRe: Read from xml Pin
akkram8-May-07 1:25
akkram8-May-07 1:25 
QuestionHow we get expected execution time of instance Pin
giresh_ep8-May-07 0:56
giresh_ep8-May-07 0:56 
QuestionProblem when reading DBF files Pin
vuthaianh8-May-07 0:53
vuthaianh8-May-07 0:53 
AnswerRe: Problem when reading DBF files Pin
lmoelleb8-May-07 1:17
lmoelleb8-May-07 1:17 
GeneralRe: Problem when reading DBF files Pin
Kiran Kumar Singani8-May-07 1:23
Kiran Kumar Singani8-May-07 1:23 
GeneralRe: Problem when reading DBF files Pin
vuthaianh8-May-07 15:35
vuthaianh8-May-07 15:35 
AnswerRe: Problem when reading DBF files Pin
Evan Stein8-May-07 6:23
Evan Stein8-May-07 6:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.