Sometimes often there is a DataGrid has a complex header display requirement but DataGrid itself does not provide this solution. Now I will discuss this problem. 1) Add a table to create a DataGrid of multi-column, multi-line header. [Http: //www.9cbs.net/develop/read_article.asp?id=18971] This is an article in NET_LOVER in 9CBS. You can solve some problems, but you can't smear, just smell. 2) in Pager Add this is also an article of 9CBS. The specific method is to fill the Pager column when Pager is created, and the Header forms two-line header (Note Pager will be established before header) but to add three lines ... Will be a bit trouble, the best choice for the second line 3) I now introduce another method using JavaScript to form a header. [Personally feel good .. Can form complex heads] Other say put this code is to write about, we want to help SqlConnection Cn = new SqlConnection (System.Configuration.ConfigurationSettings.AppSettings.Get ( "cnstr")); SqlDataAdapter SqlDa = new SqlDataAdapter ( "SELECT * FROM jobs", Cn ); DataSet ds = new DataSet (); SqlDa.Fill (ds); this.DataGrid1.DataSource = ds; this.DataGrid1.DataBind (); string javaScript; javaScript = "