I have written some code for saving an image to a folder in asp.net. My problem is that the image in the folder is white and is not the same as images added manually to the folder.

I used a simple asp.net fileupload control to save the file to the correct path. But the images dont display on the page and this is how the file icons look in visual studio.
Anybody know why this is?
Yes, it is. Because it is not included as part of the project files.
Try this:
There isn’t anything else that is wrong. Only the files are not tracked by VS, so they won’t be published. Your files are still completely accessible from your code.
In my opinion, files like say images added to your web app shouldn’t be part of the project.