File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes how to use else statement in the code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to use else statement in the code" Watch "how to use else statement in the code" New topic
Author

how to use else statement in the code

shiju nair
Ranch Hand

Joined: Jul 18, 2008
Posts: 45
hi,
Please have a look at the code.

Now here how should i use the else statement that if rows are not found then
this is the structure of my database i am using ms-access.


Please help me .
thanks in advance.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

i tell you some idea, no need to go for else ...



Hope This Helps
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  70
Another possibility would be:
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Thnaks ULF.. your way is looks GOOD
shiju nair
Ranch Hand

Joined: Jul 18, 2008
Posts: 45
Thanks to both of you .
I have solved my query using your code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use else statement in the code