Hi........I need to create a dropdown box using
java.....this box should show the values that should be
taken from the database......
Thank you....
Answer / ketan
That is very basic question when one new face comes into
development side...
we have <select> tag in jsp and it's <option> tag for no of
options.
steps
1.get all string data in array or arraylist or any iterator
from data base..
2.write select tag in jsp(php/asp) page.
3.make one loop inside it. of array's length or size.
4. in between option tag's value as array's elements..
Is This Answer Correct ? | 3 Yes | 0 No |
What is the difference between setmaxrows(int) and setfetchsize(int)?
What is ojdbc14 jar?
Explain the locking system in jdbc & its types?
How many isolation levels are supported in JDBC and what are they?
Explain about DSN?
How do I find whether a parameter exists in the request object?
HI ALL, How to Overcome "OutOfMemoryException"? when I am compiling source having more than 1000 LOC throwing this exception. Can any one give correct answer to my question? thx
Which type of JDBC driver is the fastest one?
Can we return resultset in java?
JDBC Drivers properties?
What is the use of the statement in jdbc?
What is a datasource in java?