write some function, for examplepublic function GetVisible(ByVal oURL as Object) as Boolean
  if Convert.IsDBNull(oURL) OrElse oURL.ToString() = String.Empty then
   return false
  else
   returnn true
  end if
end functionpublic function GetURL(ByVal oURL as Object) as String
  if Convert.IsDBNull(oURL) OrElse oURL.ToString() = String.Empty then
   return ""
  elseif oURL.ToString().ToLower() = "doc" then
   return "url1"
  elseif oURL.ToString().ToLower() = "xls" then
   return "url2"
  else 
    return ""
  end if
end function....
<asp:Image id=img runat=server ImageUrl='<%# GetURL(DataBinder.Eval(Container.DataItem"JumpURL"))%>' Visible='<%# GetVisible(DataBinder.Eval(Container.DataItem"JumpURL"))%>' />
<asp:Label id=lbl runat=server Text='没有图' Visible='<%# Not GetVisible(DataBinder.Eval(Container.DataItem"JumpURL"))%>' />