Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to implement zoom operations in C# Pin
Niiiissssshhhhhuuuuu13-Sep-06 20:51
Niiiissssshhhhhuuuuu13-Sep-06 20:51 
AnswerRe: how to implement zoom operations in C# Pin
g00fyman13-Sep-06 21:07
g00fyman13-Sep-06 21:07 
AnswerRe: how to implement zoom operations in C# Pin
Christian Graus13-Sep-06 21:39
protectorChristian Graus13-Sep-06 21:39 
AnswerRe: how to implement zoom operations in C# Pin
rryyjw13-Sep-06 23:06
rryyjw13-Sep-06 23:06 
QuestionButton Control C# Pin
oskardiazdeleon13-Sep-06 20:39
oskardiazdeleon13-Sep-06 20:39 
Questionsession management Pin
govind kanidapu13-Sep-06 19:51
govind kanidapu13-Sep-06 19:51 
AnswerRe: session management Pin
Christian Graus13-Sep-06 19:59
protectorChristian Graus13-Sep-06 19:59 
Questionhi,plz help (how can i access to xml node) Pin
premkamalg13-Sep-06 19:00
premkamalg13-Sep-06 19:00 
i new to c#.net
i want to access one node in xmlfile using c#.net .
that node have child node (i want that child node values)

i write my xml file like this

<


<<name>
<<n>Ap
<<n>MP
<<n>UP
<

<<add <<addr1="">gjsefgjkl<<addr2>dfhtyxcvd<<addr3>ioiopweri

<


in this i want to access the "add" child node value.

i wrote c#.net code like this,
"When i press Button the childnode("add") values r stored in listbox "
plz change any modification in my code or plz give code how to access thatnode


private void button1_Click(object sender, System.EventArgs e)
{
string filename = "C:\\C#program\\cs_programs\\singlenode\\bin\\Debug\\nodexml.xml";
XmlTextReader tr = new XmlTextReader(filename);
XmlDocument doc = new XmlDocument();
while(tr.Read())
{

foreach(XmlNode node in doc.SelectNodes("//details/add/addr"))
listBox1.Items.Add(tr.Value);

}

}
Thanks
AnswerRe: hi,plz help (how can i access to xml node) Pin
Christian Graus13-Sep-06 19:10
protectorChristian Graus13-Sep-06 19:10 
GeneralThanks ,but let me knoe any wrong in my code Pin
premkamalg13-Sep-06 21:24
premkamalg13-Sep-06 21:24 
GeneralRe: Thanks ,but let me knoe any wrong in my code Pin
Christian Graus13-Sep-06 21:34
protectorChristian Graus13-Sep-06 21:34 
GeneralThanks Christian Pin
premkamalg14-Sep-06 0:31
premkamalg14-Sep-06 0:31 
QuestionWhat does this mean???? Pin
saud_a_k13-Sep-06 18:42
saud_a_k13-Sep-06 18:42 
AnswerRe: What does this mean???? Pin
Christian Graus13-Sep-06 19:12
protectorChristian Graus13-Sep-06 19:12 
QuestionDot Net Crystal Report Pin
peshawarcoder13-Sep-06 17:58
peshawarcoder13-Sep-06 17:58 
AnswerRe: Dot Net Crystal Report Pin
iqazi14-Sep-06 3:03
iqazi14-Sep-06 3:03 
GeneralRe: Dot Net Crystal Report Pin
peshawarcoder14-Sep-06 19:38
peshawarcoder14-Sep-06 19:38 
QuestionQuestion about grabbing webpage using WebBrowser Control. [modified] Pin
rryyjw13-Sep-06 17:57
rryyjw13-Sep-06 17:57 
QuestionHow do I manipulate certain windows services? Pin
Muhammad Kanji13-Sep-06 14:40
Muhammad Kanji13-Sep-06 14:40 
AnswerRe: How do I manipulate certain windows services? Pin
Andrei Ungureanu13-Sep-06 21:28
Andrei Ungureanu13-Sep-06 21:28 
Questionlist Box Pin
TAREQ F ABUZUHRI13-Sep-06 14:08
TAREQ F ABUZUHRI13-Sep-06 14:08 
AnswerRe: list Box Pin
Nader Elshehabi13-Sep-06 14:17
Nader Elshehabi13-Sep-06 14:17 
GeneralRe: list Box Pin
TAREQ F ABUZUHRI13-Sep-06 14:35
TAREQ F ABUZUHRI13-Sep-06 14:35 
GeneralRe: list Box Pin
Nader Elshehabi13-Sep-06 14:43
Nader Elshehabi13-Sep-06 14:43 
GeneralRe: list Box Pin
TAREQ F ABUZUHRI13-Sep-06 15:05
TAREQ F ABUZUHRI13-Sep-06 15:05 

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.