sql="select count(*) totalrecords from cif_flok_code"
ps = con.prepareStatement(sql);
rs=ps.executeQuery();
if(rs.next())
count=rs.getInt("totalrecords");
sql="select count(*) totalrecords from cif_flok_code"
ps = con.prepareStatement(sql);
rs=ps.executeQuery();
if(rs.next())
count=rs.getInt("totalrecords");