Click here to Skip to main content
15,880,725 members
Home / Discussions / C#
   

C#

 
QuestionWebservice Pin
dj_jay_smith18-Apr-06 4:48
dj_jay_smith18-Apr-06 4:48 
QuestionWebservice Pin
dj_jay_smith18-Apr-06 4:48
dj_jay_smith18-Apr-06 4:48 
QuestionnsWebservice Pin
dj_jay_smith18-Apr-06 4:47
dj_jay_smith18-Apr-06 4:47 
AnswerRe: nsWebservice Pin
J4amieC18-Apr-06 5:07
J4amieC18-Apr-06 5:07 
GeneralRe: nsWebservice Pin
dj_jay_smith18-Apr-06 21:11
dj_jay_smith18-Apr-06 21:11 
QuestionC# and XML Question Pin
seschu0118-Apr-06 4:35
seschu0118-Apr-06 4:35 
AnswerRe: C# and XML Question Pin
Robert Rohde18-Apr-06 5:33
Robert Rohde18-Apr-06 5:33 
AnswerRe: C# and XML Question Pin
LongRange.Shooter18-Apr-06 10:20
LongRange.Shooter18-Apr-06 10:20 
One approach you could investigate is as follows:

If the xml is well-formed, and the xml can be defined by a schema, and you have enough time to quickly code a class and a test program, then do this:

The xml that is passed to you would be passed into a stream (search for putting a string to a stream for implementation details)

next create a class that represents the data (you may have to work backwards....create the class, serialize it, then see if it matches the xml)

Next take the stream and feed it into an XmlSerializer to turn it into a C# object. From that point forward you are working with an object instead of screwing around with the DOM.

-- modified at 16:21 Tuesday 18th April, 2006
Questionpassing array byval versus byref Pin
bnathvbdotnet18-Apr-06 4:08
bnathvbdotnet18-Apr-06 4:08 
AnswerRe: passing array byval versus byref Pin
Judah Gabriel Himango18-Apr-06 4:50
sponsorJudah Gabriel Himango18-Apr-06 4:50 
AnswerRe: passing array byval versus byref Pin
Robert Rohde18-Apr-06 5:23
Robert Rohde18-Apr-06 5:23 
AnswerRe: passing array byval versus byref Pin
Guffa18-Apr-06 6:02
Guffa18-Apr-06 6:02 
QuestionI/O Threading Pin
eric_tran18-Apr-06 3:59
eric_tran18-Apr-06 3:59 
AnswerRe: I/O Threading Pin
Judah Gabriel Himango18-Apr-06 4:52
sponsorJudah Gabriel Himango18-Apr-06 4:52 
AnswerRe: I/O Threading Pin
Robert Rohde18-Apr-06 5:43
Robert Rohde18-Apr-06 5:43 
GeneralRe: I/O Threading Pin
eric_tran19-Apr-06 0:31
eric_tran19-Apr-06 0:31 
GeneralRe: I/O Threading Pin
eric_tran19-Apr-06 1:50
eric_tran19-Apr-06 1:50 
GeneralRe: I/O Threading Pin
Robert Rohde19-Apr-06 4:54
Robert Rohde19-Apr-06 4:54 
QuestionebXML message with C# Windows App Pin
Paul Brower18-Apr-06 2:54
Paul Brower18-Apr-06 2:54 
Questionhow to disable tree node in a dataset Pin
A4ad18-Apr-06 2:35
A4ad18-Apr-06 2:35 
AnswerRe: how to disable tree node in a dataset Pin
Robert Rohde18-Apr-06 5:47
Robert Rohde18-Apr-06 5:47 
GeneralRe: how to disable tree node in a dataset Pin
A4ad18-Apr-06 23:42
A4ad18-Apr-06 23:42 
Questionselect all the text in the textbox c# winform Pin
fady_sayegh18-Apr-06 2:19
fady_sayegh18-Apr-06 2:19 
AnswerRe: select all the text in the textbox c# winform Pin
Ed.Poore18-Apr-06 3:57
Ed.Poore18-Apr-06 3:57 
AnswerRe: select all the text in the textbox c# winform Pin
Eric Dahlvang18-Apr-06 4:52
Eric Dahlvang18-Apr-06 4:52 

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.