protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowIndex % 2==0)
{
GridViewRow g = new GridViewRow(-1,-1, DataControlRowType.DataRow, DataControlRowState.Normal);
for (int i = 0; i < e.Row.Cells.Count; i++)
{
TableCell tCell = new TableCell();
tCell.Text = " ";
g.Cells.Add(tCell);
g.BackColor = System.Drawing.Color.Red;
}
Table tbl = e.Row.Parent as Table;
tbl.Rows.Add(g);
}
}