Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to execute another application thru C#? Pin
Eddymvp7-May-07 3:22
Eddymvp7-May-07 3:22 
QuestionCrystal Report Deploying problem Pin
Nermeenez4-May-07 4:24
Nermeenez4-May-07 4:24 
AnswerRe: Crystal Report Deploying problem Pin
Tarakeshwar Reddy4-May-07 4:37
professionalTarakeshwar Reddy4-May-07 4:37 
QuestionSecure Web Service with C# DataSource Pin
Andre Vianna4-May-07 4:22
Andre Vianna4-May-07 4:22 
QuestionDisapear sln Pin
sujithkumarsl4-May-07 3:46
sujithkumarsl4-May-07 3:46 
AnswerRe: Disapear sln Pin
rujuc#4-May-07 4:18
rujuc#4-May-07 4:18 
AnswerRe: Disapear sln Pin
marky7774-May-07 5:03
marky7774-May-07 5:03 
QuestionReading HashTable ? Pin
Software_Specialist4-May-07 2:09
Software_Specialist4-May-07 2:09 
Hello
I am trying to read contents within HashTable but i am not getting it.
What exactly i am doing is

_mc = MarshallingContext.Unmarshall(s);
IDictionary map = (IDictionary)_mc.RootObject;

So whats going on here is MarshallingContext is the class i created to umarshall the data. So after 2nd step all the contents get stored under map.
Now if you place cursor over map it would show up 3 objects i.e state, owner, request. Well state is a simple string so i can access its data via
_state = (string)map["state"]
So till here there is no problem. Now owner object is a part of {system.Collections.Hashtable}. Under owner there are different keys and value like key = "user", value = "none://anonymous" and 5-6 more keys and value.
Now when i do
_owner = map["owner"];
and print _owner over console i get the system.Collections.Hashtable as a result. Where as i want it to output me all the values in below mentioned format

State : Owned
Owner : {
Machine : client1.company.com
Handle Name : MyHandle
Handle : 82
User : none://anonymous
Endpoint : local://local
Date-Time Requested: 20060302-15:32:34
Date-Time Acquired : 20060302-15:32:34
}
Pending Requests: []

So can any one help me out in this.
If you want me to clarify something particular that i couldnt explain in detail then pls let me knw.

Any or all help would be greatly appreciated.
Thanks
SS.
AnswerRe: Reading HashTable ? Pin
rah_sin4-May-07 2:35
professionalrah_sin4-May-07 2:35 
GeneralRe: Reading HashTable ? Pin
Software_Specialist4-May-07 4:15
Software_Specialist4-May-07 4:15 
QuestionException Handling: Object creation within try block Pin
Goebel4-May-07 2:03
Goebel4-May-07 2:03 
AnswerRe: Exception Handling: Object creation within try block Pin
Pete O'Hanlon4-May-07 2:09
mvePete O'Hanlon4-May-07 2:09 
GeneralRe: Exception Handling: Object creation within try block Pin
Goebel4-May-07 2:23
Goebel4-May-07 2:23 
GeneralRe: Exception Handling: Object creation within try block Pin
Pete O'Hanlon4-May-07 2:27
mvePete O'Hanlon4-May-07 2:27 
GeneralRe: Exception Handling: Object creation within try block Pin
Goebel4-May-07 2:47
Goebel4-May-07 2:47 
AnswerRe: Exception Handling: Object creation within try block Pin
Tim Paaschen4-May-07 2:13
Tim Paaschen4-May-07 2:13 
GeneralRe: Exception Handling: Object creation within try block Pin
Goebel4-May-07 2:33
Goebel4-May-07 2:33 
GeneralRe: Exception Handling: Object creation within try block Pin
Tim Paaschen4-May-07 2:48
Tim Paaschen4-May-07 2:48 
GeneralRe: Exception Handling: Object creation within try block Pin
Goebel4-May-07 2:57
Goebel4-May-07 2:57 
AnswerRe: Exception Handling: Object creation within try block Pin
AFSEKI7-May-07 3:22
AFSEKI7-May-07 3:22 
AnswerRe: Exception Handling: Object creation within try block [modified] Pin
gumi_r@msn.com7-May-07 6:31
gumi_r@msn.com7-May-07 6:31 
QuestionNeed solution Pin
DON3454-May-07 1:58
DON3454-May-07 1:58 
AnswerRe: Need solution Pin
Pete O'Hanlon4-May-07 2:13
mvePete O'Hanlon4-May-07 2:13 
GeneralRe: Need solution Pin
Paul Conrad4-May-07 13:55
professionalPaul Conrad4-May-07 13:55 
AnswerRe: Need solution Pin
Sandeep Akhare4-May-07 3:06
Sandeep Akhare4-May-07 3:06 

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.