protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
TableCell tc = new TableCell();
tc.Text = " ";
tc.Height = Unit.Pixel(10);//you can change this to adjust to space you want
GridView gv1=(GridView)sender;
//tc.Attributes["ColSpan"] = gv1.Columns.Count.ToString();
tc.ColumnSpan= gv1.Columns.Count;
GridViewRow gr = new GridViewRow(-1, -1, DataControlRowType.DataRow, DataControlRowState.Normal);
gr.Cells.Add(tc);
Table gvTable = (Table)e.Row.Parent;
gvTable.Controls.Add(gr);
}
}