extracting file name from a link saved
<p>i have saved a link a database which looks like this</p>

<pre><code>~\quizes\314757_499034200123763_1508831626_a.jpg
</code></pre>

<p>i used the following code to extract the filename </p>

<pre><code>Uri uri = new Uri(BulletedList1.DataValueField.ToString());
        string filename=Path.GetFileName(uri.LocalPath);
</code></pre>

<p>but it gives the following error
<strong>The format of the URI could not be determined.</strong></p>
