troubleshooting Question

How to add rows to xml files from several textboxes?

Avatar of vcharles
vcharles asked on
XMLVisual Basic.NET
27 Comments1 Solution407 ViewsLast Modified:
Hello,

I need to populate my xml files from several textboxes using VB.NET (VS 2010). Can you please guide me on how to achieve this using VB.NET.


For example  Receiver.xml contains

<Receiver_ID>1<,Receiver_ID>
<Receiver>BEL<Receiver>
<Receiver_ID>2<,Receiver_ID>
<Receiver>CAN<Receiver>
<Receiver_ID>3<,Receiver_ID>
<Receiver>FRA<Receiver>
<Receiver_ID>4<,Receiver_ID>
<Receiver>DEU<Receiver>

For example  Donor.xml contains

<Donor_ID>1<Donor_ID>
<Donor>BEL<Donor>
<Donor_ID>2<Donor_ID>
<Donor>CAN<Donor>
<Donor_ID>3<Donor_ID>

I would like to populate Reciever.xml with Textbox1 and Donor.xml with Textbox2

and when I click Save I want to populate both xml files at the same time and automaticaly increment their IDs.

Basically I will have a Form with several textboxes to populate several xml files with one click of a button but I'm using these two as an example.

Thanks,

Victor
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 27 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 27 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros