I am just bearly learning asp.net and need some help
I have created a simple form that inserts rows into an sql database.
The Problem is when ever I hit the refresh button it also inserts a row.
Is there an easy fix for this.
Yeah, remove the insert routine from your page load event , however, if you need it the first time a person visits the page then wrap your routine with the following code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.