How to use FindByText property of dropdownlist where text to find is in a textbox? i.e
if i write,
dropdownlist1.Items.FindByText(" ' "& txt1.Text &" ' ").Selected = True
i get error
System.NullReferenceException: Object reference not set to an instance of an object