Solved

Using a Windows form in VS 2008 insert xml into MS Access table

Posted on 2008-09-29
5
437 Views
Last Modified: 2013-12-17
I have an xml stream that I would like to insert into an Access database.  The xml structure is similar to:

<person>
   <uniqueID></uniqueID>
   <name></name>
   <password></password>
</person>
<person>
....
</person>
0
Comment
Question by:PIER117
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
William earned 250 total points
ID: 22606849
Can you create a dataset of this xml and then use it to populate your table?
0
 
LVL 1

Author Comment

by:PIER117
ID: 22607769
It can probably be done because I can write an xml file.  How would I populate a dataset and write to a table?

0
 
LVL 11

Assisted Solution

by:William
William earned 250 total points
ID: 22607814
Drag a dataset onto your work area (form or component) and set it up to match your xml file or I think you can point it to one as well...

After this I believe you can also set it up to point to the database you want it to point too.
0
 
LVL 1

Author Comment

by:PIER117
ID: 22620232
0
 
LVL 1

Author Closing Comment

by:PIER117
ID: 31501333
I was able to find the solution elsewhere, but the comment pointed me in the right direction.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question