Please Explain the below statement:
GridViewRow row = new GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Normal);
Code
TableHeaderCell cell = new TableHeaderCell();
cell.Text = "Customers";
cell.ColumnSpan = 2;
row.Controls.Add(cell);GridView1.HeaderRow.Parent.Controls.AddAt(0, row);
Thank you.
1 short reply
Vithal WadjeRank #19 · 47.2K pointsPosted Feb 26, 2015, 6:19 AM EST