wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Another possibility would be:


Ping & DNS - my free Android networking tools app
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.
 
 
subject: how to use else statement in the code
 
Similar Threads
send variable value from one servlet to another servlet for itext pdf
problem with ResultSet
Servet and Jdbc
Need to split up servlet
how to individually get the data in jsp page