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 |
how we can remove hard code in java?
Why hibernate is better than jdbc?
What are the three basic components of the odbc architecture?
Can you define a foreign key, with a key from the same table?
Explain how to make updates to the updatable resultsets.
Why do I have to reaccess the database for Array, Blob, and Clob data?
How do I receive a ResultSet from a stored procedure?
What is jdbc odbc bridge in java?
What does executequery return in java?
How to get the data from a table into a buffer?
Is jdbc faster than odbc?
What is jdbc driver in java?