1
Answer

Gridview Cell splitting

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)