title: Removing file extension in asp.net
body: <p>How can I remove the extension file in asp.net something like <code>filename.jpg</code> to <code>filename</code>? I tried searching some reference but all I find is URL extension only</p>