Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
GeneralRe: Serial Port (RS-232) Programming Pin
Jeff Bramwell17-Jan-05 10:20
Jeff Bramwell17-Jan-05 10:20 
GeneralControls Questions on winform. Pin
stan2817-Jan-05 8:17
stan2817-Jan-05 8:17 
GeneralRe: Controls Questions on winform. Pin
Anonymous17-Jan-05 9:38
Anonymous17-Jan-05 9:38 
GeneralRe: Controls Questions on winform. Pin
Dennis C. Dietrich17-Jan-05 10:31
Dennis C. Dietrich17-Jan-05 10:31 
GeneralRe: Controls Questions on winform. Pin
stan2818-Jan-05 5:03
stan2818-Jan-05 5:03 
Generalactive directory Pin
sujithapril17-Jan-05 7:21
sujithapril17-Jan-05 7:21 
GeneralC# app using Crystal Reports Pin
braber17-Jan-05 6:19
braber17-Jan-05 6:19 
GeneralXML-Updating of record Pin
Adnan Siddiqi17-Jan-05 6:14
Adnan Siddiqi17-Jan-05 6:14 
i am using the following XML

<config>
<engine>
<sid>1
<sname>text1
<sdefault>0
<schecked>1

<engine>
<sid>2
<sname>Text2
<sdefault>1
<schecked>0



I want to update the values of <sdefault> and <schecked>

i tried the following code from MS website
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlXmlNodeClassSelectSingleNodeTopic.asp[^]

nodeList=root.SelectNodes("descendant::config[engine/SID='1']");
for each book in nodeList
book.LastChild.InnerText="2"
next


but it`s not entering in the loop?

any idea or help to accomplish the task

thanks in advance

-adnan
GeneralC# class hierarchy Pin
Peter Andersson17-Jan-05 5:50
Peter Andersson17-Jan-05 5:50 
GeneralRe: C# class hierarchy Pin
Heath Stewart17-Jan-05 6:18
protectorHeath Stewart17-Jan-05 6:18 
GeneralRe: C# class hierarchy Pin
17-Jan-05 11:55
suss17-Jan-05 11:55 
Generalnetwork path in conjunction with file.exists Pin
RB@Emphasys17-Jan-05 5:38
RB@Emphasys17-Jan-05 5:38 
GeneralRe: network path in conjunction with file.exists Pin
Heath Stewart17-Jan-05 6:28
protectorHeath Stewart17-Jan-05 6:28 
Generalinternal interfaces Pin
emission17-Jan-05 2:27
emission17-Jan-05 2:27 
GeneralRe: internal interfaces Pin
leppie17-Jan-05 4:36
leppie17-Jan-05 4:36 
GeneralRe: internal interfaces Pin
emission17-Jan-05 6:15
emission17-Jan-05 6:15 
GeneralRe: internal interfaces Pin
Heath Stewart17-Jan-05 6:41
protectorHeath Stewart17-Jan-05 6:41 
GeneralRe: internal interfaces Pin
emission17-Jan-05 10:02
emission17-Jan-05 10:02 
GeneralRe: internal interfaces Pin
Heath Stewart17-Jan-05 10:52
protectorHeath Stewart17-Jan-05 10:52 
GeneralRe: internal interfaces Pin
emission17-Jan-05 12:30
emission17-Jan-05 12:30 
Generaldebugging diabled Pin
Member 166075017-Jan-05 2:25
Member 166075017-Jan-05 2:25 
GeneralRe: debugging diabled Pin
Heath Stewart17-Jan-05 7:11
protectorHeath Stewart17-Jan-05 7:11 
GeneralCreating ms installer with V. C# Pin
basbous17-Jan-05 2:13
basbous17-Jan-05 2:13 
GeneralRe: Creating ms installer with V. C# Pin
Heath Stewart17-Jan-05 6:46
protectorHeath Stewart17-Jan-05 6:46 
GeneralC# Pin
Anonymous17-Jan-05 2:10
Anonymous17-Jan-05 2:10 

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.