The only thing I can think of for this is to create an empty dataset from the DB and then loop through the document that you create from the file and add rows to the tables in the dataset from the mapping you have and the xml data. When done do and update on a dataAdapter with the dataset. Any better ideas?
-----Original Message----- From: Daniel Morgan [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 2:18 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] XML to Database In the .NET class library, there are classes System.Data.DataSet and System.Xml.XmlDataDocument that you could use. -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Dinesh Upare Sent: Monday, May 20, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: [DOTNET] XML to Database Hi all, I am working on a project which will read xml file and export data into database. User will map the xml document fields to Database fields(something like BizTalk and Inport Studio). Using this map user xml data will get exported into database. Could any one help how I should go about it? Basically I have a problem reading schemas. If some one has links please send me those. Thanks Dinesh You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.