日期:2014-05-17  浏览次数:20527 次

Repeater判断绑定数据?不知怎么搞?请教
我想在Repeater在绑定的时候判断
  <tr style="color: #82B01C;">
                                <th align="right" width="100px">
                                    回复:
                                </th>
                                <th align="left">
                                </th>
                                <th align="right">
                                    <%#Eval("ReplyTime") %>
                                </th>
                            </tr>
                            <tr>
                                <td align="right" class="mailtit">
                                    内容:
                                </td>
                                <td colspan="2">
                                    <%#Eval("ReplyContent") %>
                                </td>
                            </tr>
这些代码是否在显示?在CS页面中建立一个全局变量   在ItemDataBound中进行绑定  用这个全局变量来判断  做不到?请问有没有更合适的方法,谢谢?