页面检索结果出力

 <div id="downRight" onscroll="mzScroll();">         
        <table>
                <colgroup>
                    <col style="width:17%" />
                    <col style="width:17%" />
                    <col style="width:17%" />
                    <col style="width:17%" />
                    <col style="width:16%" />
                    <col style="width:16%" />
                </colgroup>
                @code
                    If Model.taioList IsNot Nothing Then
                        For Each line In Model.taioList

                            Html.RenderPartial("result2", line)

                        Next
                    End If

                End Code
        </table>
    </div>

  当点击页面检索按钮时,后台进行数据检索,结果自动显示在当前页面,实际上是嵌入了另一个子页面

      RenderPartial(子页面的名字,数据列表)

posted @ 2017-02-15 16:21  追风小伙  阅读(214)  评论(0编辑  收藏  举报