Click here to Skip to main content
15,893,904 members
Home / Discussions / C#
   

C#

 
AnswerRe: Deploy a dotnet application using Weblogic as the application server Pin
Christian Graus12-Sep-06 21:09
protectorChristian Graus12-Sep-06 21:09 
GeneralRe: Deploy a dotnet application using Weblogic as the application server Pin
deldeep15-Sep-06 8:33
deldeep15-Sep-06 8:33 
Questionhi, how can i read xmlnode in c#.net [modified] Pin
premkamalg12-Sep-06 20:02
premkamalg12-Sep-06 20:02 
AnswerRe: hi, how can i read xmlnode in c#.net Pin
Andrei Ungureanu12-Sep-06 20:14
Andrei Ungureanu12-Sep-06 20:14 
AnswerRe: hi, how can i read xmlnode in c#.net Pin
Christian Graus12-Sep-06 21:19
protectorChristian Graus12-Sep-06 21:19 
QuestionRe: hi, how can i read xmlnode in c#.net Pin
premkamalg13-Sep-06 1:09
premkamalg13-Sep-06 1:09 
AnswerRe: hi, how can i read xmlnode in c#.net Pin
Christian Graus13-Sep-06 10:29
protectorChristian Graus13-Sep-06 10:29 
GeneralHi,Christian,plz help me Pin
premkamalg13-Sep-06 17:50
premkamalg13-Sep-06 17:50 
hi Christian
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
GeneralRe: Hi,Christian,plz help me Pin
Christian Graus13-Sep-06 19:06
protectorChristian Graus13-Sep-06 19:06 
QuestionStackOverFlow(in advance plz) Pin
MozhdehQeraati12-Sep-06 20:02
MozhdehQeraati12-Sep-06 20:02 
AnswerRe: StackOverFlow(in advance plz) Pin
Guffa12-Sep-06 20:13
Guffa12-Sep-06 20:13 
Questionhow to find the printres connected in network Pin
ayyp12-Sep-06 19:40
ayyp12-Sep-06 19:40 
AnswerRe: how to find the printres connected in network Pin
freshonlineMax12-Sep-06 21:54
freshonlineMax12-Sep-06 21:54 
GeneralRe: how to find the printres connected in network Pin
ayyp12-Sep-06 23:26
ayyp12-Sep-06 23:26 
Questionnew submenu Pin
sarojkumarjena12-Sep-06 18:35
sarojkumarjena12-Sep-06 18:35 
AnswerRe: new submenu Pin
Christian Graus12-Sep-06 18:38
protectorChristian Graus12-Sep-06 18:38 
GeneralRe: new submenu Pin
sarojkumarjena12-Sep-06 18:54
sarojkumarjena12-Sep-06 18:54 
GeneralRe: new submenu Pin
Christian Graus12-Sep-06 18:56
protectorChristian Graus12-Sep-06 18:56 
GeneralRe: new submenu Pin
sarojkumarjena12-Sep-06 19:01
sarojkumarjena12-Sep-06 19:01 
GeneralRe: new submenu Pin
Christian Graus12-Sep-06 19:06
protectorChristian Graus12-Sep-06 19:06 
QuestionCreate Check box in grid Colunm Header (Win Form) Pin
kakarato12-Sep-06 18:34
kakarato12-Sep-06 18:34 
QuestionDynamic controls on windows forms Pin
saud_a_k12-Sep-06 17:52
saud_a_k12-Sep-06 17:52 
AnswerRe: Dynamic controls on windows forms Pin
Christian Graus12-Sep-06 18:06
protectorChristian Graus12-Sep-06 18:06 
QuestionRe: Dynamic controls on windows forms Pin
saud_a_k12-Sep-06 18:11
saud_a_k12-Sep-06 18:11 
AnswerRe: Dynamic controls on windows forms Pin
Christian Graus12-Sep-06 18:35
protectorChristian Graus12-Sep-06 18:35 

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.