Click here to Skip to main content
15,895,656 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi
when I upload my image to server and add the path to database , I notice that
if the image name contain any special char , the image doesn't display on grid view images or image tool in asp page
example : A&W.jpg


plz help me :)
Posted

1 solution

Hi,

You can try to have a look at this[^].

I think that the browser looks for parameters after the ampersand, you have to convert the URL with escape sequences like %20. Make a search on Google, write something like 'Hello' and then write 'C#' and you can see that the '#' is coded with the sequence '%23'.

Hope this helps.

LG
 
Share this answer
 
Comments
sam9787 16-Jun-15 14:57pm    
no I try to use that , but with same problem :(
LLLLGGGG 16-Jun-15 15:04pm    
Mmhh... I do not know then... but I will try to think about the solution of the problem...

LG

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900