You have to use ASP.Server controls like button and textbox. So that you can make connection with database and do you work.
Another way is using html controls, you have to use submit button
and form tag like,
<form action="processing page">
....
.
.
<input type="submit">
.
.
</form>