Assuming that you made sure that the connections from the computer to the monitor are still secure, the next thing to check is the video card inside the computer. With power off, I would remove it from the system and re-install it. Then try to boot the system again.
If this does not work, I would be thinking about what happened between the time the system last worked properly and the first time it did not work. Did you move the computer or monitor? If so, the video cable may have been damaged. Did you have a power failure? If so, it is possible that some electronics inside you computer was damaged. Did you have to plug the monitor into the computer because it became disconnected? If so, I would remove the video plug from the computer and carefully check the pins. Were you working inside the computer? If so, you may have disconnected a cable, or worse, reconnected a cble incorrectly. Often, the problem you describe is something easily repaired.
The only good thing isthat your monitor is definitely working!