public boolean addLink(Link link) {
		Connection conn=ConnectionFactory.getConnection();
		PreparedStatement pstmt=null;
		String sql="INSERT INTO Link( l_url, l_name, l_img, l_info, l_isLock, l_addtime)"
			+"VALUES( ?, ?, ?, ?, ?, ?)";
		try {
			pstmt=conn.prepareStatement(sql);
			//pstmt.setLong(1, survey.getTemplet());
			pstmt.setString(1, link.getLUrl());
			pstmt.setString(2, link.getLName());
			pstmt.setString(3, link.getLImg());
			pstmt.setString(4, link.getLInfo());
			pstmt.setBoolean(5, link.getLIsLock());
			pstmt.setDate(6, new java.sql.Date(link.getLAddtime().getTime()));
			
			
			return pstmt.executeUpdate()==1?true:false;
			
		} catch (SQLException e) {
			 
			e.printStackTrace();
			return false;
		}
		finally{
			SQLCommand.close(pstmt);
			SQLCommand.close(conn);
			
		}
	}