So i want to change my label named total value depending on two dropdown lists i have written a code to try working with one dropdown list but the label value is not changing this is my code:
protected void DropDownPermit_SelectedIndexChanged(object sender, EventArgs e)
{
if (this.DropDownPermit.SelectedValue == "Blue")
{
this.total.Text = "$10.00";
}
can someone help me
Bhabani prasad DashPosted Sep 22, 2013, 12:02 PM
{ lblResult.Text = "$10.00";
}
Note:u choose index no according to blue index item(index always starts from0)
VulpesPosted Sep 22, 2013, 8:02 AM
if (this.DropDownPermit.SelectedItem.Text == "Blue")
{
this.total.Text = "$10.00";
}