Editing XML File in asp.net

Posted by Dotnetrajanikanth under ASP.NET on 4/20/2012 | Points: 10 | Views : 2893 | Status : [Member] | Replies : 7
I got a code for creating nodes in an xml file. Its working fine. i want to edit the xml file. I do not want to edit using the inner text tag. but i want to edit the value of a key (ASP.net, Vb.net)

____________
www.flickr.com/photos/psdesigner/



Responses

Posted by: Sakthi.Singaravel on: 4/20/2012 [Member] Silver | Points: 25

Up
0
Down
For insert value..

For Each xe As XElement In From ele In Input_XML.Descendants(ele_name).ToList

XElement.SetValue(string)
Next


Regards,
Singaravel M

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunny4989 on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
Can u please tell the meaning of it


I do not want to edit using the inner text tag. but i want to edit the value of a key (ASP.net, Vb.net)


------------------------------------------------
Learn throughout life

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dotnetrajanikanth on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
@Sunil,

For your kind information please refer the basics of an xml file editing you will get to know about the meaning.

____________
www.flickr.com/photos/psdesigner/

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
@sunil

Plz dont comment as if you know the topic. If you dont know, I think its better to provide some reference site, which you think is good.

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/20/2012 [Member] Bronze | Points: 25

Up
0
Down
This may be Useful

http://www.igold.in/forum/samples/XmlEdit.zip

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
Hi..
Refer the below link to edit xml data....

http://www.dotnetcode.in/2011/07/inserteditdelete-in-xml-using-aspnet.html

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/21/2012 [Member] Silver | Points: 25

Up
0
Down
@Vijay

That link is very nice...

Its informative..

Thank u...

Regards,
Singaravel M

Dotnetrajanikanth, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response