I am trying to insert a captcha in my ASP.NET code. Basically, in the lbt_proceed_click()
method, I want the browser to proceed to the next page using Response.Redirect("foo")
only if the captcha entered is correct.
I searched, but could not find a solution, especially since I am not using a form to send data, but writing to a database directly, and then moving to the next page using Response.Redirect()
.
after the @Page directive, insert the following code:
add control in asp.net tag:
add button and label to your form
add the following button click method(btnSubmit_Click) in code behind file :
Test your Page!