2nd time not executed while in my program
How to repeat the while Statement in java
try
{
while(rs.next())
{
exx = rs.getInt("ID");
exxx = Integer.toString(exx);
if( empid.getText().equals(exxx))
{
String names = rs.getString("NAME");
ename.setText(names);
} break;
}
}
catch (SQLException err)
{
JOptionPane.showMessageDialog(null, err.getMessage());
}
Re: 2nd time not executed while in my program
u just posted this same thread.... for conversations involving the same topic post on the same thread don't create a new one
Re: 2nd time not executed while in my program
Please read the forum rules. Thread locked as duplicate