<style type="text/css">
.Freezing
{
position:relative ;
table-layout:fixed;
top:expr
z-index: 10;
}
.Freezing th{text-overflow:ellipsis;overflow:hidden;white-space: nowrap;padding:2px;}
</style>
在GridView属性里加入
<HeaderStyle CssClass="Freezing"/>
评论