How we can show selected country state and city in dropdown
we want to show the value in dropdown which value we are selecting at the time of registration and want to show at the time of edit
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 15, 2014, 2:18 AM EDT
http://www.aspsnippets.com/Articles/Creating-Cascading-DropDownLists-in-ASP.Net.aspx
and other link
http://www.dotnetfox.com/articles/ajax-cascading-dropdown-example-with-database-in-Asp-Net-1078.aspx
sudheer kumarRank #6,677 · 259 reputationPosted Apr 15, 2014, 2:34 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 15, 2014, 2:35 AM EDT
are you using window base application or web base application or MVC?
sudheer kumarRank #6,677 · 259 reputationPosted Apr 15, 2014, 2:39 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 15, 2014, 3:16 AM EDT
hi,
I think you can use SelectIndex or selectedvalue property of drop down to set selected value.
try...
Dropdown1.SelectedValue ="object Value";
hope this will help you.