pernah punya masalah ama select count() d java????
strSQL = "select count(nis) as total from ikutkelas where kd_kelas = '" +
txtKd_Kelas.getText() + "'";
rs=null;
rs = st.executeQuery(strSQL);
rs.next();
int temp= rs.getInt("total");
if(temp>9){
No comments:
Post a Comment