As you are the beginner I am advising you to do the following steps.
1. Add the text boxes and buttons that you need for your requirement.
2. Add a button click event to your submit button.
3. In the Submit button you can have the database operations and access the database and do your work that you want to do.
protected void lnkTransferFunds_Click(object sender, EventArgs e)
ErrorResult errorResult = null;
catch (Exception ex)
errorResult = new ErrorResult();
errorResult.ErrorMessage = ex.Message;
errorResult = null;
Thanks & Regards