This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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 ]