I have a script that will post to a page using a query string but I would like to modify it to post using multiple variables from multiple droplists. The scrip works as posted but I would like to add two more drop downs for strings "Position" and "Age"
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="TEAMS" DataTextField="mascot" DataValueField="team_id">
</asp:DropDownList>
<script runat="server">
protected void button2_Click(object sender, EventArgs e)
{
Session["mydata"] = DropDownList1.SelectedValue;
Response.Redirect("depth_chart.aspx?Team_id=" + DropDownList1.SelectedValue);
}
</script>