Hi
I have a custom table with an image field ... It's Attribute type is "Text" and it's Field type is "image selection" ... now I want to show it in a unigrid as an image... I used the code below in gridElem_OnExternalDataBound(.....) event :
case "adimage":
if (parameter != DBNull.Value)
{
string str = " <img alt=\"\" id=\"mjimage\" style=\"padding:2px; width:30px; height:30px; border-color:#999999;\" src=\"<%# GetFileURL(" + parameter.ToString() + ")%>?maxsidesize=120\" />";
return str;
}
but it just shows an empty image in the browser ... I also use "GetImage" but it didn't work too ...