When using DataGrid, sometimes the head head header is fixed, the content of the table can scroll, the following code is the code that implements this function.
ShowfixedHeader.aspx content:
! <% @ Page language = "c #" Codebehind = "ShowFixedHeader.aspx.cs" AutoEventWireup = "false" Inherits = "bShowFixedHeader.ShowFixedHeader"%> title> HEAD>