Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refreshing my page

Status
Not open for further replies.

KevoMee

Technical User
Apr 30, 2002
72
IE
I just noticed this now.

If I run a delete command on my datagrid it will successfully delete the record from my datagrid and the database. If I then try to refresh the page I get an error back because it is trying to delete the record again from the page.

Is there any way of stopping this?

 
Just incase anyone cares, I had to set the datagrid select index to -1 whtn I was finished using it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top