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