M
MRW
Hello!
I'm taking a file name from a database and using the <asp:image> tag in
GridView to show the image. However, some of the file names have
spaces in it and no matter what I do, for example:
<asp:Image runat=server ImageUrl=<%#
HttpUtility.HtmlDecode((Eval("WallpaperLink"))) %> />
It still displays the file as: bobs%20image. %20 keeps popping up.
Does anybody have any solutions? Oh yes, I've also tried
URLDecode/Encode
Thanks for the help!
I'm taking a file name from a database and using the <asp:image> tag in
GridView to show the image. However, some of the file names have
spaces in it and no matter what I do, for example:
<asp:Image runat=server ImageUrl=<%#
HttpUtility.HtmlDecode((Eval("WallpaperLink"))) %> />
It still displays the file as: bobs%20image. %20 keeps popping up.
Does anybody have any solutions? Oh yes, I've also tried
URLDecode/Encode
Thanks for the help!