Dear all,
This is me again, with another question......
I have SQL query like this :
SELECT CountryName, CountryID FROM MasterCountry Order By CountryName
I want to set all country names as Item and countryId as Value to jComboBox.
If I select jComboBox, I want to get the CountryID as value to save it in table.
For comparison, In .Net
Dim Item As New ListItem
Item.Value = "NY"
Item.Text = "NEW YORK"
Ctl.Items.Insert(0, Item)