cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Can I store grid row value to DB

HemalathaMsk
6-Contributor

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 2

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.

HemalathaMsk
6-Contributor
(To:supandey)

Hi,

Thanks it will work.

Hema

Top Tags