Few mistakes in the code, those I could trace, as per your sql query there is no unknown parameters,
so I did not understand the use of pstmt.setString methods(so one cause of indexoutofbounds is happening here)
Secondly as per your query you are selecting only qtyoforder, but in the rs.next loop,
you are calling getString("customername")(one more cause of error)
Swapna Gouri Kalanidhi
posted 11 years ago
Thank you Swastik, it's working after modification... !
Thanks & Regards
I "try", I "catch" and "finally" WIN !!!
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book