public Link findLink(Long linkId) {
		SQLCommand cmd=new SQLCommand();
		RowSet rs=cmd.queryRowSet("select * from link where l_id="+linkId);
		Link link=new Link();
		try {
			if(rs.next()){
				link.setLId(rs.getLong("l_id"));
				link.setLName(rs.getString("l_name"));
				link.setLUrl(rs.getString("l_url"));
				link.setLImg(rs.getString("l_img"));
				link.setLInfo(rs.getString("l_info"));
				link.setLIsLock(rs.getBoolean("l_islock"));
				link.setLAddtime(rs.getDate("l_addtime"));
			return link;
			}else{
				return null;
			}
			
		} catch (SQLException e) {
			 
			e.printStackTrace();
			return null;
		} 
	}