Skip to main content
Jamal Ashraf
16-Pearl
Mar 5, 2024 10:18 AM UTC
Solved

DataTable entry update service query

I have only one entry in my datatable with 4 fields. One of the field is primary key for that datashape. Now my question is i want to update this entry but that primary key value would also be updated. Now the confusion is how can i do that? I have the service UpdateDataTableEntry and AddOrUpdateDataTableEntry but these both services creates a new entry because the value of the primary key changes too. what is the best solution in this regard should i delete the entry first and then add the new one or how you can see this problem?

Jamal Ashraf
16-Pearl
Mar 11, 2024 7:32 AM UTC

i think i have set another field as a primary key which will remain same and i can always change other fields that it.

2 replies

14-Alexandrite
Mar 6, 2024 10:51 AM UTC

I think you should remove the row and add a new row.

Translate
Jamal Ashraf
Jamal Ashraf16-PearlAuthorAnswer
16-Pearl
Mar 11, 2024 7:32 AM UTC

i think i have set another field as a primary key which will remain same and i can always change other fields that it.

Translate