This code shows you how to get a filename from a filepath
CODE:
Dim strFileName As String = FileInput.PostedFile.FileName.ToLower
If strFileName.IndexOf("\") > -1 Then
strFileName = strFileName.Substring(strFileName.IndexOf("\"))
End If
This blog is about the dotnet.all types of codes,news about dotnet including asp.net,vb.net,c# and know about new dotnet technology.programing in asp.net,vb.net,c#, ajax, AJAX tech support for .net and discuss the new technology in dotnet.ncluding asp.net,vb.net,c# and know about new dotnet technology.programing in asp.net,vb.net,c#, ajax, AJAX tech support for .net and discuss the new technology in dotnet.asp.net programming,dot net programming,dotnet programs,dotnet source code,source code.
This code shows you how to get a filename from a filepath
CODE:
Dim strFileName As String = FileInput.PostedFile.FileName.ToLower
If strFileName.IndexOf("\") > -1 Then
strFileName = strFileName.Substring(strFileName.IndexOf("\"))
End If
0 comments:
Post a Comment