Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralINCLUDE Configuration Pin
Tristan Rhodes28-Dec-03 6:38
Tristan Rhodes28-Dec-03 6:38 
GeneralRe: INCLUDE Configuration Pin
Heath Stewart28-Dec-03 6:55
protectorHeath Stewart28-Dec-03 6:55 
GeneralRe: INCLUDE Configuration Pin
Tristan Rhodes28-Dec-03 7:08
Tristan Rhodes28-Dec-03 7:08 
GeneralRe: INCLUDE Configuration Pin
Heath Stewart28-Dec-03 7:17
protectorHeath Stewart28-Dec-03 7:17 
GeneralRe: INCLUDE Configuration Pin
Tristan Rhodes28-Dec-03 8:48
Tristan Rhodes28-Dec-03 8:48 
GeneralRe: INCLUDE Configuration Pin
Nick Parker28-Dec-03 7:13
protectorNick Parker28-Dec-03 7:13 
GeneralJava sux! Pin
Tristan Rhodes28-Dec-03 8:06
Tristan Rhodes28-Dec-03 8:06 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 8:29
protectorNick Parker28-Dec-03 8:29 
GeneralRe: Java sux! Pin
Tristan Rhodes28-Dec-03 8:34
Tristan Rhodes28-Dec-03 8:34 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 8:55
protectorHeath Stewart28-Dec-03 8:55 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 9:25
protectorNick Parker28-Dec-03 9:25 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 9:28
protectorHeath Stewart28-Dec-03 9:28 
GeneralRe: Java sux! Pin
Nick Parker28-Dec-03 9:35
protectorNick Parker28-Dec-03 9:35 
GeneralRe: Java sux! Pin
Heath Stewart28-Dec-03 8:52
protectorHeath Stewart28-Dec-03 8:52 
GeneralHosting ActiveX Pin
Wizard_0128-Dec-03 2:30
Wizard_0128-Dec-03 2:30 
GeneralRe: Hosting ActiveX Pin
Heath Stewart28-Dec-03 3:58
protectorHeath Stewart28-Dec-03 3:58 
Generalfiltering properties Pin
Roger Alsing28-Dec-03 1:34
Roger Alsing28-Dec-03 1:34 
GeneralRe: filtering properties Pin
Wizard_0128-Dec-03 2:53
Wizard_0128-Dec-03 2:53 
GeneralRe: filtering properties Pin
Roger Alsing28-Dec-03 3:37
Roger Alsing28-Dec-03 3:37 
GeneralRe: filtering properties Pin
Wizard_0128-Dec-03 4:07
Wizard_0128-Dec-03 4:07 
GeneralRe: filtering properties Pin
Roger Alsing28-Dec-03 4:34
Roger Alsing28-Dec-03 4:34 
GeneralRe: filtering properties Pin
Heath Stewart28-Dec-03 3:38
protectorHeath Stewart28-Dec-03 3:38 
GeneralSalted Hash add vulnerabilities Pin
laphijia27-Dec-03 23:15
laphijia27-Dec-03 23:15 
GeneralRe: Salted Hash add vulnerabilities Pin
Heath Stewart28-Dec-03 3:34
protectorHeath Stewart28-Dec-03 3:34 
QuestionHow to use array update the xml file?███ Pin
nichen100127-Dec-03 20:19
nichen100127-Dec-03 20:19 
there is a xml file: price.xml
<price>
<comdt>
<Tname id=0>AAA</Tname>
<Tprice>0</Tprice>
</comdt>
<comdt>
<Tname id=1>BBB</Tname>
<Tprice>0</Tprice>
</comdt>
</price>

the price is null,
now I have a array,arrprice(i),
arrprice(0) is AAA's price,
arrprice(1) is BBB's price,
How to use the arrprice(i) update the xml file?

I tried this way,

For x = 0 To 1
Set objprice = objDom.SelectSingleNode("//price/comdt"&[x]&"/Tprice")
objprice.Text = arrprice(x)

but it doesn't work.
Smile | :) Thank you!

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.