Bind Windows Default Countries to a DropDownList in ASP.NET
How to get list of all countries and bind to a dropdown list in ASP.NET
Create an ASP.NET application and add a DropDownList to the page something like this.<asp:DropDownList ID=”ddlCountry” runat=”server”></asp:DropDownList>
Now call this GetCountryList method on your page load that will bind and display countries in the DropDownList.
public List GetCountryList()
{
List list = new [...]