?
Solved

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

Posted on 2008-09-29
5
Medium Priority
?
455 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
  • 3
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
William earned 750 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 750 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

850 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