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 does the connection object represents?
Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?
Why is jdbc needed?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
How can you know about drivers and database information ?
What is new in JDBC 2.0?
What is the function of setautocommit?
What is type 4 jdbc driver?
Describe how the jdbc application works.
preparedstatement p= new preparedstatement is it possible ?
10 Answers Fidelity, IBM, Infrasys,
What are the different types of statements? How we can you use preparedstatement.
Why are we using blob datatypes in jdbc?