• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

Need to read Adobe XML form data into VB.NET Dataset

When user clicks the submit button on an interactive form, the corresponding email sends a xml data form to the intended recipent.  Need best way to interpret the XML form data and import it into a VB.NET dataset table then save the table back to an Oracle database.
0
Eric Burton
Asked:
Eric Burton
  • 5
  • 2
1 Solution
 
Karl Heinz KremerCommented:
If you are already using some server processing of the data, it would make sense to change the forms submission from an email based system to a direct submission to a web server. This way, you can process the XML on the server and do whatever you need to do with it. Going through email just complicates things. If you also need an email as a notification that new data was received, you can also send out an email from your server software, adding the data in a more human readable format than XML. This way, the recipient knowns that John Smith submitted a form, and does not have to parse XML code to find that out.
0
 
Eric BurtonSr.ProgrammerAuthor Commented:
Hi Karl,

Thanks for the quick response!  

Unfortunately, there is no middle tier server to process the xml data.  There will be an operator to take the xml attachment from the email and manually upload the data into a dataset.

Eric
0
 
Fernando SotoRetiredCommented:
Hi Eric;

Well then read the XML data into your program and convert it into an XML document then you could use Document objects to fill your DataSet/DataTable.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Eric BurtonSr.ProgrammerAuthor Commented:
I like the XMLDocument object, but is there an easier way to do this using the ReadXML/WriteXML methods?
0
 
Fernando SotoRetiredCommented:
I'am sorry I do not know XML Document Object model well enough to answer. I only started using XML when Linq to XML came out so I never bothered learning it because it was much easier to learn and work with Linq and XDocument. Maybe someone will drop in that may be able to answer your question.
0
 
Eric BurtonSr.ProgrammerAuthor Commented:
What can you do when the ReadXML method doesn't work?
0
 
Eric BurtonSr.ProgrammerAuthor Commented:
I've decided to use Excel 2013 as an intermediary which converts the raw XML document into a .xlsx file which then can be read directly into vb.net.  Thanks for all your help!
0
 
Eric BurtonSr.ProgrammerAuthor Commented:
Fastest way to convert the XML data into a readable format for VB.NET
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now