如何在DATELIST中实现这个功能?
gjwj 2003-12-25 04:53:51 有DATELIST如下:
<asp:datalist id="title" runat="server" Width="545px" ShowFooter="False" ShowHeader="False" RepeatDirection="Horizontal" RepeatColumns="1" Height="1px">
<ItemStyle Width="100%"></ItemStyle>
<ItemTemplate>
<table border="0" width="100%" height="1" bgcolor="#E3F4F9" cellspacing="0" cellpadding="0">
<tr>
<td id="a" width="100%" height="7" colspan="2" bgcolor="#EFF4FB"></td>
</tr>
<tr>
<td width="1%" height="115">
<p align="center"><img border="0" src='' width="99" height="118">
</td>
<td width="84%" height="115"></td>
</tr>
</table>
</ItemTemplate>
</asp:datalist>
如何让id=a的这个td在按某给按钮的时候显示或隐藏?
(是不是要实现这样的功能就不能把TD直接写在ASPX文件中,而是要通过datalist在后台添加TD,如果是具体的该怎么做?能教教我吗?谢谢了.)