Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Swathi Choudary

Greenhorn
+ Follow
since Mar 10, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Swathi Choudary

Bear Bibeault wrote:This almost seems like trick question. If you don't want a value in the list, why are you putting it there in the first place?




We get the same list for multiple pages, for some of them they need full list for the dropdowns and for a few pages we want just one value from the dropdown no to be displayed.

Paul Clapham wrote:But you have only showed us the code for extracting values from the database. If you have a question about how to modify your code which displays values, shouldn't you be showing us that code?



Yes, This is for extracting values from data base but after extracting the values from data base, I wanted a particular value not be displayed. Let say the value is 'ABC'. So can you please help me with writing the code for it.
Can somebody help me how to not display a value from dropdown which is populated from database using java. Lets say the value is 'ABC'
Here is my code for populating from the database

This is the code i have written....I am not knowing why the code is not working. Please somebody help me

10 years ago