阅读背景:

将数据库中的值检索到组合框中

来源:互联网 

Am use the following program for retrieve the value from my sql database to combobox.if i select first item in JComboBox from mysql database using ResultSet, it's not showing an id value of the first item name. if i selected second item in combobox(result set) it's showing the id value of the second selected item name. After i will click on first Item it's showing a first item Id value in label box. my problem is first item name is not showing ID value in label box, that means my first recordset value is not showing an id value?Am use the following program for retrieve the v




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: