- now double click on button and write code like :
///////////////////////// CODE ////////////////////////////
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows.Forms;
namespace Xml_File_Operation
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
XmlDocument xdoc1 = new XmlDocument();
xdoc1.Load("C:\\Users\\Nirav\\Desktop\\people1.xml");
XmlNode person = xdoc1.CreateElement("person");
XmlNode name = xdoc1.CreateElement("name");
name.InnerText = textBox1.Text;
person.AppendChild(name);
XmlNode age = xdoc1.CreateElement("age");
age.InnerText = numericUpDown1.Value.ToString();
person.AppendChild(age);
XmlNode email= xdoc1.CreateElement("email");
email.InnerText = textBox3.Text;
person.AppendChild(email);
xdoc1.DocumentElement.AppendChild(person);
xdoc1.Save("C:\\Users\\Nirav\\Desktop\\people1.xml");
}
}
}
////////////////// OUTPUT ////////////////////////
it make chanch like :
--
/\/ir@\/ <(.'.)>
Nice Block It is very helpful.... Thanks a lot for your help...
ReplyDeleteYour blog is loaded with informative post on .Net technology. Thanks for sharing. DOT NET Course in Chennai
ReplyDeletevery helpful thanks for sharing... :)
ReplyDeletei created a page to add nodes and saving on sql server in one button.But the nodes and added lokk like this ...(nodes are added at straight)..why?
ReplyDeleteplese sugggest any solutions?
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteI have a problem. Visual Studio showed me this : "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Xml.dll
ReplyDeleteAdditional information: Cannot find file'C:\Users\Administrator\Desktop\test.xml'.
Hello,
DeleteFirst you have to make XML file and then save it to desktop with test.xml name and then run program
very nice information
ReplyDeletebe projects in chennai
2016 ieee java projects in chennai
ieee projects in chennai
very nice information.
ReplyDeleteperl training in chennai
very helpful thanks for sharing... :)
ReplyDeleteinformatica training in chennai
:p nice.
ReplyDeletevery nice and informative blog
ReplyDeletesecure computing projects chennai
very nice and informative blog
ReplyDeletebig data projects chennai
mobile computing projects chennai
cloud computing projects chennai
secure computing projects chennai
This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
ReplyDeleteAndroid Training in Chennai
Ios Training in Chennai
This article is very much helpful and I hope this will be a useful information for the needed one. Keep on updating these kinds of informative things...
ReplyDeleteSelenium Training in Chennai
ReplyDeleteIt is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Chennai
Ios Training in Chennai
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.
ReplyDeleteHadoop Training in Chennai
Big Data Training in Chennai
Python Training in Chennai
Python Training Centers in Chennai
Data Science Training in Chennai
Data Science Course in Chennai
Data Analytics Training in Chennai
Best AngularJS Training in Chennai
AngularJS Training in Chennai
QlikView Training in Chennai
Informatica Training in Chennai
ReplyDeleteI wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.
Advanced Selenium Training in Chennai
Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
ReplyDeleteBest Java Training Institute Chennai
Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition
ReplyDeleteBest RPA Training in Bangalore
Best RPA Training in Chennai
Existing without the answers to the difficulties you’ve sorted out through this guide is a critical case, as well as the kind which could have badly affected my entire career if I had not discovered your website.
ReplyDeletegoogle-cloud-platform-training-in-chennai
Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.
ReplyDeleteBest Java Training Institute Chennai
Java Training Institute Bangalore
I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
ReplyDeleteBest RPA Training in Chennai
Best RPA Training in Bangalore
Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
ReplyDeleteamazon-web-services-training-in-bangalore
Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
ReplyDeleteBest Java Training Institute Chennai
Amazon Web Services Training in Chennai
This comment has been removed by the author.
ReplyDeleteAppreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.
ReplyDeleteBest selenium training Institute in chennai
I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
ReplyDeleteBest Java Training Institute Chennai
Amazon Web Services Training in Chennai
Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
ReplyDeleteRPA Training in Bangalore
Ciitnoida provides Core and java training institute in
ReplyDeletenoida. We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-
oriented, java training in noida , class-based build
of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an
all-time high not just in India but foreign countries too.
By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13
years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best
Java training in Noida.
java training institute in noida
java training in noida
best java training institute in noida
java coaching in noida
java institute in noida
Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best...
ReplyDeleteEmbedded training in chennai | Embedded training centre in chennai | Embedded system training in chennai | PLC Training institute in chennai | IEEE final year projects in chennai | VLSI training institute in chennai
Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.
ReplyDeletedatascience training in chennai
I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
ReplyDeleteBest selenium training Institute in chennai
This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
ReplyDeleteEmbedded training in chennai | Embedded training centre in chennai | Embedded system training in chennai | PLC Training institute in chennai | IEEE final year projects in chennai | VLSI training institute in chennai
Thank you Admin! This blog is very useful!
ReplyDeleteBe project center in chennai | Me project center in chennai
Excellent Article!
ReplyDeleteThanks for sharing that wonderful useful information,given contecn was very excellent and easily observe all provided information.
Final Year Bsc Projects Chennai | Final Year BTech Projects in Chennai.
Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks; from every one of us.
ReplyDeleteAWS Online Training
The young boys ended up stimulated to read through them and now have unquestionably been having fun with these things.
ReplyDeleteHadoop Training in Bangalore
Hadoop Training in Chennai
I prefer to study this kind of material. Nicely written information in this post, the quality of content is fine and the conclusion is lovely. Things are very open and intensely clear explanation of issues
ReplyDeleteClick here:
Microsoft azure training in tambaram
Click here:
Microsoft azure training in chennai
Click here:
ReplyDeleteangularjs training in sholinganallur
Click here:
angularjs training in btm
Click here:
angularjs training in rajajinagar
Click here:
angularjs training in marathahalli
Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.So know it's helpful.
ReplyDeleteBlueprism training in Chennai
Blueprism training in Bangalore
Blueprism training in Pune
Blueprism training in tambaram
Blueprism training in annanagar
Blueprism training in velachery
Blueprism training in marathahalli
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleteDevops Training in pune
Devops Training in Chennai
Devops Training in Bangalore
AWS Training in chennai
AWS Training in bangalore
Thanks for the good words! Really appreciated. Great post. I’ve been commenting a lot on a few blogs recently, but I hadn’t thought about my approach until you brought it up.
ReplyDeleteBlueprism training in annanagar
Blueprism training in velachery
Blueprism training in marathahalli
AWS Training in chennai
AWS Training in bangalore
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleteDevops Training in pune|Devops training in tambaram|Devops training in velachery|Devops training in annanagar
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleterpa training in Chennai | rpa training in pune
rpa training in tambaram | rpa training in sholinganallur
rpa training in Chennai | rpa training in velachery
rpa online training | rpa training in bangalore
Impressive. Your story always bring hope and new energy. Keep up the good work.
ReplyDeletepython training in tambaram
python training in annanagar
python training in OMR
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteDevops training in tambaram|Devops training in velachery|Devops training in annanagar|Devops training in sholinganallur
Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
ReplyDeleterpa training in Chennai | rpa training in pune
rpa training in tambaram | rpa training in sholinganallur
rpa training in Chennai | rpa training in velachery
rpa online training | rpa training in bangalore
Very good brief and this post helped me alot. Say thank you I searching for your facts. Thanks for sharing with us!
ReplyDeletejava training in chennai | java training in USA
selenium training in chennai
Thank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter. In case doable, when you get know-how, is it possible to thoughts modernizing your site together with far more details? It’s extremely useful to me.
ReplyDeleteData Science course in kalyan nagar | Data Science course in OMR
Data Science course in chennai | Data science course in velachery
Data science online course | Data science course in jaya nagar
Read all the information that i've given in above article. It'll give u the whole idea about it.
ReplyDeleterpa training in velachery| rpa training in tambaram |rpa training in sholinganallur | rpa training in annanagar| rpa training in kalyannagar
Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks; from every one of us.
ReplyDeletesafety course in chennai
I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
ReplyDeletejava training in chennai | java training in bangalore
java interview questions and answers | core java interview questions and answers
This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
ReplyDeleteData Science course in Chennai | Data science course in bangalore
Data science course in pune | Data science online course
Data Science Interview questions and answers | Python course in Kalyan nagar
You got an extremely helpful website I actually have been here reading for regarding an hour. I’m an initiate and your success is incredibly a lot of a concept on behalf of me.
ReplyDeleteangularjs Training in btm
angularjs Training in electronic-city
angularjs online Training
angularjs Training in marathahalli
angularjs interview questions and answers
I’m bookmarking and will be tweeting this to my followers! Wonderful blog and amazing design and style.
ReplyDeletesafety course in chennai
Howdy, would you mind letting me know which web host you’re utilizing? I’ve loaded your blog in 3 completely different web browsers, and I must say this blog loads a lot quicker than most. Can you suggest a good internet hosting provider at a reasonable price?
ReplyDeleteBest AWS Training Institute in BTM Layout Bangalore ,AWS Coursesin BTM
Best AWS Training in Marathahalli | AWS Training in Marathahalli
Amazon Web Services Training in Jaya Nagar | Best AWS Training in Jaya Nagar
AWS Training in BTM Layout |Best AWS Training in BTM Layout
AWS Training in Marathahalli | Best AWS Training in Marathahalli
Thanks for making me this article. You have done a great job by sharing this content in here. Keep writing article like this.
ReplyDeleteReact Training
React Training in Chennai
Excellent blog!!!Thanks for sharing. Keep doing more.
ReplyDeleteLanguage School Franchise
English Language School Franchise
Computer Education Franchise In India
Language Education Franchise
Computer Education Franchise
Education Franchise India
Computer Center Franchise
Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
ReplyDeleteAWS Training in Bangalore | Amazon Web Services Training in bangalore , india
AWS Training in pune | Amazon Web Services Training in Pune, india
Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
ReplyDeleteSelenium Interview Questions and Answers
Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies
Selenium Training in Bangalore | Best Selenium Training in Bangalore
Free Selenium Tutorial |Selenium Webdriver Tutorial |For Beginners
Superbbb blog!!! Thanks for sharing your knowledge with us.
ReplyDeleteSelenium Training in Chennai
Best Selenium Training Institute in Chennai
ios developer training in chennai
Digital Marketing Training in Chennai
.Net coaching centre in chennai
Best Hadoop Training in Chennai
Best hadoop training institute in chennai
Informative post, thanks for sharing.
ReplyDeleteUiPath Training in Chennai
UiPath Training
UiPath Training in Velachery
RPA UiPath Training
RPA Training in Chennai
Blue Prism Training in Chennai
emails with the same comment. Is there any way you can remove people from that service? Thanks.
ReplyDeletenebosh course in chennai
Thanks a lot for sharing this page, really informative.
ReplyDeleteAngularjs Training in Chennai
Angularjs Training near me
ReactJS Training in Chennai
Data Science Course in Chennai
Really wonderful post. Thanks for sharing.
ReplyDeleteTally Course in Chennai
Tally Classes in Chennai
Tally Training in Chennai
Spark Training Academy Chennai
VMware Training Center in Chennai
WordPress Training Institute in Chennai
I am very happy to visit your blog. This is definitely helpful to me, eagerly waiting for more updates.
ReplyDeleteData Analytics Courses in Chennai
Big Data Analytics Courses in Chennai
DevOps course in Chennai
Best DevOps Training in Chennai
Amazon web services Training in Chennai
AWS Certification in Chennai
Data Science Training in Anna Nagar
Data Science Training in T Nagar
whatsapp group links
ReplyDeleteVery Clear Explanation. Thank you to share this
ReplyDeleteRegards,
Best Devops Training in Chennai | Best Devops Training Institute in Chennai
Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Best Travels in Madurai | Tours and Travels in Madurai | Madurai Travels
ReplyDelete