I want to convert this physical path "C:\bla\bla\Content\Upload\image.jpg"
to server path like "/Content/Upload/image.jpg"
.
How can i do that ?
I want to convert this physical path "C:\bla\bla\Content\Upload\image.jpg"
to server path like "/Content/Upload/image.jpg"
.
How can i do that ?
you can use something like that :
and you call
You can do the following to get the relative path.