Click here to Skip to main content
15,884,388 members
Articles / Web Development / ASP.NET

i want to divide filename and its extension after uploading a file through asp.net upload control.

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
6 Nov 2012CPOL 1.7K  
i want to divide filename and its extension in a key value pair after uploading a file through asp.net upload control.Pls somebody help !! thanks..

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
6 Nov 2012saud_a_k
Use System.IO.Path.GetFileName();System.IO.Path.GetFileNameWithoutExtension();System.IO.Path.GetExtension();and divide it into two strings and get the pair

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions