Validate user entry against table column


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Validate user entry against table column

  1. #1
    Paulette Guest

    Validate user entry against table column


    Fairly new to the ASP/Javascript game. Have my connectivity to a SQL db, user
    will enter in a membership number. I need to verify validity of their entry
    against a column in a table, and if invalid - sends user to a different page.


    I've poured over many archives looking for something similar - can anyone
    help me get going?

    Thanks.

  2. #2
    Paulette Guest

    Re: Validate user entry against table column


    I figured out a way to do this (and it works) - so thought I'd share my resolution.

    On the ASP page, if a member enters a membership number not in the database
    it redirects an unsuccessful login to an error page (which is similar to
    most login type of pages). Ended up being a very simple solution.

    "Paulette" <webdev.@127.0.0.1> wrote:
    >
    >Fairly new to the ASP/Javascript game. Have my connectivity to a SQL db,

    user
    >will enter in a membership number. I need to verify validity of their entry
    >against a column in a table, and if invalid - sends user to a different

    page.
    >
    >
    >I've poured over many archives looking for something similar - can anyone
    >help me get going?
    >
    >Thanks.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center