DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1
  1. #1
    Join Date
    May 2005

    Strange problem with database log in...

    Hi all,

    I am doing a small interface which will contain the name and password textField for user to log in.

    The strange thing is, the program doesn't go through the line
    rec = st.executeQuery( "SELECT * FROM tbladmin WHERE Name ='"+nField.getText()+"' AND Password = '"+pField.getText()+"'" );
    If I try to display some message before this line, it showing properly but if after that line, nothing happen.

    Can somebody help me in this? THANKS !!! !!!
    Attached Files Attached Files
    Last edited by Zephon; 07-23-2005 at 04:32 PM.

Similar Threads

  1. Problem with Acess Database.
    By chida in forum ASP.NET
    Replies: 1
    Last Post: 09-26-2002, 12:44 PM
  2. Does Database Exist?
    By Jeff Pipes in forum VB Classic
    Replies: 8
    Last Post: 11-13-2001, 04:08 PM
  3. database to web problem
    By Nola in forum Architecture and Design
    Replies: 0
    Last Post: 01-13-2001, 12:48 AM
  4. strange date problem
    By dm in forum ASP.NET
    Replies: 1
    Last Post: 11-07-2000, 08:33 AM
  5. A Problem in backingUp and restoring DataBase
    By Alireza in forum Database
    Replies: 1
    Last Post: 08-24-2000, 02:37 PM

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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.