This question already has an answer here:

how to upload an image from your computer to the server in the CONTENT folder with by pressing button. I have next code on Page.

@{
ViewBag.Title = "Test";
Layout = "~/Views/Shared/_Layout.cshtml";}


<div class="starter"> 
      <p>It is a test page !!!!!!;)</p>
     <input type="submit" value="Upload img" />
</div>

Related posts

Recent Viewed