Skip to main content
1-Visitor
January 9, 2018
Question

Can I store grid row value to DB

  • January 9, 2018
  • 1 reply
  • 1843 views

Hi,

      On button click I would like to get all data's from grid and want to store in DB.   Is it possible?

Thanks

Hema

1 reply

5-Regular Member
January 11, 2018

Hi Hemalatha, indeed this should be doable just by calling the same service which you are using to show data in the grid; looping the result set (will basically involve lopping over the Infotable) and then calling the insert into table statement for your external Database.

You can put above logic in a single service or may be create a JS service which wraps a SQL service and then have this invoked on button click event.

Hope this helps.

1-Visitor
January 12, 2018

Hi,

Thanks it will work.

Hema