File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes data adapter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "data adapter" Watch "data adapter" New topic

data adapter

Bacchi Gerem
Ranch Hand

Joined: Jan 23, 2004
Posts: 120
I need help .In the following code "else " part code is not working.
My idea is

If there is no record exists dataadapter is null.
else dataadapter has one reord.
How can i do that.please help me


My code:

[edited to add code tags]

[I accidently overwrote your subject. I tried to put it back. Sorry! -Jeanne]
[ June 17, 2005: Message edited by: Jeanne Boyarsky ]
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1141

This is just a suggestion. Try adding:


as in:

Good Luck,
I agree. Here's the link:
subject: data adapter
It's not a secret anymore!