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 10 years ago
Thank you Swastik, it's working after modification... !
Thanks & Regards
I "try", I "catch" and "finally" WIN !!!