Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. Asynchronouse Call

Asynchronouse Call

Scheduled Pinned Locked Moved JavaScript
javascriptcssdatabasedesignhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Syed Rehman
    wrote on last edited by
    #1

    Hi Everyone. I am trying to save multiple rows from angular UI grid to a database using for loop. I am calling controller action method using http.post. Could anyone help me out in guiding how to save multiple rows using http request. Thanks Syed

    Z J 2 Replies Last reply
    0
    • S Syed Rehman

      Hi Everyone. I am trying to save multiple rows from angular UI grid to a database using for loop. I am calling controller action method using http.post. Could anyone help me out in guiding how to save multiple rows using http request. Thanks Syed

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      Just put your call into a loop. Sounds like you already have a loop so where is the problem?

      There are only 10 types of people in the world, those who understand binary and those who don't.

      1 Reply Last reply
      0
      • S Syed Rehman

        Hi Everyone. I am trying to save multiple rows from angular UI grid to a database using for loop. I am calling controller action method using http.post. Could anyone help me out in guiding how to save multiple rows using http request. Thanks Syed

        J Offline
        J Offline
        John C Rayan
        wrote on last edited by
        #3

        Server call in a loop could lead to performance issue. Add them in to JSON Array in a loop and pass it to server call at the end.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups