Benefits and limitations of an online examination system.
The big benefit of online examination is the reduction of costs and time, both from the student as from the teacher. The biggest limitation is that you have to be online to use an online examination system. Hence the name “online”.
I think it will be very useful to learner. Any student can easily use this code and make his/her project completely.
To get help you can see the video.
Source code for answer paper.
try {
String sql = "select mark from marks where email=? ";
pst = con.prepareStatement(sql);
pst.setString(1, jTextField1.getText());
rs = pst.executeQuery();
if (rs.next()) {
String mark = rs.getString("mark");
jTextField2.setText(mark);
}else{
JOptionPane.showMessageDialog(null, "Wrong Email...","Error",JOptionPane.ERROR_MESSAGE);
}
} catch (Exception e) {
JOptionPane.showMessageDialog(null, e);
}
Be First to Comment