I want to set the selecteditem attribute for an ASP.Net dropdownlist control programmatically.
selecteditem
So I want to pass a value to the dropdownlist control to
Well if I understood correctly your question. The Solution for setting the value for a given dropdownlist will be:
dropdownlist1.Text="Your Value";
This will work only if the value is existing in the data-source of the dropdownlist.