Hello friends,
You must have face this issue that after inserting any record in database if you refresh the webpage , it will again insert the record in DB.
The best way to avoid duplicate record insertion on page refresh is..
You must have face this issue that after inserting any record in database if you refresh the webpage , it will again insert the record in DB.
The best way to avoid duplicate record insertion on page refresh is..
after inserting records in the
database on button click just
add this line.......
Response.Write("<script>location.href='yourpage.aspx'</script>");
enjoyyyyyyyy
Enjoy the day with Lots of smile and Happiness.....
No comments:
Post a Comment