<asp:FileUpload ID="fileTest" runat="server" />
System.IO.Path.GetFileName(fileTest.FileName)
String URL = "http://localhost:62527/xxxxxxx/yyyyyyy.aspx"; System.Uri uri = new System.Uri(URL); string[] segments = uri.Segments; int l=segments.Length; string filetest = segments[l-1];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)