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 Posted / 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 |
Post New Answer View All Answers
What are the differences between execute, executequery, and executeupdate?
What is JDBC Connection isolation levels?
How can I manage special characters when I execute an insert query?
What is a lock in jdbc?
Explain creation of statement object with connection method create method with help of an example.
What is jdbc in java?
Why do we need a jdbcrowset like wrapper around resultset?
What are dml and ddl?
Why do we need jdbc?
What is jdbc odbc driver?
Are all the required JDBC drivers to establish connectivity to my database part of the JDK?
How can we disable a constraint ?
What are types of resultset?
What is the purpose of jdbc?
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?