How To Get The Image File Name In An Http Post Request August 23, 2022 Post a Comment I'm pretty new to MVC and I'm trying to get just the file name of the newly selected file. The html code looks like this: Solution 1: you can try this just to extract the file name var fileName = Path.GetFileName(file.FileName); Copy or in other case you can do Baca JugaDynamically Switch Content In Website Based On User Language SelectionHow To Add Emoji In Between The Letters In Contenteditable Div?Flexbox Layout Pattern: 3 Squares Ordered (1 Large Left, 2 Small Right Stacked) var name = file.FileName.Split(',')[1].ToString(); Copy Share You may like these postsBootstrap Footer Hiding Contents Above ItShow "NULL" For Null Values In ASP.NET MVC DisplayFor Html HelperASP .NET MVC Html.textbox Not Returning ValueHtml Helper Not Working On Nested Site Master Page Post a Comment for "How To Get The Image File Name In An Http Post Request"
Post a Comment for "How To Get The Image File Name In An Http Post Request"