I am trying to create a custom validation to display an error message if no data is entered into my table 'accounttransfers'.
I am not familiar with the vb.net code, so could someone help me with this this sub to make sure that a record is inserted into the table upon clicking the submit button of my form:

Sub CustomValidation_ServerValidate(s As object, e As ServerValidateEventArgs )

End Sub