Skip to main content
Jan 9, 2018 5:57 PM UTC
Question

Can I store grid row value to DB

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

2 replies

Jan 11, 2018 10:39 AM UTC

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.

Jan 12, 2018 7:32 AM UTC

Hi,

Thanks it will work.

Hema