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 can we retrieve the file in the oracle database?
What packages are used by jdbc?
What is the difference between jdbc and odbc?
What is JDBC and ODBC and what are the differences between them?
11 Answers Idbi Bank, Infosys, Infoview, TCS,
How can I get or redirect the log used by DriverManager and JDBC drivers?
What is static Synchronized method in JDBC API? Give an example?
3 Answers 3 Edge Solutions, R Systems, Sirvisetti Global Services,
Why prepared statements are faster?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
How does a custom RowSetReader get called from a CachedRowSet?
What does connection pooling mean ?
How to insert an image or raw data into database?
What type of drivers are used for web application?