Response to: i want to divide filename and its extension after uploading a file through asp.net upload control.
Revision 2
Use
System.IO.Path.GetFileName();
System.IO.Path.GetFileNameWithoutExtension();
System.IO.Path.GetExtension();
and divide it into two strings and get the pair
Posted 6-Nov-12 19:36pm
by
saud_a_k.