Method 1 - fileupload required validation in asp.net using required field validator control
Step 1 - Create a new asp.net website using Visual Studio 2019 or any other version
Step 2 - Add a new Webform C# into the website we have create in previous step.
Demo and Full Guide
file upload validation fileupload required validation