asp.net datagrid最简单固定表头方法(转贴) 1。写css文件.fixTitle { BACKGROUND: navy; COLOR: white; POSITION: relative; TOP: expression(this.offsetParent.scrollTop) }2。把datagrid得表头的css名称叫fixTitle就可以。这是我看到最简单的固定表头的办法。