How to use array update the xml file?███
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
there is a xml file: price.xml AAA 0 BBB 0 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. :)Thank you!