But how could you live and have no story to tell!
访问统计 original graphics

1、在<head>里面加上

<script type="text/javascript">

function s()

{

 var t = document.getElementById("<%=GridViewID%>");

 var t2 = t.cloneNode(true)

 for(i = t2.rows.length -1;i > 0;i--)

 t2.deleteRow(i) 

 t.deleteRow(0) 

 a.appendChild(t2)

}

window.onload = s

</script>

2、在“GridView”前后加上
<div id="a"></div>
<div style="overflow-y: scroll; height: 120px">
      <asp:GridView>
      </asp:GridView>
</div>

posted on 2008-02-23 14:58  nextsoft  阅读(348)  评论(0编辑  收藏  举报