A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
JDBC and Relational Databases
Multiple values from Jlist to multiple columns selection
Joined: Apr 23, 2008
Apr 01, 2009 01:17:24
I have a jlist and when i select single or multiple values from it i must get it substituted as column names
A,B,C,D,E are jlist values . So if i select A and B from jlist the statement should be like "select A, B from ABCDE"
What to do?
Music is all around us. All you have to do is just LISTEN to it,
author & internet detective
Joined: May 26, 2003
Apr 01, 2009 18:41:21
You would build the SQL statement by concatenating strings.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Multiple values from Jlist to multiple columns selection
How to store and bind to the view containing multiple values for single field?
Display selected item in JList
multiple select dropdown
hows can i retrieve the values from a multiple select list in a jsp??
getting result in textfield using jlist
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015