Skip to main content
Home Forums General Silverlight Getting Started Load Data from XML to a SQL Database using Silverlight and WCF Service
1 replies. Latest Post by preishuber on November 13, 2008.
(0)
S4in7ArM
Member
2 points
9 Posts
11-13-2008 12:48 AM |
Hi. I'm trying to manipulate a database using Silverlight 2.0, I already use WFC service to add, delete and modify the data, butnow 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
Contributor
3570 points
655 Posts
11-13-2008 1:33 AM |
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?