Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to Validate Email Address in ASP.NET

How to Validate Email Address in ASP.NET

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serversysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 2 Offline
    2 Offline
    29935
    wrote on last edited by
    #1

    Hello, I build an ASP.NET 3.5 Website. I have a registration form that has an email address field, I use SQL Server 2005 to storethe Data. I would like to know how can I validate if the email address is already in use or not instantly during the registration process. I'm looking forward to hear from you soon.

    D 1 Reply Last reply
    0
    • 2 29935

      Hello, I build an ASP.NET 3.5 Website. I have a registration form that has an email address field, I use SQL Server 2005 to storethe Data. I would like to know how can I validate if the email address is already in use or not instantly during the registration process. I'm looking forward to hear from you soon.

      D Offline
      D Offline
      Deshbir Singh
      wrote on last edited by
      #2

      execute select * from tableOfTheTable where EmailId='EmailIdYouAreAboutToSave' if this query result is 1 row, that means that emailID is already in use and is stored in DB.

      Prince Quest Solutions www.imaginethinkact.com

      2 1 Reply Last reply
      0
      • D Deshbir Singh

        execute select * from tableOfTheTable where EmailId='EmailIdYouAreAboutToSave' if this query result is 1 row, that means that emailID is already in use and is stored in DB.

        Prince Quest Solutions www.imaginethinkact.com

        2 Offline
        2 Offline
        29935
        wrote on last edited by
        #3

        Great, Thanks very much

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups