<input name="ad1file" type="file" id="passport" required>
string path = Request.Files["ad1file"].FileName; FormData fd = new FormData { ad1file = Path.GetFullPath(path) };
<img name="ad1pass" src="@Model.ad1file" alt="passport" width="150" height="150">
Request.Files["ad1file"].FileName
Path.GetFullPath(path)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)