Complex DataList Problem

I have got a DataSet within its <ItemTemplate> Section I have inserted a table which has got 3 columns (<tds>).

In the first column I have a label
In the 2nd column There is a textBox

Now when I bound it with a DataSet. depending upon the number of records returned. the row gets added at the runtime.

Now in the 3rd column I want to insert this thing..

<img id="imgCalendar" alt="" border="0" height="14" onclick="scwShow(document.getElementById('<%=txtInstallDate.ClientID%>'),this);"
src="<%=clsCommon.CurrentRootPath%>images/cal-icon.gif" width="18" />

Just next to the TextBox almost attached to it. But I don't want it in each and every row. This thing should get displayed only when a particular condition is satisfied. So How can I accompalish this??

Thanks in Advance
[920 byte] By [maverick786us] at [2007-11-20 11:12:34]