|
Public Shared Function BeforeEdit(Page As System.Web.UI.Page,
parNewValues As OleDbParameterCollection, where As String) As Boolean
' Send simple email
' do not forget to setup email parameters like
From, SMTP server etc
' on "Security->User login settings" dialog
func.SendMail("test@test.com", "Sample
subject", "Sample body")
Return True
' return true if you like to proceed with editing
this record
' return false in other case
End Function |