Skip to main content

Microsoft Silverlight

Answered Question Load Data from XML to a SQL Database using Silverlight and WCF ServiceRSS Feed

(0)

S4in7ArM
S4in7ArM

Member

Member

2 points

9 Posts

Load Data from XML to a SQL Database using Silverlight and WCF Service

Hi. I'm trying to manipulate a database using Silverlight 2.0, I already use WFC service to add, delete and modify the data, but
now I need that my application upload a XML file and load the data from the xml file to the database.

my question is if someone could explain me how to do this and describe some method or give me a link to another source,
thanks in advanced for future responses ahhh I almost forgot, please consider me a beginner. Thanks

preishuber
preishuber

Contributor

Contributor

3570 points

655 Posts

Answered Question

Re: Load Data from XML to a SQL Database using Silverlight and WCF Service

so you are doing the data transfer by wcf?

in your servcie you have a method getdata, which gets the xml data as string?

then you can iterate by xpath expression through the elements read values or attributes and add records to sql server by ado.net (sqlcommand).

What is the open part?

-Hannes

http://www.preishuber.net http://weblogs.asp.net/hpreishuber
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities