public boolean deleteAsset(int assetid) {
		createConnection();
		boolean b = false;

		try {
			Query deleteAsset = new deleteAssetQuery(assetid);
			deleteAsset.createQuery();
			if (connection.prepareStatement(deleteAsset.getQuery())
					.executeUpdate() == 1) {
				System.out.println("Delete Successful");
				b = true;
			} else
				System.out.println("Asset not found.");

			connection.close();
		} catch (SQLException sqlErr) {
			System.out.println(sqlErr);
		}

		return b;
	}