I have a string "c:\upload\file.txt"
what I want is the file name to do this I was trying split on \ but
I cant seem to get it to work?
Server Error in '/appform' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: CS1502: The best overloaded method match for
'string.Split(params char[])' has some invalid arguments
Source Error:
Line 234: string strFileNameOnServer = txtServername.Value;
Line 235: string sep = @"\";
Line 236: Array a = strFileNameOnServer.Split(sep);