<!-- Repeater1 Start -->
<asp:Repeater id="rep1" runat="server" EnableViewState="true">
<HeaderTemplate>
<!-- ********* HeaderTemplate.Start ************* //-->
<table width="100%" class="tableBorder" cellpadding="0" cellspacing="0">
<tr height=20>
<TD class=listViewThS1 scope=col noWrap>
<IMG height=1 alt="" src='<%= Globals.ApplicationPath +"/Themes/images/blank.gif"%>' width=1></TD>
<TD class=listViewThS1 scope=col noWrap width="5%" align="center">
<% =ResManager.GetString("Select")%>
</TD>
<TD class=listViewThS1 scope=col noWrap width="45%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_Subject" SortBuy="Subject" nbspacing="1" AnchorType="MyMessageListTitle" runat="server"/>
</TD>
<TD class=listViewThS1 scope=col noWrap width="20%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_SendID" SortBuy="SenderUserID" nbspacing="1" AnchorType="MyMessageListTitle" runat="server"/>
</TD>
<TD class=listViewThS1 scope=col noWrap width="20%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_CreateTime" SortBuy="CreateTime" nbspacing="1" AnchorType="MyMessageListTitle" runat="server" />
</TD>
<TD class=listViewThS1 scope=col noWrap width="10%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_IsRead" SortBuy="IsRead" nbspacing="1" AnchorType="MyMessageListTitle" runat="server"/>
</TD>
</tr>
</table>
<table width="100%" class="tableBorder" cellpadding="4" cellspacing="1">
<!-- ********* HeaderTemplate.End ************* //-->
</HeaderTemplate>
<ItemTemplate>
<TR height=20>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width=1><INPUT type="hidden" id="hidMessageID" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.MessageID")%>'><INPUT type="hidden" id="hidRecipientUserID" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.RecipientUserID")%>' NAME="Hidden2"></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="5%"><asp:CheckBox Runat="server" ID="CheckSelect" Checked=False></asp:CheckBox><INPUT type="hidden" id="hidUserid" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.SenderUserID")%>'></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="45%"><%# DataBinder.Eval(Container, "DataItem.Subject")%></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="20%"><%# Users.GetUserByID(Convert.ToInt32(DataBinder.Eval(Container, "DataItem.SenderUserID")),false).Username%></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="20%"><%# DataBinder.Eval(Container, "DataItem.CreateTime")%></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="10%"><%# DataBinder.Eval(Container, "DataItem.IsRead")%></TD>
</TR>
<!-- ********* ItemTemplate.End ************* //-->
</ItemTemplate>
<FooterTemplate>
<!-- ********* FooterTemplate.End ************* //-->
</FooterTemplate>
</asp:Repeater>
<!-- Repeater1 End -->
上面是我的代码,在后台怎么去实现他的隐藏啊?
<asp:Repeater id="rep1" runat="server" EnableViewState="true">
<HeaderTemplate>
<!-- ********* HeaderTemplate.Start ************* //-->
<table width="100%" class="tableBorder" cellpadding="0" cellspacing="0">
<tr height=20>
<TD class=listViewThS1 scope=col noWrap>
<IMG height=1 alt="" src='<%= Globals.ApplicationPath +"/Themes/images/blank.gif"%>' width=1></TD>
<TD class=listViewThS1 scope=col noWrap width="5%" align="center">
<% =ResManager.GetString("Select")%>
</TD>
<TD class=listViewThS1 scope=col noWrap width="45%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_Subject" SortBuy="Subject" nbspacing="1" AnchorType="MyMessageListTitle" runat="server"/>
</TD>
<TD class=listViewThS1 scope=col noWrap width="20%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_SendID" SortBuy="SenderUserID" nbspacing="1" AnchorType="MyMessageListTitle" runat="server"/>
</TD>
<TD class=listViewThS1 scope=col noWrap width="20%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_CreateTime" SortBuy="CreateTime" nbspacing="1" AnchorType="MyMessageListTitle" runat="server" />
</TD>
<TD class=listViewThS1 scope=col noWrap width="10%">
<Control:Anchor class="listViewThLinkS1" StrName="MyMessage_IsRead" SortBuy="IsRead" nbspacing="1" AnchorType="MyMessageListTitle" runat="server"/>
</TD>
</tr>
</table>
<table width="100%" class="tableBorder" cellpadding="4" cellspacing="1">
<!-- ********* HeaderTemplate.End ************* //-->
</HeaderTemplate>
<ItemTemplate>
<TR height=20>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width=1><INPUT type="hidden" id="hidMessageID" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.MessageID")%>'><INPUT type="hidden" id="hidRecipientUserID" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.RecipientUserID")%>' NAME="Hidden2"></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="5%"><asp:CheckBox Runat="server" ID="CheckSelect" Checked=False></asp:CheckBox><INPUT type="hidden" id="hidUserid" runat="server" value='<%# DataBinder.Eval(Container, "DataItem.SenderUserID")%>'></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="45%"><%# DataBinder.Eval(Container, "DataItem.Subject")%></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="20%"><%# Users.GetUserByID(Convert.ToInt32(DataBinder.Eval(Container, "DataItem.SenderUserID")),false).Username%></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="20%"><%# DataBinder.Eval(Container, "DataItem.CreateTime")%></TD>
<TD class=oddListRowS1 vAlign=top bgColor=#e4ecf4 width="10%"><%# DataBinder.Eval(Container, "DataItem.IsRead")%></TD>
</TR>
<!-- ********* ItemTemplate.End ************* //-->
</ItemTemplate>
<FooterTemplate>
<!-- ********* FooterTemplate.End ************* //-->
</FooterTemplate>
</asp:Repeater>
<!-- Repeater1 End -->
上面是我的代码,在后台怎么去实现他的隐藏啊?