This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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
 
It's not a secret anymore!