private void FillCombo(){
try {
jCombo_EmpList.addItem("");
rs = u.getAll_Active_Emp();
while(rs.next()){
jCombo_EmpList.addItem(rs.getString("EmpId"));
}
}catch (Exception e) {
JOptionPane.showMessageDialog(this, e);
}
}
try {
jCombo_EmpList.addItem("");
rs = u.getAll_Active_Emp();
while(rs.next()){
jCombo_EmpList.addItem(rs.getString("EmpId"));
}
}catch (Exception e) {
JOptionPane.showMessageDialog(this, e);
}
}
No comments:
Post a Comment