HTML markup won't work in SO.. testing it here.
<a title="jhddj" rel="relImageStatusUpdate" href="<%= format_status_image_url(row["UserID"],row["USERSTATUS_ID"]) %>"
id="ahrefStatusImage">
<img alt=""
src="<%= format_status_thumbnailimage_url(row["UserID"],row["USERSTATUS_ID"]) %>"/></a>
Trying pure HTML without the ASP.NET stuff:
<a title="jhddj" rel="relImageStatusUpdate" href="#" id="ahrefStatusImage">
<img alt="" src="myimage.gif"/></a>