I have a drop down list in my userdetails web page where in i ask people to enter their name , state , address .. all other details and also country .

But Now What i want is instead of entering the country name into textbox i want to put a dropdownlist and

I want u people to tell me how to get country names present in operating system and add those names into dropdown list .

Hi,
If ur doubt is how to add names to the dropdown list ,To add country names to a dropdown list,there must be a source from which the dropdown list control takes the data.So first the names of the countries should be stored in a database from where they can be retrieved and added to the dropdown list.

thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.