Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.37 KB | None | 0 0
  1.     <System.Web.Services.WebMethod()> _
  2.     Public Shared Function IsEmailAvailable(ByVal email As String) As Boolean
  3.         Dim emailAddress As String = Membership.GetUserNameByEmail(email)
  4.         Return (emailAddress Is Nothing)
  5.     End Function
  6.  
  7.  
  8.     If IsEmailAvailable(True) = True Then
  9.         modalPopupEmail.Show()
  10.         e.Cancel = True
  11.     Else
  12.  
  13.     End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement