Click here to Skip to main content
15,942,710 members
Home / Discussions / C#
   

C#

 
GeneralRe: Comma Delimted Windows Application Pin
musefan1-Jun-09 2:25
musefan1-Jun-09 2:25 
GeneralRe: Comma Delimted Windows Application Pin
Dave Kreskowiak1-Jun-09 5:22
mveDave Kreskowiak1-Jun-09 5:22 
AnswerRe: Comma Delimted Windows Application Pin
AhsanS1-Jun-09 1:27
AhsanS1-Jun-09 1:27 
QuestionHow can I read this xml? Pin
Mogaambo1-Jun-09 0:32
Mogaambo1-Jun-09 0:32 
AnswerRe: How can I read this xml? Pin
dan!sh 1-Jun-09 0:34
professional dan!sh 1-Jun-09 0:34 
GeneralRe: How can I read this xml? Pin
Mogaambo1-Jun-09 0:43
Mogaambo1-Jun-09 0:43 
GeneralRe: How can I read this xml? Pin
dan!sh 1-Jun-09 0:46
professional dan!sh 1-Jun-09 0:46 
GeneralRe: How can I read this xml? Pin
Mogaambo1-Jun-09 0:49
Mogaambo1-Jun-09 0:49 
Actually it is output from a webservice but now i want to parse it. how do i ?

is this will work



XmlTextReader reader = new XmlTextReader("C:\\links.xml");
while (reader.Read())
{
XmlNodeType nodeType = reader.NodeType;
switch (nodeType)
{
case XmlNodeType.Element:
Console.WriteLine("Element name is {0}", reader.Name);
if (reader.HasAttributes)
{
for (int i = 0; i < reader.AttributeCount; i++)
{
reader.MoveToAttribute(i);
Console.WriteLine("Attribute is {0} with Value {1}: ", reader.Name, reader.Value);
}
}
break;
case XmlNodeType.Text:
Console.WriteLine("Value is: " + reader.Value);
break;
}
}

“You will never be a leader unless you first learn to follow and be led.”
–Tiorio

"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford

GeneralRe: How can I read this xml? Pin
PandemoniumPasha1-Jun-09 1:17
PandemoniumPasha1-Jun-09 1:17 
GeneralRe: How can I read this xml? Pin
PandemoniumPasha1-Jun-09 1:20
PandemoniumPasha1-Jun-09 1:20 
AnswerRe: How can I read this xml? Pin
0x3c01-Jun-09 0:42
0x3c01-Jun-09 0:42 
QuestionRegarding the tool for finding functions and decalaration syntax in windows dll Pin
AmmySA1-Jun-09 0:27
AmmySA1-Jun-09 0:27 
AnswerRe: Regarding the tool for finding functions and decalaration syntax in windows dll Pin
dan!sh 1-Jun-09 0:33
professional dan!sh 1-Jun-09 0:33 
AnswerRe: Regarding the tool for finding functions and decalaration syntax in windows dll Pin
Rajesh Anuhya1-Jun-09 0:41
professionalRajesh Anuhya1-Jun-09 0:41 
AnswerRe: Regarding the tool for finding functions and decalaration syntax in windows dll Pin
Schmuli1-Jun-09 2:58
Schmuli1-Jun-09 2:58 
AnswerRe: Regarding the tool for finding functions and decalaration syntax in windows dll Pin
terradtc1-Jun-09 8:57
terradtc1-Jun-09 8:57 
Questionpassing textbox value one form to another form.. Pin
Mads1151-Jun-09 0:11
Mads1151-Jun-09 0:11 
Answersorry Pin
Hema Bairavan1-Jun-09 0:15
Hema Bairavan1-Jun-09 0:15 
GeneralRe: passing textbox value one form to another form.. Pin
Mads1151-Jun-09 0:48
Mads1151-Jun-09 0:48 
GeneralRe: passing textbox value one form to another form.. Pin
N a v a n e e t h1-Jun-09 1:02
N a v a n e e t h1-Jun-09 1:02 
GeneralRe: passing textbox value one form to another form.. Pin
DaveyM691-Jun-09 1:04
professionalDaveyM691-Jun-09 1:04 
GeneralRe: passing textbox value one form to another form.. Pin
N a v a n e e t h1-Jun-09 1:01
N a v a n e e t h1-Jun-09 1:01 
AnswerRe: passing textbox value one form to another form.. Pin
dan!sh 1-Jun-09 0:16
professional dan!sh 1-Jun-09 0:16 
Questionis it bug of the microsoft?(about multilanguage) Pin
yuwenxiang1-Jun-09 0:09
yuwenxiang1-Jun-09 0:09 
AnswerRe: is it bug of the microsoft?(about multilanguage) Pin
Eddy Vluggen1-Jun-09 1:59
professionalEddy Vluggen1-Jun-09 1:59 

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.