Making an entire row in GridView a link?
<p>I'm trying to make a entire GridView row a link and I think I got it but I'm running into an issue. As you can see from below, all my query strings data is coming from the DB now i want to add a query string that is not coming from the DB, how could I accomplish this??</p>

<pre><code>protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
    if (e.Row.RowType == DataControlRowType.DataRow)
    {           

        string Types = Request.QueryString["Type"].ToString();
        string Rounds = Request.QueryString["Rounds"].ToString();
        string Groups = Request.QueryString["Groups"].ToString();

        string Id = DataBinder.Eval(e.Row.DataItem, "Id").ToString();
        string League = DataBinder.Eval(e.Row.DataItem, "League").ToString();
        string Team1 = DataBinder.Eval(e.Row.DataItem, "Team1").ToString();
        string Team2 = DataBinder.Eval(e.Row.DataItem, "Team2").ToString();
        string Type = DataBinder.Eval(e.Row.DataItem, "TType").ToString();
        string Location = ResolveUrl("Update_Match.aspx" + "?Id=" + Id + "&amp;Team1=" + Team1 + "&amp;Team2=" + Team2 + "&amp;League=" + League + "&amp;Type=" + Type + "&amp;Types=" + Types + "&amp;Rounds=" + Rounds + "&amp;Groups=" + Groups);
        e.Row.Attributes["onClick"] = string.Format("javascript:window.location='{0}';", Location);
        e.Row.Style["cursor"] = "pointer";
    }
}
</code></pre>
