|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by kwex in Parsers
Pls refer to this url on this site:
http://www.experts-exchange.com/Programming/Languages/.NET/Q_22872468.htmlI've created the key/value pair combo successfully. Hw do I select from it to use in my application.
I currently have two options:
Integer id;
id = cmb_student.getSelectedInd
ex();
System.out.println("Clicke
d: " + id);
OR
Integer id;
id = Integer.parseInt(cmb_stude
nt.getSele
ctedItem()
.toString(
));
System.out.println("Clicke
d: " + id);
None gives me the key which I received from d database.
Thanks.
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625