<asp:DropDownList ID="ddlStaff" runat="server" AutoPostBack="true" BackColor="#CCCCCC" ForeColor="Black" Height="18px" Width="167px" onselectedindexchanged="ddlStaff_SelectedIndexChanged"> </asp:DropDownList>
if (ddlStaff.SelectedIndex.ToString() == "Anele ngqandu") { MessageBox.Show("ys"); } else { radDoctors.Checked = true; }
Lable1.Text = DropDownList1.SelectedValue.ToString(); if( label1.text == "selected value of DDBL") { respose.write("done"); }
if (ddlStaff.SelectedItem.Text == "Anele ngqandu") { MessageBox.Show("ys"); } else { radDoctors.Checked = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)