<form id=”form1” runat=”server”>
<div>
<asp:DropDownList id=”ddlCountry” DataSourceID=”srcCountry” DataTextField=”Country”
DataValueField=”CountryId”
Runat=”server” />
<asp:SqlDataSource
id=”CountryScr”
SelectCommand=”SELECT CountryScr, Country FROM Country”
ConnectionString=”<%$ ConnectionStrings:Country %>”
Runat=”server” />
</div>
</form>
</body>
</html>
Hope it will be helpful for beginners