Click here to Skip to main content
15,886,104 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to get selected value from DB using dropdownlist and show in label asp.net

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 7-Oct-13 22:19pm
v2
Comments
Shubh Agrahari 8-Oct-13 3:50am    
explain your question...
MCY 8-Oct-13 4:02am    
and what have you written so far?
OriginalGriff 8-Oct-13 4:19am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Madhu Nair 8-Oct-13 4:24am    
Thanks for the Information

1 solution

Bind the Dropdownlist[^] with fetched records from database using DataTable[^].
In Dropdownlist SelectedIndexChanged[^] event, assign the SelectedValue[^] to Label.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900