title: while update image text box image name is not coming
body: <p>in .net MVC 5 with razor syntax I am trying to update the file but after click on update, the file name is not showing inside the textbox, for more clear picture please refer the image,
  <a href="https://i.stack.imgur.com/ftjyU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ftjyU.png" alt="enter image description here"></a></p>
  
  <p><strong>cshtml code is</strong></p>
  
  <pre><code> &lt;div class="form-group"&gt;
                                  @Html.ReqLabelFor(model =&gt; model.file_path, htmlAttributes: new { @class = "control-label col-md-2" })
                                  &lt;div class="col-md-5 offset-md-5"&gt;
                                      @*@Html.TextBox("upload", null, new { type = "file", accept = "image/*", @class = "form-control" })*@
                                      @Html.TextBox("file", null, new { type = "file", @class = "form-control" })
                                      @Html.ValidationMessageFor(model =&gt; model.file_path, "", new { @class = "text-danger" })
                                  &lt;/div&gt;
                              &lt;/div&gt;
  </code></pre>
  
  <p><strong>And c# code is</strong></p>
  
  <pre><code>File fileDownload = await db.File.Where(x =&gt; x.id == id).FirstOrDefaultAsync();
  </code></pre>
  
  <blockquote>
    <p>where file_path is of string type.</p>
  </blockquote>
  
  <p><strong>But actually It should come like below image</strong>
  <a href="https://i.stack.imgur.com/bFAFR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bFAFR.png" alt="enter image description here"></a></p>