protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.Cells.Count > 0)
{
strGridValue = e.Row.Cells[0].Text;
if (strGridValue != "ID")
{
e.Row.Attributes.Add("ondblclick", "javascript:alert('" + strGridValue + "')");
Session.Add("Value", strGridValue);//This Line of code will work here?
Response.Redirect("Default.aspx");//This Line of code will work here?
}
}
}


This code is not working....Please help...