C
Chumley Walrus
I'm trying to build a querystring from a button click carrying over two
variables (one from a textbox, the other from a dropdownlist),but for
some reason, the error I'm getting
is:'System.Web.UI.WebControls.DropDownList' does not contain a
definition for 'selecteditem'
The query string works with just the txtmydate carrying over, but not
the salesoffice value
private void btnSubmit_Click(object sender, System.EventArgs e)
{
Response.Redirect("display.aspx?txtmydate=" +
this.txtmydate.Text + "&salesoffice=" +
this.salesoffice.selecteditem.value);
}
????
chumley walrus
variables (one from a textbox, the other from a dropdownlist),but for
some reason, the error I'm getting
is:'System.Web.UI.WebControls.DropDownList' does not contain a
definition for 'selecteditem'
The query string works with just the txtmydate carrying over, but not
the salesoffice value
private void btnSubmit_Click(object sender, System.EventArgs e)
{
Response.Redirect("display.aspx?txtmydate=" +
this.txtmydate.Text + "&salesoffice=" +
this.salesoffice.selecteditem.value);
}
????
chumley walrus