<BR>After i click on the "Insert button", my Insert_OnClick event fires up with the<BR>values i type in being inserted into the db.<BR><BR>when i refresh the page, the same value will be submitted into the db once again.<BR>whenever the page is being refresh.. the same value will be inserted.<BR><BR>I do not want to redirect my user to another page. i want to remain on the same page.<BR>thanks for your reply.<BR><BR>SimonCheck the db to see if the record already exists, assuming there is some unique value ie. an email address or something, then don't do an insert if it already exists...or you can have a seperate processing page and then just redirect the user *back* to that initial page, after the insert.I didn't notice this was an ASP.NET question...got it from the recent posts page...scrap my answer. Check for IsPostBack in your subroutine...<BR>If Not IsPost Back Then<BR>'first time submitting the form<BR>'execute your db code<BR>End If<BR>