Hello! I am new in ASPNET. I am having a problem returning a default value for a dropdownlist. When a user select another value for example
(Names- Value)Private - 1; Friends - 2; Public - 3; (not binded to database but hard coded)
When a user select a value and saved it to a database. How can I return a new dafault value for a dropdown?
I tried
dropdownlist1.selectedvalue = 2 (code behind)
and still the dropdownlist view Private instead of Friends.
What will be the solution to this scenario? Please help
Kind Regards Jake