Strange problem with database log in...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: Strange problem with database log in...

  1. #1
    Join Date
    May 2005
    Location
    Malaysia
    Posts
    9

    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
    Code:
    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 05:32 PM.

Similar Threads

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