Chrissirhc
Programmer
I'm using MS V C#.NET
And I can't get my dropdown list to do anything. I select an item and in the code that is autogenerated by MS I put down it should put that item in the a text box.
When I keep on selecting items it doesn't do this. However when I click on a button unrelated the dropdown list code gets run.
Any ideas?
Drop down code.
private void DropDownList1_SelectedIndexChanged(object sender, System.EventArgs e)
{
this.TextBox3.Text = this.DropDownList1.SelectedItem.Value.ToString();
}
button code
private void Button1_Click(object sender, System.EventArgs e)
{
//When the button is clicked we call the ContributionCheck method which checks all the contributions and takes the appropriate action
ContributionCheck();
this.TextBox1.Text = myConnection.State.ToString(); //"something here -->";
ContributionCheckChangeColour(GREEN);
}
And I can't get my dropdown list to do anything. I select an item and in the code that is autogenerated by MS I put down it should put that item in the a text box.
When I keep on selecting items it doesn't do this. However when I click on a button unrelated the dropdown list code gets run.
Any ideas?
Drop down code.
private void DropDownList1_SelectedIndexChanged(object sender, System.EventArgs e)
{
this.TextBox3.Text = this.DropDownList1.SelectedItem.Value.ToString();
}
button code
private void Button1_Click(object sender, System.EventArgs e)
{
//When the button is clicked we call the ContributionCheck method which checks all the contributions and takes the appropriate action
ContributionCheck();
this.TextBox1.Text = myConnection.State.ToString(); //"something here -->";
ContributionCheckChangeColour(GREEN);
}