locked
how to insert,update multipule rows to wcf dataservice from javascript. RRS feed

  • Question

  • User2102072086 posted

         I have used only aspx page and javascript. so from page, i want to call jquery ajax method to send more than one row at a time to WCF data service.

    data could be of one table or more than one tables, related or non-related.

    os there is any documentation exits then pls send me the link with an example.

    few people said datajs,js also does it, but I could not open the documentation of the library may be something wrong with the site.

    one more thing, thought wcf data services might have described the formate of post data, so that i can formate my data in the given formate in javascript and post it to 

    wcf data service using ajax. so a like of wcf dataservices would be help full which could describe the formate of inserted, updated etc data to be posted to the service.

    Wednesday, May 27, 2020 10:31 AM

All replies

  • User283571144 posted

    Hi rajemessage,

    According to your description, I couldn't understand your requirement clearly.

    Do you mean you want to update multiple sql data table during one WCF service method?

    Best Regards,

    Brando

    Thursday, May 28, 2020 9:44 AM
  • User2102072086 posted

    yes, but first I would like to update more than one rows in a single table.

    I just need links I will read them.

    they could be from wcf , jquery , datajs, or odata.

    Saturday, May 30, 2020 7:40 AM