This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have one field like type: with type1,type2,type3 as options in combo box i have selected 2 values type1,type2....then how to query the database to get result based on type1,type2 values.. [ July 10, 2008: Message edited by: Kittu ]
then tell exactly what are you trying to do,what are you searching, I think you want to query a database using the user input, if yes then what is the problem. [ July 10, 2008: Message edited by: Amit Ghorpade ]
Arunkumar, please note your code is not safe for SQL injections. In particular the input String "'); DELETE FROM Users; SELECT * FROM widgets WHERE ID IN ('1" might cause you some problems (or variations on it) [ July 10, 2008: Message edited by: Scott Selikoff ]