public boolean addAnswersheet(Answersheet answersheet) {
		Connection conn = ConnectionFactory.getConnection();
		PreparedStatement pstmt=null ;
		String sql = "INSERT INTO answersheet(s_id, as_result,"
			+"as_postdate,as_userIP) VALUES(?, ?, ?,?)";
		try {
			 pstmt = conn.prepareStatement(sql);
			pstmt.setLong(1, answersheet.getSurvey());
			pstmt.setString(2, answersheet.getAsResult());
			pstmt.setDate(3, new java.sql.Date(answersheet.getAsPostdate().getTime()));
			pstmt.setString(4, answersheet.getAsUserIp());
 

			return pstmt.executeUpdate()==1?true:false;

		} catch (SQLException e) {

			e.printStackTrace();
			return false;
		}finally{
			SQLCommand.close(pstmt);
			SQLCommand.close(conn);
		}
	}