Gridview Cell splitting

Jan 1 2015 10:26 PM
Please Explain the below statement:
 
GridViewRow row = new GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Normal); 
 
 
TableHeaderCell cell = new TableHeaderCell();
cell.Text = "Customers";
cell.ColumnSpan = 2;
row.Controls.Add(cell);
 
GridView1.HeaderRow.Parent.Controls.AddAt(0, row); 
 
Thank you. 

Answers (1)