I am developing the 3-tier architecture.... I finished my database parts. In my database i have country as a table that contains countrycode,countryname field.I insert some data's in that table.. my problem is i want to show the countrycode items only in presentation layer using dropdownlist..... any body give idea for me..........................
Thanks......
Loading

Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 12, 2010, 1:11 AM EST
in asp.net control you can achieve it like this....
Please mark as answer if it helps you.
SARAVANA PERUMAL12 reputationPosted Mar 12, 2010, 7:02 PM EST
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 14, 2010, 11:33 PM EDT
Here is your code:
Take a dropdownlist on you aspx page
in your code behind write following code on page_load event: