Loading a Dynamic Page without Data

I wanted to know how I can load a dynamic page that has no data in the database. The reason being that I have a page on my site where blogs are approved before they are published to the actual blog feed. If there are no more blogs to review/approve then the database is empty and thus the repeater will be empty. The issue with this is that when dynamic pages pull from a database without data it throws a 404 error and the 404 page is displayed.

I want to find a workaround for this… I tried using code that hides/collapses the repeater, but no luck. Not sure if maybe the best way is to always have a fall back database with some sort of dummy data that says “no data” for every relevant field, so that it at least populates something the user can read and understand.

I could also create a custom 404 page that has some text that says “no data to display”, but I don’t want that 404 page to appear for any other 404 errors that might happen because then the custom 404 page wouldn’t be relevant to all errors.