aspose file tools*
The moose likes JDBC 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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "data adapter" Watch "data adapter" New topic
Author

data adapter

Bacchi Gerem
Ranch Hand

Joined: Jan 23, 2004
Posts: 120
Hi,
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


Thanks

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: 1134

Bhaskar,
This is just a suggestion. Try adding:

before:

as in:

Good Luck,
Avi.
 
jQuery in Action, 2nd edition
 
subject: data adapter