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

  • Question

  • 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

    Thursday, November 13, 2008 12:48 AM

Answers

  • 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?

    Thursday, November 13, 2008 1:33 AM

All replies

  • 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?

    Thursday, November 13, 2008 1:33 AM
  • http://usamawahabkhan.blogspot.com/2010/05/wcf-dataservice-calling-stored.html
    Friday, May 28, 2010 4:10 AM