M
Mike Grace
Hi,
I have a gridview which is using a SqlDataSource to update a table.
The SqlDatasource is using a stored procedure to update the table.
If I edit a row, change a value and click update the change is successfully
applied to the SQL table.
After this, the values in the underlying table are changed by another
process
If I click the refresh button, when the page is redisplayed (after clicking
retry on the warning), the underlying table is updated with the old values
that were in the grid.
This is obviously very dangerous.
How can I stop this from happening?
Surely when the page is refreshed, it shouldn't reapply the updates.
Regards
Mike
I have a gridview which is using a SqlDataSource to update a table.
The SqlDatasource is using a stored procedure to update the table.
If I edit a row, change a value and click update the change is successfully
applied to the SQL table.
After this, the values in the underlying table are changed by another
process
If I click the refresh button, when the page is redisplayed (after clicking
retry on the warning), the underlying table is updated with the old values
that were in the grid.
This is obviously very dangerous.
How can I stop this from happening?
Surely when the page is refreshed, it shouldn't reapply the updates.
Regards
Mike