drop down list checked
- by KareemSaad
I had Drop down list which execute code when specific condition and I tried to check it through selected value but it get error
protected void DDLProductFamily_SelectedIndexChanged(object sender, EventArgs e)
{
if (DDLProductFamily.Items.FindByText("Name").Selected == true)
using (SqlConnection Con =…