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

如何对ListView的某些行特殊显示?

 <asp:ListView ID="GuardLog_List" runat="server" DataKeyNames="FAMILY_ID" DataSourceID="GuardLog_Datasource"
            OnSorting="GuardLog_Data_List_Sorting">
            <LayoutTemplate>
                <table id="UserData" class="TableSub">
                    <tr>
                        <th scope="col">
                            <%--拆迁户档案号--%>
                            <asp:LinkButton ID="sortBy_DocNum" runat="server" Text="档案号" CommandName="Sort" CommandArgument="DOCUMENT_NUM"
                                ToolTip="排序" />
                        </th>
                        <th scope="col">
                            <%--封房号--%>
                            <asp:LinkButton ID="ImageButton1" runat="server" Text="封房号" CommandName="Sort" CommandArgument="SEAL_NO"
                                ToolTip="排序" />
                        </th>
                        <th scope="col">
                            <%--选房号--%>
                            <asp:LinkButton ID="LinkButton1" runat="server" Text="选房号" CommandName="Sort" CommandArgument="CHECK_NO"
                                ToolTip="排序" />
                        </th>
               &n