-1
4

1 回答 1

1

Try this.

while (rs.next()){
int s=rs.getInt("Number");
String n = String.format("%05d",s);
view.txtcustomernumber.setText(n);
}

It might solve your problem.

于 2013-08-16T10:54:39.933 回答