DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   replace attribute value using vb.net (http://www.daniweb.com/forums/thread166427.html)

jaiprakash15 Jan 6th, 2009 2:19 am
replace attribute value using vb.net
 
hi all,

I have a XML file like as shown below..

i need to replace the value of status for a particular task..can u help me how to do it..

<?xml version="1.0" encoding="utf-8"?>
<Task>
<TaskName tskName="PS0002440" Status="Open" />
<TaskName tskName="PS0002439" Status="Open" />
</Task>

in the above file..i need to change the value of "status" of the "tskName = PS0002439"

Cansomone give some idea please...

Ramy Mahrous Jan 6th, 2009 2:52 am
Re: replace attribute value using vb.net
 
Have a look on http://bytes.com/groups/net-xml/1789...ttribute-value
You can googlize it also, I did that :)


All times are GMT -4. The time now is 12:08 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC