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 layer in communication?
What is the limitation of PreparedStatement and how to overcome it?
What is the feature of jdbc v4?
Hi friends, In JDBC 4 drivers are there among this which driver is best and why it is best.Which driver is most commonly used in web applications.
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....
What are the different classes through which JDBC represents statements?
How to know howmuch data is truncated?
How many types of jdbc drivers are available?
What is jdbc architecture in java?
What are the steps to connect to the database in java?
What should be done for auto generating primary key id in a table ?
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