if(isource == txtFirstname){
try{
String searchHotelCustomer = "Select * from HotelCustomer where CUSFirstName='"+CUSFirstName+"'";
driver.selectQuery(searchHotelCustomer);
ResultSet rsSearch = driver.rs;
if(rsSearch.next()){
txtRoomNum.setText(rsSearch.getString("RoomNumber"));
}
}
how do i get int value from text?